diff --git a/aptupdates.yml b/playbooks/aptupdates.yml similarity index 92% rename from aptupdates.yml rename to playbooks/aptupdates.yml index e9f9885..36d4baa 100644 --- a/aptupdates.yml +++ b/playbooks/aptupdates.yml @@ -1,9 +1,10 @@ +--- - hosts: all - become: yes + become: true tasks: - name: Update apt packages apt: - upgrade: yes + upgrade: dist update_cache: yes - name: Check if reboot is needed diff --git a/diskspace.yml b/playbooks/diskspace.yml similarity index 99% rename from diskspace.yml rename to playbooks/diskspace.yml index 00f8f86..a95e265 100644 --- a/diskspace.yml +++ b/playbooks/diskspace.yml @@ -1,5 +1,5 @@ +--- - hosts: all - tasks: - name: Get disk usage shell: df -h / | awk 'NR==2 {print $5}'