36 lines
787 B
YAML
36 lines
787 B
YAML
---
|
|
- 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 }}"
|
|
tags:
|
|
- branding
|
|
|
|
- name: Restart openqa-webui service
|
|
ansible.builtin.systemd:
|
|
name: openqa-webui
|
|
state: restarted
|
|
tags:
|
|
- branding
|
|
...
|