mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-04-29 03:38:51 +00:00
24 lines
635 B
YAML
24 lines
635 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'
|
|
|
|
- name: Copy hpfeeds configuration file
|
|
template:
|
|
src: ../templates/hpfeeds.cfg
|
|
dest: /data/ews/conf
|
|
owner: root
|
|
group: root
|
|
mode: 0644
|
|
|
|
- name: Applying hpfeeds settings
|
|
command: /opt/tpot/bin/hpfeeds_optin.sh --conf=/data/ews/conf/hpfeeds.cfg
|