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
|
||||
package:
|
||||
name: "{{ ovs_package }}"
|
||||
state: installed
|
||||
state: present
|
||||
|
||||
- name: Ensure openvswitch is started
|
||||
become: yes
|
||||
|
@ -2,7 +2,7 @@
|
||||
become: yes
|
||||
package:
|
||||
name: iptables-persistent
|
||||
state: installed
|
||||
state: present
|
||||
|
||||
- name: Persist ipv4 rules
|
||||
become: yes
|
||||
|
@ -2,7 +2,7 @@
|
||||
become: yes
|
||||
package:
|
||||
name: iptables-persistent
|
||||
state: installed
|
||||
state: present
|
||||
|
||||
- name: Persist ipv4 rules
|
||||
become: yes
|
||||
|
@ -10,7 +10,7 @@
|
||||
- name: openvswitch should be installed
|
||||
package:
|
||||
name: "{{ ovs_package }}"
|
||||
state: installed
|
||||
state: present
|
||||
register: ovs_installed
|
||||
|
||||
- name: openvswitch should be running
|
||||
|
Loading…
Reference in New Issue
Block a user