Skip to content

Commit ae72742

Browse files
committed
https://docs.ansible.com/ansible/latest/user_guide/playbooks_best_practices.html#always-mention-the-state
1 parent 03c4ff2 commit ae72742

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tasks/main.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,7 @@
165165
- name: install software to support stable modules
166166
package:
167167
name: "{{ item }}"
168+
state: present
168169
with_items:
169170
- "{{ bootstrap_stable_packages }}"
170171
register: packagestableresult
@@ -176,6 +177,7 @@
176177
- name: install software to support preview modules
177178
package:
178179
name: "{{ item }}"
180+
state: present
179181
with_items:
180182
- "{{ bootstrap_preview_packages }}"
181183
when:

0 commit comments

Comments
 (0)