ansible-infra/playbooks/maintenance.yaml

15 lines
464 B
YAML

- name: Ensure nginx install on nginx_hosts and nextcloud_hosts
hosts: nginx_hosts:nextcloud_hosts
tasks:
- name: Ensure NGINX is installed
ansible.builtin.include_role:
name: nginx
tasks_from: main/02_nginx_install.yaml
- name: Make Sure System Package Are Up-To-Date for all non-hypervisors
hosts: all:!hypervisors
roles:
- apt_update_and_upgrade
- name: Run deploy Playbook
ansible.builtin.import_playbook: deploy.yaml