2023-02-26 08:04:40 +00:00
|
|
|
---
|
|
|
|
- name: Copy assets hierarchy
|
|
|
|
ansible.posix.synchronize:
|
|
|
|
src: "{{ assets_src_dir }}/"
|
|
|
|
dest: "{{ assets_dest_dir }}"
|
|
|
|
recursive: true
|
|
|
|
tags:
|
|
|
|
- branding
|
|
|
|
|
|
|
|
- name: Copy templates hierarchy
|
|
|
|
ansible.posix.synchronize:
|
|
|
|
src: "{{ templates_src_dir }}/"
|
|
|
|
dest: "{{ templates_dest_dir }}"
|
|
|
|
recursive: true
|
|
|
|
tags:
|
|
|
|
- branding
|
|
|
|
|
|
|
|
- name: Apply patches to specific assets, template and config files
|
|
|
|
ansible.posix.patch:
|
|
|
|
src: "{{ item.patch }}"
|
|
|
|
dest: "{{ item.path }}"
|
|
|
|
# optional parameters, see documentation for details
|
|
|
|
# strip: 1
|
|
|
|
backup: true
|
|
|
|
with_items: "{{ branding_patches }}"
|
2024-03-23 02:22:40 +00:00
|
|
|
ignore_errors: "{{ ansible_check_mode }}"
|
2023-02-26 08:04:40 +00:00
|
|
|
tags:
|
|
|
|
- branding
|
|
|
|
|
|
|
|
- name: Restart openqa-webui service
|
|
|
|
ansible.builtin.systemd:
|
|
|
|
name: openqa-webui
|
|
|
|
state: restarted
|
2024-03-23 02:22:40 +00:00
|
|
|
ignore_errors: "{{ ansible_check_mode }}"
|
2023-02-26 08:04:40 +00:00
|
|
|
tags:
|
|
|
|
- branding
|
|
|
|
...
|