tpotce/cloud/ansible/openstack/roles/custom_ews/tasks/main.yaml

14 lines
352 B
YAML
Raw Normal View History

- name: Copy ews configuration file
2019-04-10 10:52:57 +00:00
template:
2020-03-21 23:50:24 +00:00
src: ews.cfg
2019-04-10 10:52:57 +00:00
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
2019-10-21 20:17:00 +00:00
insertafter: "/opt/ewsposter/ews.ip"
line: " - /data/ews/conf/ews.cfg:/opt/ewsposter/ews.cfg"