CIS Adjustments

This commit is contained in:
2025-01-21 19:55:36 +01:00
parent 75c4ba6b4c
commit cfcccbf512
4 changed files with 66 additions and 27 deletions

View File

@@ -81,7 +81,7 @@
tasks:
- name: Set final SSH Credentials
when: hypervisor == 'vmware' and vmware_ssh | bool
when: hypervisor != 'vmware' or (hypervisor == 'vmware' and vmware_ssh | bool)
ansible.builtin.set_fact:
ansible_user: "{{ user_name }}"
ansible_password: "{{ user_password }}"
@@ -91,3 +91,4 @@
- name: Check if VM is back and running
ansible.builtin.wait_for_connection:
timeout: 300