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:
parent
5b0644185f
commit
a554a401ea
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user