Also exclude that group from the tasks otherwise targeting all hosts.
This commit is contained in:
parent
61cd5053d0
commit
ff540126a1
3 changed files with 9 additions and 4 deletions
playbooks
|
@ -59,8 +59,8 @@
|
|||
roles:
|
||||
- prometheus_node_exporter
|
||||
|
||||
- name: Configure unattended upgrades
|
||||
hosts: all
|
||||
- name: Configure unattended upgrades for all non-hypervisors
|
||||
hosts: all:!hypervisors
|
||||
become: true
|
||||
roles:
|
||||
- role: debops.debops.unattended_upgrades
|
||||
|
|
|
@ -26,8 +26,8 @@
|
|||
vars:
|
||||
nginx__version_spec: "{{ nextcloud__nginx_version_spec | default('') }}"
|
||||
|
||||
- name: Make Sure System Package Are Up-To-Date
|
||||
hosts: all
|
||||
- name: Make Sure System Package Are Up-To-Date for all non-hypervisors
|
||||
hosts: all:!hypervisors
|
||||
roles:
|
||||
- apt_update_and_upgrade
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue