tpotce/cloud/ansible/openstack/roles/custom_ews/tasks/main.yaml
Sebastian Haderecker 7a5a732ece Update folder naming
2019-06-29 21:04:45 +00:00

13 lines
365 B
YAML

- name: Copy ews configuration file
template:
src: ../templates/ews.cfg
dest: /data/ews/conf
owner: root
group: root
mode: 0644
- name: Patching tpot.yml with custom ews configuration file
lineinfile:
path: /opt/tpot/etc/tpot.yml
insertafter: '/opt/ewsposter/ews.ip'
line: ' - /data/ews/conf/ews.cfg:/opt/ewsposter/ews.cfg'