diff --git a/Playbooks/machine-update/update-debian-hosts.yaml b/Playbooks/machine-update/update-debian-hosts.yaml index 7a3c803..b0348d6 100644 --- a/Playbooks/machine-update/update-debian-hosts.yaml +++ b/Playbooks/machine-update/update-debian-hosts.yaml @@ -1,9 +1,5 @@ ---- - -- hosts: debian - tasks: - - name: update APT packages - apt: - upgrade: yes - update_cache: yes - cache_valid_time: 86400 \ No newline at end of file +- name: update APT packages + apt: + upgrade: yes + update_cache: yes + cache_valid_time: 86400 \ No newline at end of file diff --git a/Playbooks/machine-update/update-fedora-hosts.yaml b/Playbooks/machine-update/update-fedora-hosts.yaml index 94cc1fe..ea0d2e7 100644 --- a/Playbooks/machine-update/update-fedora-hosts.yaml +++ b/Playbooks/machine-update/update-fedora-hosts.yaml @@ -1,8 +1,4 @@ ---- - -- hosts: fedora - tasks: - - name: Upgrade all packages - ansible.builtin.dnf: - name: "*" - state: latest \ No newline at end of file +- name: Upgrade all packages + ansible.builtin.dnf: + name: "*" + state: latest \ No newline at end of file diff --git a/Playbooks/machine-update/update-machines.yaml b/Playbooks/machine-update/update-machines.yaml index c55ca56..7deb571 100644 --- a/Playbooks/machine-update/update-machines.yaml +++ b/Playbooks/machine-update/update-machines.yaml @@ -2,9 +2,9 @@ - hosts: fedora tasks: - name: Update fedora hosts - include_tasks: update-fedora-hosts.yaml + include_tasks: update-fedora-hosts.yaml - hosts: debian tasks: - name: Update debian hosts - include_tasks: update-debian-hosts.yaml + include_tasks: update-debian-hosts.yaml