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@4/c5ce948f10b24514879d145af1837b3d/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@4/c5ce948f10b24514879d145af1837b3d/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@4/c5ce948f10b24514879d145af1837b3d/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.43> ESTABLISH WINRM CONNECTION FOR USER: administrator on PORT 5986 TO 10.222.0.43 checking if winrm_host 10.222.0.43 is an IPv6 address EXEC (via pipeline wrapper) ok: [10.222.0.43] 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@4/c5ce948f10b24514879d145af1837b3d/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.43> ESTABLISH WINRM CONNECTION FOR USER: administrator on PORT 5986 TO 10.222.0.43 checking if winrm_host 10.222.0.43 is an IPv6 address EXEC (via pipeline wrapper) changed: [10.222.0.43] => { "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@4/c5ce948f10b24514879d145af1837b3d/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.43> ESTABLISH WINRM CONNECTION FOR USER: administrator on PORT 5986 TO 10.222.0.43 checking if winrm_host 10.222.0.43 is an IPv6 address EXEC (via pipeline wrapper) changed: [10.222.0.43] => { "changed": true, "cmd": "net user administrator Passw0rd", "delta": "0:00:01.703655", "end": "2021-01-20 09:23:52.640608", "rc": 0, "start": "2021-01-20 09:23:50.936953", "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-765315-14.local] ******************************** task path: /home/jenkins-slave/workspace/nova@4/c5ce948f10b24514879d145af1837b3d/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.43> ESTABLISH WINRM CONNECTION FOR USER: administrator on PORT 5986 TO 10.222.0.43 checking if winrm_host 10.222.0.43 is an IPv6 address EXEC (via pipeline wrapper) changed: [10.222.0.43] => { "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@4/c5ce948f10b24514879d145af1837b3d/cbci/build-ad.yaml:27 <10.222.0.43> ESTABLISH WINRM CONNECTION FOR USER: administrator on PORT 5986 TO 10.222.0.43 checking if winrm_host 10.222.0.43 is an IPv6 address EXEC (via pipeline wrapper) EXEC (via pipeline wrapper) win_reboot: attempting to get system boot time <10.222.0.43> ESTABLISH WINRM CONNECTION FOR USER: administrator on PORT 5986 TO 10.222.0.43 checking if winrm_host 10.222.0.43 is an IPv6 address EXEC (via pipeline wrapper) win_reboot: attempting to get system boot time <10.222.0.43> ESTABLISH WINRM CONNECTION FOR USER: administrator on PORT 5986 TO 10.222.0.43 checking if winrm_host 10.222.0.43 is an IPv6 address EXEC (via pipeline wrapper) win_reboot: attempting to get system boot time <10.222.0.43> ESTABLISH WINRM CONNECTION FOR USER: administrator on PORT 5986 TO 10.222.0.43 checking if winrm_host 10.222.0.43 is an IPv6 address win_reboot: attempting to get system boot time <10.222.0.43> ESTABLISH WINRM CONNECTION FOR USER: administrator on PORT 5986 TO 10.222.0.43 checking if winrm_host 10.222.0.43 is an IPv6 address win_reboot: attempting to get system boot time <10.222.0.43> ESTABLISH WINRM CONNECTION FOR USER: administrator on PORT 5986 TO 10.222.0.43 checking if winrm_host 10.222.0.43 is an IPv6 address win_reboot: attempting to get system boot time <10.222.0.43> ESTABLISH WINRM CONNECTION FOR USER: administrator on PORT 5986 TO 10.222.0.43 checking if winrm_host 10.222.0.43 is an IPv6 address win_reboot: attempting to get system boot time <10.222.0.43> ESTABLISH WINRM CONNECTION FOR USER: administrator on PORT 5986 TO 10.222.0.43 checking if winrm_host 10.222.0.43 is an IPv6 address win_reboot: attempting to get system boot time <10.222.0.43> ESTABLISH WINRM CONNECTION FOR USER: administrator on PORT 5986 TO 10.222.0.43 checking if winrm_host 10.222.0.43 is an IPv6 address EXEC (via pipeline wrapper) <10.222.0.43> ESTABLISH WINRM CONNECTION FOR USER: administrator on PORT 5986 TO 10.222.0.43 checking if winrm_host 10.222.0.43 is an IPv6 address win_reboot: attempting post-reboot test command 'whoami' EXEC (via pipeline wrapper) changed: [10.222.0.43] => { "changed": true, "elapsed": 81, "rebooted": true } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* 10.222.0.43 : ok=5 changed=4 unreachable=0 failed=0