38 lines
875 B
YAML
38 lines
875 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 }}"
|
|
ignore_errors: "{{ ansible_check_mode }}"
|
|
tags:
|
|
- branding
|
|
|
|
- name: Restart openqa-webui service
|
|
ansible.builtin.systemd:
|
|
name: openqa-webui
|
|
state: restarted
|
|
ignore_errors: "{{ ansible_check_mode }}"
|
|
tags:
|
|
- branding
|
|
...
|