diff --git a/playbooks/aptupdates.yml b/playbooks/aptupdates.yml index 36d4baa..9a65da4 100644 --- a/playbooks/aptupdates.yml +++ b/playbooks/aptupdates.yml @@ -1,5 +1,6 @@ --- -- hosts: all +- name: Update apt packages + hosts: all become: true tasks: - name: Update apt packages diff --git a/playbooks/diskspace.yml b/playbooks/diskspace.yml index a95e265..80dcf02 100644 --- a/playbooks/diskspace.yml +++ b/playbooks/diskspace.yml @@ -1,5 +1,6 @@ --- -- hosts: all +- name: Get disk space usage + hosts: all tasks: - name: Get disk usage shell: df -h / | awk 'NR==2 {print $5}'