Guest User

Untitled

a guest
May 23rd, 2025
38
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.85 KB | None | 0 0
  1. ansible-playbook 2.9.27.post0
  2. config file = None
  3. configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  4. ansible python module location = /usr/local/lib/python3.8/site-packages/ansible
  5. executable location = /usr/local/bin/ansible-playbook
  6. python version = 3.8.12 (default, Sep 21 2021, 00:10:52) [GCC 8.5.0 20210514 (Red Hat 8.5.0-3)]
  7. No config file found; using defaults
  8. host_list declined parsing /runner/inventory/hosts as it did not pass its verify_file() method
  9. [WARNING]: Invalid characters were found in group names but not replaced, use
  10. -vvvv to see details
  11. Parsed /runner/inventory/hosts inventory source with script plugin
  12. Skipping callback 'actionable', as we already have a stdout callback.
  13. Skipping callback 'awx_display', as we already have a stdout callback.
  14. Skipping callback 'counter_enabled', as we already have a stdout callback.
  15. Skipping callback 'debug', as we already have a stdout callback.
  16. Skipping callback 'dense', as we already have a stdout callback.
  17. Skipping callback 'dense', as we already have a stdout callback.
  18. Skipping callback 'full_skip', as we already have a stdout callback.
  19. Skipping callback 'json', as we already have a stdout callback.
  20. Skipping callback 'minimal', as we already have a stdout callback.
  21. Skipping callback 'null', as we already have a stdout callback.
  22. Skipping callback 'oneline', as we already have a stdout callback.
  23. Skipping callback 'selective', as we already have a stdout callback.
  24. Skipping callback 'skippy', as we already have a stdout callback.
  25. Skipping callback 'stderr', as we already have a stdout callback.
  26. Skipping callback 'unixy', as we already have a stdout callback.
  27. Skipping callback 'yaml', as we already have a stdout callback.
  28.  
  29. PLAYBOOK: Win-VM-Configuration.yml *********************************************
  30. 3 plays in Win-VM-Configuration.yml
  31.  
  32. PLAY [Setup] *******************************************************************
  33. META: ran handlers
  34.  
  35. TASK [set_fact] ****************************************************************
  36. task path: /runner/project/Win-VM-Configuration.yml:7
  37. ok: [localhost] => {
  38. "ansible_facts": {
  39. "hostname": "TestVM"
  40. },
  41. "changed": false
  42. }
  43.  
  44. TASK [set_fact] ****************************************************************
  45. task path: /runner/project/Win-VM-Configuration.yml:9
  46. ok: [localhost] => {
  47. "ansible_facts": {
  48. "servername": "TestVM.corp.company.com"
  49. },
  50. "changed": false
  51. }
  52.  
  53. TASK [Setup - Virtual Inventory + module defaults] *****************************
  54. task path: /runner/project/Win-VM-Configuration.yml:13
  55. creating host via 'add_host': hostname=TestVM.corp.company.com
  56. changed: [localhost] => {
  57. "add_host": {
  58. "groups": [
  59. "windows"
  60. ],
  61. "host_name": "TestVM.corp.company.com",
  62. "host_vars": {}
  63. },
  64. "changed": true
  65. }
  66. META: ran handlers
  67. META: ran handlers
  68.  
  69. PLAY [VM-Configuration - Calling OS Configuration Role] ************************
  70. META: ran handlers
  71.  
  72. TASK [Start Domain Join role] **************************************************
  73. task path: /runner/project/Win-VM-Configuration.yml:61
  74.  
  75. TASK [vm-osconfig : OSconfig - Install AD Powershell module [vmware_shell]] ****
  76. task path: /runner/project/roles/vm-osconfig/tasks/main.yml:3
  77. <127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: root
  78. <127.0.0.1> EXEC /bin/sh -c 'echo ~root && sleep 0'
  79. <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'
  80. Using module file /usr/local/lib/python3.8/site-packages/ansible/modules/cloud/vmware/vmware_vm_shell.py
  81. <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
  82. <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'
  83. <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'
  84. <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'
  85. The full traceback is:
  86. 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
  87. check_required_arguments(spec, param)
  88. 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
  89. raise TypeError(to_native(msg))
  90. fatal: [localhost]: FAILED! => {
  91. "changed": false,
  92. "invocation": {
  93. "module_args": {
  94. "hostname": "chq-vcenter.company.internal",
  95. "password": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER",
  96. "port": 443,
  97. "timeout": 60,
  98. "username": "[email protected]",
  99. "validate_certs": "False",
  100. "vm_id_type": "vm_name",
  101. "vm_shell_args": "Install-WindowsFeature RSAT-AD-PowerShell",
  102. "wait_for_process": true
  103. }
  104. },
  105. "msg": "missing required arguments: vm_id, vm_username, vm_password, vm_shell"
  106. }
  107.  
  108. PLAY RECAP *********************************************************************
  109. TestVM.corp.company.com : ok=1 changed=0 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0
  110. localhost : ok=3 changed=1 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0
  111.  
  112.  
Advertisement
Add Comment
Please, Sign In to add comment