You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
397 B
15 lines
397 B
---
|
|
|
|
- name: Remove sample config file
|
|
file: path={{ riot_root_dir }}/web/config.sample.json state=absent
|
|
tags: riot
|
|
|
|
- name: Deploy configuration
|
|
template: src=config.json.j2 dest={{ riot_root_dir }}/web/config.json
|
|
tags: riot
|
|
|
|
- name: Deploy httpd configuration
|
|
template: src=httpd.conf.j2 dest=/etc/httpd/ansible_conf.d/10-riot_{{ riot_id }}.conf
|
|
notify: reload httpd
|
|
tags: riot
|
|
|
|
|