[ANSIBLE] Automated PR for swag-config-additions_2025-08-31T07-14-27 - #3 #3

Merged
gitea-sonarqube-bot merged 4 commits from swag-config-additions_2025-08-31T07-14-27 into main 2025-08-31 19:13:30 -04:00
2 changed files with 5 additions and 3 deletions
Showing only changes of commit 71c97de6ff - Show all commits
@@ -10,6 +10,7 @@ on:
- 'inventory/hosts.yml'
- 'host_vars/**'
- 'group_vars/**'
- '**/tar-valon_config_deploy.yml'
- '**/gitea_tar-valon_ansible_deploy.yml'
env:
+4 -3
View File
@@ -18,7 +18,7 @@
register: host_files
delegate_to: localhost
run_once: true
run_on_delegate: true
changed_when: false # ensures this task never shows as "changed"
- name: Build list of unique destination directories
ansible.builtin.set_fact:
@@ -32,6 +32,7 @@
| unique
| list
}}
changed_when: false # computing vars does not constitute a change
tasks:
- name: Ensure destination directories exist (unique set)
@@ -48,7 +49,7 @@
src: "{{ item.path }}"
dest: >-
{{ appdata_base_path }}/{{ item.path
| relpath(template_base_path + '/' + inventory_hostname)
| relpath(template_base_path ~ '/' ~ inventory_hostname)
| regex_replace('\.j2$', '') }}
mode: '0644'
loop: "{{ host_files.files }}"
@@ -61,7 +62,7 @@
src: "{{ item.path }}"
dest: >-
{{ appdata_base_path }}/{{ item.path
| relpath(template_base_path + '/' + inventory_hostname) }}
| relpath(template_base_path ~ '/' ~ inventory_hostname) }}
mode: '0644'
remote_src: false
loop: "{{ host_files.files }}"