+
+ - name: Rendre la var domain dispo pour le host ateliers
+ ansible.builtin.set_fact:
+ DOMAIN: "{{ DOMAIN }}"
+ delegate_to: "{{ item }}"
+ delegate_facts: true
+ loop:
+ - ateliers
+ - vm_debian11
+
+ - name: Create nextcloud restore dir on controller
+ ansible.builtin.file:
+ path: "{{ nextcloud_tmp_path }}"
+ state: directory
+ mode: '777'
+
+- name: Play sur ateliers
+ hosts: ateliers