Use present for package state instead of installed

Ansible 2.9 does not accept the "installed" state so we need to update
occurences of that to "present".

Change-Id: I13c95794efc63697c2418334ded7c6912bd7b59f
This commit is contained in:
Clark Boylan 2019-12-17 08:24:05 -08:00
parent 5b0644185f
commit a554a401ea
4 changed files with 4 additions and 4 deletions

View File

@ -40,7 +40,7 @@
become: yes become: yes
package: package:
name: "{{ ovs_package }}" name: "{{ ovs_package }}"
state: installed state: present
- name: Ensure openvswitch is started - name: Ensure openvswitch is started
become: yes become: yes

View File

@ -2,7 +2,7 @@
become: yes become: yes
package: package:
name: iptables-persistent name: iptables-persistent
state: installed state: present
- name: Persist ipv4 rules - name: Persist ipv4 rules
become: yes become: yes

View File

@ -2,7 +2,7 @@
become: yes become: yes
package: package:
name: iptables-persistent name: iptables-persistent
state: installed state: present
- name: Persist ipv4 rules - name: Persist ipv4 rules
become: yes become: yes

View File

@ -10,7 +10,7 @@
- name: openvswitch should be installed - name: openvswitch should be installed
package: package:
name: "{{ ovs_package }}" name: "{{ ovs_package }}"
state: installed state: present
register: ovs_installed register: ovs_installed
- name: openvswitch should be running - name: openvswitch should be running