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

13 lines
311 B
YAML
Raw Normal View History

2019-06-29 16:21:47 +00:00
- name: Copy hpfeeds configuration file
2019-10-21 20:19:18 +00:00
copy:
src: ../files/hpfeeds.cfg
2019-06-29 16:21:47 +00:00
dest: /data/ews/conf
owner: tpot
group: tpot
mode: 0770
register: config
2019-06-29 16:21:47 +00:00
- name: Applying hpfeeds settings
command: /opt/tpot/bin/hpfeeds_optin.sh --conf=/data/ews/conf/hpfeeds.cfg
when: config.changed == true