mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-07-02 01:27:27 -04:00
Added custom ews.cfg Playbook
This commit is contained in:
17
cloud/ansible/roles/custom_ews/tasks/main.yaml
Normal file
17
cloud/ansible/roles/custom_ews/tasks/main.yaml
Normal 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
|
Reference in New Issue
Block a user