ansible-openqa-management/tasks/openqa_branding.yml

36 lines
787 B
YAML
Raw Permalink Normal View History

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