2019-04-15 18:43:27 +00:00
|
|
|
- name: Copy ews configuration file
|
2019-04-10 10:52:57 +00:00
|
|
|
template:
|
|
|
|
src: ../templates/ews.cfg
|
|
|
|
dest: /data/ews/conf
|
|
|
|
owner: root
|
|
|
|
group: root
|
|
|
|
mode: 0644
|
|
|
|
|
2019-04-15 18:43:27 +00:00
|
|
|
- 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'
|
2019-04-12 23:45:25 +00:00
|
|
|
|
2019-05-16 10:51:04 +00:00
|
|
|
- name: Copy hpfeeds configuration file
|
|
|
|
template:
|
|
|
|
src: ../templates/hpfeeds.cfg
|
|
|
|
dest: /data/ews/conf
|
|
|
|
owner: root
|
|
|
|
group: root
|
|
|
|
mode: 0644
|
2019-04-12 23:45:25 +00:00
|
|
|
|
2019-05-16 10:51:04 +00:00
|
|
|
-name: Applying hpfeeds settings
|
|
|
|
command: /opt/tpot/bin/hpfeeds_optin.sh --conf=/data/ews/conf/hpfeeds.cfg
|