ansible-roles/roles/matrix_element/tasks/conf.yml
2021-12-01 19:13:34 +01:00

16 lines
415 B
YAML

---
- name: Remove sample config file
file: path={{ element_root_dir }}/web/config.sample.json state=absent
tags: matrix
- name: Deploy configuration
template: src=config.json.j2 dest={{ element_root_dir }}/web/config.json
tags: matrix
- name: Deploy httpd configuration
template: src=httpd.conf.j2 dest=/etc/httpd/ansible_conf.d/10-element_{{ element_id }}.conf
notify: reload httpd
tags: matrix