Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ansible-playbook 2.9.27.post0
- config file = None
- configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
- ansible python module location = /usr/local/lib/python3.8/site-packages/ansible
- executable location = /usr/local/bin/ansible-playbook
- python version = 3.8.12 (default, Sep 21 2021, 00:10:52) [GCC 8.5.0 20210514 (Red Hat 8.5.0-3)]
- No config file found; using defaults
- host_list declined parsing /runner/inventory/hosts as it did not pass its verify_file() method
- [WARNING]: Invalid characters were found in group names but not replaced, use
- -vvvv to see details
- Parsed /runner/inventory/hosts inventory source with script plugin
- Skipping callback 'actionable', as we already have a stdout callback.
- Skipping callback 'awx_display', as we already have a stdout callback.
- Skipping callback 'counter_enabled', as we already have a stdout callback.
- Skipping callback 'debug', as we already have a stdout callback.
- Skipping callback 'dense', as we already have a stdout callback.
- Skipping callback 'dense', as we already have a stdout callback.
- Skipping callback 'full_skip', as we already have a stdout callback.
- Skipping callback 'json', as we already have a stdout callback.
- Skipping callback 'minimal', as we already have a stdout callback.
- Skipping callback 'null', as we already have a stdout callback.
- Skipping callback 'oneline', as we already have a stdout callback.
- Skipping callback 'selective', as we already have a stdout callback.
- Skipping callback 'skippy', as we already have a stdout callback.
- Skipping callback 'stderr', as we already have a stdout callback.
- Skipping callback 'unixy', as we already have a stdout callback.
- Skipping callback 'yaml', as we already have a stdout callback.
- PLAYBOOK: Win-VM-Configuration.yml *********************************************
- 3 plays in Win-VM-Configuration.yml
- PLAY [Setup] *******************************************************************
- META: ran handlers
- TASK [set_fact] ****************************************************************
- task path: /runner/project/Win-VM-Configuration.yml:7
- ok: [localhost] => {
- "ansible_facts": {
- "hostname": "TestVM"
- },
- "changed": false
- }
- TASK [set_fact] ****************************************************************
- task path: /runner/project/Win-VM-Configuration.yml:9
- ok: [localhost] => {
- "ansible_facts": {
- "servername": "TestVM.corp.company.com"
- },
- "changed": false
- }
- TASK [Setup - Virtual Inventory + module defaults] *****************************
- task path: /runner/project/Win-VM-Configuration.yml:13
- creating host via 'add_host': hostname=TestVM.corp.company.com
- changed: [localhost] => {
- "add_host": {
- "groups": [
- "windows"
- ],
- "host_name": "TestVM.corp.company.com",
- "host_vars": {}
- },
- "changed": true
- }
- META: ran handlers
- META: ran handlers
- PLAY [VM-Configuration - Calling OS Configuration Role] ************************
- META: ran handlers
- TASK [Start Domain Join role] **************************************************
- task path: /runner/project/Win-VM-Configuration.yml:61
- TASK [vm-osconfig : OSconfig - Install AD Powershell module [vmware_shell]] ****
- task path: /runner/project/roles/vm-osconfig/tasks/main.yml:3
- <127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: root
- <127.0.0.1> EXEC /bin/sh -c 'echo ~root && sleep 0'
- <127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1748034016.7978082-39-267307184644287 `" && echo ansible-tmp-1748034016.7978082-39-267307184644287="` echo /root/.ansible/tmp/ansible-tmp-1748034016.7978082-39-267307184644287 `" ) && sleep 0'
- Using module file /usr/local/lib/python3.8/site-packages/ansible/modules/cloud/vmware/vmware_vm_shell.py
- <127.0.0.1> PUT /root/.ansible/tmp/ansible-local-17a40snxh2/tmpkkq2zqv0 TO /root/.ansible/tmp/ansible-tmp-1748034016.7978082-39-267307184644287/AnsiballZ_vmware_vm_shell.py
- <127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1748034016.7978082-39-267307184644287/ /root/.ansible/tmp/ansible-tmp-1748034016.7978082-39-267307184644287/AnsiballZ_vmware_vm_shell.py && sleep 0'
- <127.0.0.1> EXEC /bin/sh -c '/usr/bin/python3 /root/.ansible/tmp/ansible-tmp-1748034016.7978082-39-267307184644287/AnsiballZ_vmware_vm_shell.py && sleep 0'
- <127.0.0.1> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1748034016.7978082-39-267307184644287/ > /dev/null 2>&1 && sleep 0'
- The full traceback is:
- File "/tmp/ansible_vmware_vm_shell_payload_w0ycsb6x/ansible_vmware_vm_shell_payload.zip/ansible/module_utils/basic.py", line 1662, in _check_required_arguments
- check_required_arguments(spec, param)
- File "/tmp/ansible_vmware_vm_shell_payload_w0ycsb6x/ansible_vmware_vm_shell_payload.zip/ansible/module_utils/common/validation.py", line 193, in check_required_arguments
- raise TypeError(to_native(msg))
- fatal: [localhost]: FAILED! => {
- "changed": false,
- "invocation": {
- "module_args": {
- "hostname": "chq-vcenter.company.internal",
- "password": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER",
- "port": 443,
- "timeout": 60,
- "username": "[email protected]",
- "validate_certs": "False",
- "vm_id_type": "vm_name",
- "vm_shell_args": "Install-WindowsFeature RSAT-AD-PowerShell",
- "wait_for_process": true
- }
- },
- "msg": "missing required arguments: vm_id, vm_username, vm_password, vm_shell"
- }
- PLAY RECAP *********************************************************************
- TestVM.corp.company.com : ok=1 changed=0 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0
- localhost : ok=3 changed=1 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0
Advertisement
Add Comment
Please, Sign In to add comment