diff --git a/Deleted_Splunk.yml b/Deleted_Splunk.yml index 8a4325b..d13cb55 100644 --- a/Deleted_Splunk.yml +++ b/Deleted_Splunk.yml @@ -31,20 +31,3 @@ with_items: - /etc/init.d/splunk - /etc/systemd/system/splunk.service - - - name: "Shutdown VM" - shell: shutdown -r now - - - name: Wait for the reboot and reconnect - wait_for: - port: 22 - search_regex: OpenSSH - delay: 10 - timeout: 60 - connection: local - - - name: Check the Uptime of the servers - shell: "uptime" - register: Uptime - - - debug: var=Uptime diff --git a/Deleted_SplunkForwarder.yml b/Deleted_SplunkForwarder.yml index 6609c04..d7eaeed 100644 --- a/Deleted_SplunkForwarder.yml +++ b/Deleted_SplunkForwarder.yml @@ -30,28 +30,4 @@ state: absent with_items: - /etc/init.d/Splunkforwarder - - /etc/systemd/system/Splunk.service - - - name: "Shutdown VM" - shell: shutdown -r now - - - name: Wait for the reboot and reconnect - wait_for: - port: 22 - search_regex: OpenSSH - delay: 10 - timeout: 60 - connection: local - - - name: Check the Uptime of the servers - shell: "uptime" - register: Uptime - - - debug: var=Uptime - - - #- name: "Shutdown VM" - #reboot: - #reboot_timeout: 300 - #async: 0 - #poll: 0 + - /etc/systemd/system/Splunk.service \ No newline at end of file diff --git a/Deleted_SplunkHeavyForwarder.yml b/Deleted_SplunkHeavyForwarder.yml index c7a7c7f..3695b3a 100644 --- a/Deleted_SplunkHeavyForwarder.yml +++ b/Deleted_SplunkHeavyForwarder.yml @@ -31,26 +31,3 @@ with_items: - /etc/init.d/splunk - /etc/systemd/system/splunk.service - - - name: "Shutdown VM" - shell: shutdown -r now - - - name: Wait for the reboot and reconnect - wait_for: - port: 22 - search_regex: OpenSSH - delay: 10 - timeout: 60 - connection: local - - - name: Check the Uptime of the servers - shell: "uptime" - register: Uptime - - - debug: var=Uptime - - #- name: "Shutdown VM" - #reboot: - #reboot_timeout: 300 - #async: 0 - #poll: 0