Note: The default ITS GitLab runner is a shared resource and is subject to slowdowns during heavy usage.
You can run your own GitLab runner that is dedicated just to your group if you need to avoid processing delays.

Commit 9f4fe8ee authored by Adam Robinson's avatar Adam Robinson
Browse files

vmware_host_service_facts is deprecated

parent 6c7c524c
......@@ -23,13 +23,13 @@
notify: Reload syslog
- name: Get the current state of all services
vmware_host_service_facts:
vmware_host_service_info:
hostname: '{{ vcenter_hostname }}'
esxi_hostname: '{{ inventory_hostname }}'
username: '{{ vmware_user }}'
password: '{{ vmware_password }}'
delegate_to: localhost
register: host_service_facts
register: host_service_info
- name: Start SSH Temporarily to configure Syslog Filtering
vmware_host_service_manager:
......@@ -40,7 +40,7 @@
service_name: TSM-SSH
state: start
delegate_to: localhost
when: not host_service_facts['host_service_facts'][inventory_hostname] | selectattr('key', 'equalto', 'TSM-SSH') | map(attribute='running') | list | first | bool
when: not host_service_info['host_service_info'][inventory_hostname] | selectattr('key', 'equalto', 'TSM-SSH') | map(attribute='running') | list | first | bool
notify: Stop SSH
- name: Enable Syslog Filtering
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment