...
Gitea Branch PR & Ansible Deployment / Check and Create PR (push) Successful in 15s
Gitea Branch PR & Ansible Deployment / Ansible Dry Run (benedikta) (push) Failing after 1m12s
Gitea Branch PR & Ansible Deployment / Ansible Dry Run (rinoa) (push) Failing after 1m15s
Gitea Branch PR & Ansible Deployment / Ansible Dry Run (rikku) (push) Failing after 1m19s
Gitea Branch PR & Ansible Deployment / PR Merge (push) Has been skipped
Gitea Branch PR & Ansible Deployment / Ansible Config Deployment (benedikta) (push) Has been skipped
Gitea Branch PR & Ansible Deployment / Ansible Config Deployment (rikku) (push) Has been skipped
Gitea Branch PR & Ansible Deployment / Ansible Config Deployment (rinoa) (push) Has been skipped
Gitea Branch PR & Ansible Deployment / Check and Create PR (push) Successful in 15s
Gitea Branch PR & Ansible Deployment / Ansible Dry Run (benedikta) (push) Failing after 1m12s
Gitea Branch PR & Ansible Deployment / Ansible Dry Run (rinoa) (push) Failing after 1m15s
Gitea Branch PR & Ansible Deployment / Ansible Dry Run (rikku) (push) Failing after 1m19s
Gitea Branch PR & Ansible Deployment / PR Merge (push) Has been skipped
Gitea Branch PR & Ansible Deployment / Ansible Config Deployment (benedikta) (push) Has been skipped
Gitea Branch PR & Ansible Deployment / Ansible Config Deployment (rikku) (push) Has been skipped
Gitea Branch PR & Ansible Deployment / Ansible Config Deployment (rinoa) (push) Has been skipped
This commit is contained in:
@@ -10,13 +10,12 @@
|
|||||||
template_base_path: "{{ playbook_dir }}/../app-configs"
|
template_base_path: "{{ playbook_dir }}/../app-configs"
|
||||||
|
|
||||||
pre_tasks:
|
pre_tasks:
|
||||||
- name: Find all files for all hosts (run once on localhost)
|
- name: Find all files for this host
|
||||||
ansible.builtin.find:
|
ansible.builtin.find:
|
||||||
paths: "{{ template_base_path }}/{{ inventory_hostname }}"
|
paths: "{{ template_base_path }}/{{ inventory_hostname }}"
|
||||||
recurse: true
|
recurse: true
|
||||||
register: host_files
|
register: host_files
|
||||||
delegate_to: localhost
|
run_once: false # per host
|
||||||
run_once: true
|
|
||||||
changed_when: false
|
changed_when: false
|
||||||
|
|
||||||
- name: Build list of unique destination directories per host
|
- name: Build list of unique destination directories per host
|
||||||
@@ -32,7 +31,6 @@
|
|||||||
| list
|
| list
|
||||||
}}
|
}}
|
||||||
changed_when: false
|
changed_when: false
|
||||||
run_once: false # run per host, so host_vars are available
|
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- name: Ensure destination directories exist (unique set)
|
- name: Ensure destination directories exist (unique set)
|
||||||
|
|||||||
Reference in New Issue
Block a user