tpotce/cloud/ansible/openstack/roles/custom_hpfeeds/tasks/main.yaml
2020-03-22 00:50:24 +01:00

12 lines
302 B
YAML

- name: Copy hpfeeds configuration file
copy:
src: hpfeeds.cfg
dest: /data/ews/conf
owner: tpot
group: tpot
mode: 0770
register: config
- name: Applying hpfeeds settings
command: /opt/tpot/bin/hpfeeds_optin.sh --conf=/data/ews/conf/hpfeeds.cfg
when: config.changed == true