You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 6, 2024. It is now read-only.
TASK [Enter host system into lockdown mode] *********************************************************************************************
skipping: [localhost]
TASK [Print lockmode info] **************************************************************************************************************
ok: [localhost] => {
"lock_mode": {
"changed": false,
"failed": false,
"msg": "remote module (vmware_host_lockdown) does not support check mode",
"skipped": true
}
}
Below is the playbook we are using with check mode but logs shows that check_mode is not supported
hosts: localhost
connection: local
tasks:
include_vars: vcent_cred.yml
name: Enter host system into lockdown mode
vmware_host_lockdown:
hostname: '{{ vcenter_hostname }}'
username: '{{ vcenter_username }}'
password: '{{ vcenter_password }}'
esxi_hostname: '{{ esxi_hostname }}'
state: present
delegate_to: localhost
register: lock_mode
check_mode: yes
name: Print lockmode info
debug:
var: lock_mode
Output:
PLAY [check mode validation] ************************************************************************************************************
TASK [Gathering Facts] ******************************************************************************************************************
ok: [localhost]
TASK [include_vars] *********************************************************************************************************************
ok: [localhost]
TASK [Enter host system into lockdown mode] *********************************************************************************************
skipping: [localhost]
TASK [Print lockmode info] **************************************************************************************************************
ok: [localhost] => {
"lock_mode": {
"changed": false,
"failed": false,
"msg": "remote module (vmware_host_lockdown) does not support check mode",
"skipped": true
}
}
PLAY RECAP ******************************************************************************************************************************
localhost : ok=3 changed=0 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0
The text was updated successfully, but these errors were encountered: