add update hosts play; add test nodes to inventory

This commit is contained in:
2022-05-01 13:38:44 -04:00
parent 79d3ac63a9
commit 4fef4eaa08
3 changed files with 25 additions and 6 deletions

15
update-hosts.yml Normal file
View File

@ -0,0 +1,15 @@
---
- name: Update all hosts
hosts: all
gather_facts: no
become: yes
tasks:
- name: Update all hosts
package: name=* state=latest
async: 1800
poll : 3
...