diff options
author | Matt Woodson <mwoodson@gmail.com> | 2016-01-11 10:38:12 -0500 |
---|---|---|
committer | Matt Woodson <mwoodson@gmail.com> | 2016-01-11 10:38:12 -0500 |
commit | 2dc56faff5812ba436bffd2fcd3ec2ac57780286 (patch) | |
tree | c01a390c68d29bd8b6b7a29db794b594bfa11216 /roles/oso_host_monitoring/tasks | |
parent | 0e60de158e27b6f15adc943db703fec4bd2c72bc (diff) | |
parent | 76ea445e6480e72512e6ddb9916f05e4978f95c9 (diff) | |
download | openshift-2dc56faff5812ba436bffd2fcd3ec2ac57780286.tar.gz openshift-2dc56faff5812ba436bffd2fcd3ec2ac57780286.tar.bz2 openshift-2dc56faff5812ba436bffd2fcd3ec2ac57780286.tar.xz openshift-2dc56faff5812ba436bffd2fcd3ec2ac57780286.zip |
Merge pull request #1151 from mwoodson/host_monitoring
host monitoring: combined pcp and zagg client into host monitoring
Diffstat (limited to 'roles/oso_host_monitoring/tasks')
-rw-r--r-- | roles/oso_host_monitoring/tasks/main.yml | 20 |
1 files changed, 1 insertions, 19 deletions
diff --git a/roles/oso_host_monitoring/tasks/main.yml b/roles/oso_host_monitoring/tasks/main.yml index 6ddfa3dcb..a0a453416 100644 --- a/roles/oso_host_monitoring/tasks/main.yml +++ b/roles/oso_host_monitoring/tasks/main.yml @@ -5,7 +5,6 @@ with_items: - osohm_zagg_web_url - osohm_host_monitoring - - osohm_zagg_client - osohm_docker_registry_url - osohm_default_zagg_server_user - osohm_default_zagg_server_password @@ -37,29 +36,12 @@ - "Restart the {{ osohm_host_monitoring }} service" register: systemd_host_monitoring -- name: "Copy {{ osohm_zagg_client }} systemd file" - template: - src: "{{ osohm_zagg_client }}.service.j2" - dest: "/etc/systemd/system/{{ osohm_zagg_client }}.service" - owner: root - group: root - mode: 0644 - notify: - - "Restart the {{ osohm_zagg_client }} service" - register: zagg_systemd - - name: reload systemd command: /usr/bin/systemctl --system daemon-reload - when: systemd_host_monitoring | changed or zagg_systemd | changed + when: systemd_host_monitoring | changed - name: "Start the {{ osohm_host_monitoring }} service" service: name: "{{ osohm_host_monitoring }}" state: started enabled: yes - -- name: "Start the {{ osohm_zagg_client }} service" - service: - name: "{{ osohm_zagg_client }}" - state: started - enabled: yes |