mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-04-12 00:03:17 +02:00
16 lines
403 B
YAML
16 lines
403 B
YAML
---
|
|
|
|
- name: Remove sample config file
|
|
file: path={{ riot_root_dir }}/web/config.sample.json state=absent
|
|
tags: matrix
|
|
|
|
- name: Deploy configuration
|
|
template: src=config.json.j2 dest={{ riot_root_dir }}/web/config.json
|
|
tags: matrix
|
|
|
|
- name: Deploy httpd configuration
|
|
template: src=httpd.conf.j2 dest=/etc/httpd/ansible_conf.d/10-riot_{{ riot_id }}.conf
|
|
notify: reload httpd
|
|
tags: matrix
|
|
|