nextcloud: move delegate_to to main.yml

This commit is contained in:
phil 2023-10-22 20:48:17 +02:00
parent 86545d60ef
commit 24c363791e
2 changed files with 5 additions and 3 deletions

View file

@ -20,8 +20,12 @@
- name: Run database tasks
ansible.builtin.include_tasks: database.yml
tags: database
tags: always
loop: "{{ nextcloud_instances }}"
args:
apply:
delegate_to: "{{ database_host }}"
tags: database
- name: Run user tasks
ansible.builtin.include_tasks: user.yml