ansible-playbook 2.7.0 config file = None configured module search path = [u'/opt/ansible27/ara-venv/local/lib/python2.7/site-packages/ara/plugins/modules'] ansible python module location = /opt/ansible27/ara-venv/local/lib/python2.7/site-packages/ansible executable location = /opt/ansible27/ara-venv/bin/ansible-playbook python version = 2.7.12 (default, Nov 20 2017, 18:23:56) [GCC 5.4.0 20160609] No config file found; using defaults setting up inventory plugins Parsed /home/jenkins-slave/workspace/nova@3/44c4883f54224ab1a549a89e649263f9/cbci/inv inventory source with ini plugin Loading callback plugin default of type stdout, v2.0 from /opt/ansible27/ara-venv/local/lib/python2.7/site-packages/ansible/plugins/callback/default.pyc Loading callback plugin ara of type notification, v2.0 from /opt/ansible27/ara-venv/lib/python2.7/site-packages/ara/plugins/callbacks/log_ara.pyc PLAYBOOK: build-ad.yaml ******************************************************** 1 plays in /home/jenkins-slave/workspace/nova@3/44c4883f54224ab1a549a89e649263f9/cbci/build-ad.yaml Read vars_file 'zuul-params.yaml' Read vars_file 'group_vars/windows' Read vars_file 'zuul-params.yaml' Read vars_file 'group_vars/windows' Read vars_file 'zuul-params.yaml' Read vars_file 'group_vars/windows' PLAY [ad] ********************************************************************** Read vars_file 'zuul-params.yaml' Read vars_file 'group_vars/windows' TASK [Gathering Facts] ********************************************************* task path: /home/jenkins-slave/workspace/nova@3/44c4883f54224ab1a549a89e649263f9/cbci/build-ad.yaml:1 Using module file /opt/ansible27/ara-venv/local/lib/python2.7/site-packages/ansible/modules/windows/setup.ps1 <10.222.0.102> ESTABLISH WINRM CONNECTION FOR USER: administrator on PORT 5986 TO 10.222.0.102 checking if winrm_host 10.222.0.102 is an IPv6 address EXEC (via pipeline wrapper) ok: [10.222.0.102] META: ran handlers Read vars_file 'zuul-params.yaml' Read vars_file 'group_vars/windows' TASK [Disable firewall for Domain, Public and Private profiles] **************** task path: /home/jenkins-slave/workspace/nova@3/44c4883f54224ab1a549a89e649263f9/cbci/build-ad.yaml:9 Using module file /opt/ansible27/ara-venv/local/lib/python2.7/site-packages/ansible/modules/windows/win_firewall.ps1 <10.222.0.102> ESTABLISH WINRM CONNECTION FOR USER: administrator on PORT 5986 TO 10.222.0.102 checking if winrm_host 10.222.0.102 is an IPv6 address EXEC (via pipeline wrapper) changed: [10.222.0.102] => { "Domain": { "considered": true, "currentstate": 1, "enabled": false }, "Private": { "considered": true, "currentstate": 1, "enabled": false }, "Public": { "considered": true, "currentstate": 1, "enabled": false }, "changed": true, "profiles": [ "Domain", "Private", "Public" ], "state": "disabled" } Read vars_file 'zuul-params.yaml' Read vars_file 'group_vars/windows' TASK [Set administrator password to Passw0rd] ********************************** task path: /home/jenkins-slave/workspace/nova@3/44c4883f54224ab1a549a89e649263f9/cbci/build-ad.yaml:18 Using module file /opt/ansible27/ara-venv/local/lib/python2.7/site-packages/ansible/modules/windows/win_shell.ps1 <10.222.0.102> ESTABLISH WINRM CONNECTION FOR USER: administrator on PORT 5986 TO 10.222.0.102 checking if winrm_host 10.222.0.102 is an IPv6 address EXEC (via pipeline wrapper) changed: [10.222.0.102] => { "changed": true, "cmd": "net user administrator Passw0rd", "delta": "0:00:01.955197", "end": "2021-02-03 09:59:19.887721", "rc": 0, "start": "2021-02-03 09:59:17.932523", "stderr": "", "stderr_lines": [], "stdout": "The command completed successfully.\r\n\r\n", "stdout_lines": [ "The command completed successfully.", "" ] } Read vars_file 'zuul-params.yaml' Read vars_file 'group_vars/windows' TASK [Configure AD domain cbci-767704-12.local] ******************************** task path: /home/jenkins-slave/workspace/nova@3/44c4883f54224ab1a549a89e649263f9/cbci/build-ad.yaml:21 Using module file /opt/ansible27/ara-venv/local/lib/python2.7/site-packages/ansible/modules/windows/win_domain.ps1 <10.222.0.102> ESTABLISH WINRM CONNECTION FOR USER: administrator on PORT 5986 TO 10.222.0.102 checking if winrm_host 10.222.0.102 is an IPv6 address EXEC (via pipeline wrapper) changed: [10.222.0.102] => { "changed": true, "reboot_required": true } Read vars_file 'zuul-params.yaml' Read vars_file 'group_vars/windows' TASK [Reboot after creating domain] ******************************************** task path: /home/jenkins-slave/workspace/nova@3/44c4883f54224ab1a549a89e649263f9/cbci/build-ad.yaml:27 <10.222.0.102> ESTABLISH WINRM CONNECTION FOR USER: administrator on PORT 5986 TO 10.222.0.102 checking if winrm_host 10.222.0.102 is an IPv6 address EXEC (via pipeline wrapper) EXEC (via pipeline wrapper) win_reboot: attempting to get system boot time <10.222.0.102> ESTABLISH WINRM CONNECTION FOR USER: administrator on PORT 5986 TO 10.222.0.102 checking if winrm_host 10.222.0.102 is an IPv6 address EXEC (via pipeline wrapper) win_reboot: attempting to get system boot time <10.222.0.102> ESTABLISH WINRM CONNECTION FOR USER: administrator on PORT 5986 TO 10.222.0.102 checking if winrm_host 10.222.0.102 is an IPv6 address EXEC (via pipeline wrapper) win_reboot: attempting to get system boot time <10.222.0.102> ESTABLISH WINRM CONNECTION FOR USER: administrator on PORT 5986 TO 10.222.0.102 checking if winrm_host 10.222.0.102 is an IPv6 address win_reboot: attempting to get system boot time <10.222.0.102> ESTABLISH WINRM CONNECTION FOR USER: administrator on PORT 5986 TO 10.222.0.102 checking if winrm_host 10.222.0.102 is an IPv6 address win_reboot: attempting to get system boot time <10.222.0.102> ESTABLISH WINRM CONNECTION FOR USER: administrator on PORT 5986 TO 10.222.0.102 checking if winrm_host 10.222.0.102 is an IPv6 address win_reboot: attempting to get system boot time <10.222.0.102> ESTABLISH WINRM CONNECTION FOR USER: administrator on PORT 5986 TO 10.222.0.102 checking if winrm_host 10.222.0.102 is an IPv6 address win_reboot: attempting to get system boot time <10.222.0.102> ESTABLISH WINRM CONNECTION FOR USER: administrator on PORT 5986 TO 10.222.0.102 checking if winrm_host 10.222.0.102 is an IPv6 address win_reboot: attempting to get system boot time <10.222.0.102> ESTABLISH WINRM CONNECTION FOR USER: administrator on PORT 5986 TO 10.222.0.102 checking if winrm_host 10.222.0.102 is an IPv6 address EXEC (via pipeline wrapper) <10.222.0.102> ESTABLISH WINRM CONNECTION FOR USER: administrator on PORT 5986 TO 10.222.0.102 checking if winrm_host 10.222.0.102 is an IPv6 address win_reboot: attempting post-reboot test command 'whoami' EXEC (via pipeline wrapper) changed: [10.222.0.102] => { "changed": true, "elapsed": 76, "rebooted": true } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* 10.222.0.102 : ok=5 changed=4 unreachable=0 failed=0