Fixed include_task
This commit is contained in:
parent
3c7ce0f8c5
commit
2d4a85826d
3 changed files with 11 additions and 19 deletions
|
|
@ -1,9 +1,5 @@
|
|||
---
|
||||
|
||||
- hosts: debian
|
||||
tasks:
|
||||
- name: update APT packages
|
||||
apt:
|
||||
upgrade: yes
|
||||
update_cache: yes
|
||||
cache_valid_time: 86400
|
||||
- name: update APT packages
|
||||
apt:
|
||||
upgrade: yes
|
||||
update_cache: yes
|
||||
cache_valid_time: 86400
|
||||
|
|
@ -1,8 +1,4 @@
|
|||
---
|
||||
|
||||
- hosts: fedora
|
||||
tasks:
|
||||
- name: Upgrade all packages
|
||||
ansible.builtin.dnf:
|
||||
name: "*"
|
||||
state: latest
|
||||
- name: Upgrade all packages
|
||||
ansible.builtin.dnf:
|
||||
name: "*"
|
||||
state: latest
|
||||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue