Added custom ews.cfg Playbook

This commit is contained in:
Sebastian Haderecker
2019-04-10 10:52:57 +00:00
parent 00e4043bca
commit fbf4ca00a3
3 changed files with 165 additions and 0 deletions

View File

@ -0,0 +1,17 @@
- name: Waiting for SSH connection
wait_for_connection:
timeout: 300
- name: Gathering Facts
setup:
- name: Install ews configuration file
template:
src: ../templates/ews.cfg
dest: /data/ews/conf
owner: root
group: root
mode: 0644
- name: Patching tpot.yml
raw: sed -i '/\/opt\/ewsposter\/ews.ip/a\\ \ \ \ \ - /data/ews/conf/ews.cfg:/opt/ewsposter/ews.cfg' /opt/tpot/etc/tpot.yml