Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| b908abdfc0 | |||
| 3d41c95ab0 | |||
| 604389b196 |
7
ping-hosts.yaml
Normal file
7
ping-hosts.yaml
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
---
|
||||||
|
|
||||||
|
- name: Check connectivity with all hosts
|
||||||
|
hosts: all
|
||||||
|
tasks:
|
||||||
|
- name: Ping all hosts
|
||||||
|
ansible.builtin.ping:
|
||||||
9
update-apt-packages.yaml
Normal file
9
update-apt-packages.yaml
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
---
|
||||||
|
- hosts: all
|
||||||
|
|
||||||
|
become: true
|
||||||
|
tasks:
|
||||||
|
- name: update apt packages
|
||||||
|
apt:
|
||||||
|
upgrade: yes
|
||||||
|
update_cache: yes
|
||||||
Reference in New Issue
Block a user