...
Gitea Branch PR & Ansible Deployment / Check and Create PR (push) Successful in 17s
Gitea Branch PR & Ansible Deployment / Ansible Dry Run (benedikta) (push) Failing after 1m6s
Gitea Branch PR & Ansible Deployment / Ansible Dry Run (rikku) (push) Failing after 1m11s
Gitea Branch PR & Ansible Deployment / Ansible Dry Run (rinoa) (push) Failing after 1m12s
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 17s
Gitea Branch PR & Ansible Deployment / Ansible Dry Run (benedikta) (push) Failing after 1m6s
Gitea Branch PR & Ansible Deployment / Ansible Dry Run (rikku) (push) Failing after 1m11s
Gitea Branch PR & Ansible Deployment / Ansible Dry Run (rinoa) (push) Failing after 1m12s
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:
@@ -15,9 +15,8 @@
|
||||
paths: "{{ template_base_path }}/{{ inventory_hostname }}"
|
||||
recurse: true
|
||||
register: host_files
|
||||
run_once: true # can remain run_once, finds files once for all hosts
|
||||
delegate_to: localhost
|
||||
run_once: true
|
||||
changed_when: false
|
||||
|
||||
- name: Build list of unique destination directories
|
||||
ansible.builtin.set_fact:
|
||||
@@ -27,13 +26,12 @@
|
||||
| map(attribute='path')
|
||||
| map('relpath', template_base_path ~ '/' ~ inventory_hostname)
|
||||
| map('dirname')
|
||||
| map('regex_replace', '^(.*)$', hostvars[inventory_hostname]['appdata_base_path'] ~ '/\\1')
|
||||
| map('regex_replace', '^(.*)$', appdata_base_path ~ '/\\1')
|
||||
| unique
|
||||
| list
|
||||
}}
|
||||
changed_when: false
|
||||
delegate_to: localhost
|
||||
run_once: true
|
||||
run_once: false
|
||||
|
||||
tasks:
|
||||
- name: Ensure destination directories exist (unique set)
|
||||
|
||||
Reference in New Issue
Block a user