16 lines
415 B
YAML
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
|
||
|
|