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/899ac83b9d0f4951a4aa913064f8923d/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/899ac83b9d0f4951a4aa913064f8923d/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/899ac83b9d0f4951a4aa913064f8923d/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.35> ESTABLISH WINRM CONNECTION FOR USER: administrator on PORT 5986 TO 10.222.0.35 checking if winrm_host 10.222.0.35 is an IPv6 address EXEC (via pipeline wrapper) ok: [10.222.0.35] 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/899ac83b9d0f4951a4aa913064f8923d/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.35> ESTABLISH WINRM CONNECTION FOR USER: administrator on PORT 5986 TO 10.222.0.35 checking if winrm_host 10.222.0.35 is an IPv6 address EXEC (via pipeline wrapper) changed: [10.222.0.35] => { "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/899ac83b9d0f4951a4aa913064f8923d/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.35> ESTABLISH WINRM CONNECTION FOR USER: administrator on PORT 5986 TO 10.222.0.35 checking if winrm_host 10.222.0.35 is an IPv6 address EXEC (via pipeline wrapper) changed: [10.222.0.35] => { "changed": true, "cmd": "net user administrator Passw0rd", "delta": "0:00:01.783162", "end": "2020-11-30 04:01:07.869308", "rc": 0, "start": "2020-11-30 04:01:06.086145", "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-764292-3.local] ********************************* task path: /home/jenkins-slave/workspace/nova/899ac83b9d0f4951a4aa913064f8923d/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.35> ESTABLISH WINRM CONNECTION FOR USER: administrator on PORT 5986 TO 10.222.0.35 checking if winrm_host 10.222.0.35 is an IPv6 address EXEC (via pipeline wrapper) changed: [10.222.0.35] => { "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/899ac83b9d0f4951a4aa913064f8923d/cbci/build-ad.yaml:27 <10.222.0.35> ESTABLISH WINRM CONNECTION FOR USER: administrator on PORT 5986 TO 10.222.0.35 checking if winrm_host 10.222.0.35 is an IPv6 address EXEC (via pipeline wrapper) EXEC (via pipeline wrapper) win_reboot: attempting to get system boot time <10.222.0.35> ESTABLISH WINRM CONNECTION FOR USER: administrator on PORT 5986 TO 10.222.0.35 checking if winrm_host 10.222.0.35 is an IPv6 address EXEC (via pipeline wrapper) win_reboot: attempting to get system boot time <10.222.0.35> ESTABLISH WINRM CONNECTION FOR USER: administrator on PORT 5986 TO 10.222.0.35 checking if winrm_host 10.222.0.35 is an IPv6 address EXEC (via pipeline wrapper) win_reboot: attempting to get system boot time <10.222.0.35> ESTABLISH WINRM CONNECTION FOR USER: administrator on PORT 5986 TO 10.222.0.35 checking if winrm_host 10.222.0.35 is an IPv6 address win_reboot: attempting to get system boot time <10.222.0.35> ESTABLISH WINRM CONNECTION FOR USER: administrator on PORT 5986 TO 10.222.0.35 checking if winrm_host 10.222.0.35 is an IPv6 address win_reboot: attempting to get system boot time <10.222.0.35> ESTABLISH WINRM CONNECTION FOR USER: administrator on PORT 5986 TO 10.222.0.35 checking if winrm_host 10.222.0.35 is an IPv6 address win_reboot: attempting to get system boot time <10.222.0.35> ESTABLISH WINRM CONNECTION FOR USER: administrator on PORT 5986 TO 10.222.0.35 checking if winrm_host 10.222.0.35 is an IPv6 address win_reboot: attempting to get system boot time <10.222.0.35> ESTABLISH WINRM CONNECTION FOR USER: administrator on PORT 5986 TO 10.222.0.35 checking if winrm_host 10.222.0.35 is an IPv6 address win_reboot: attempting to get system boot time <10.222.0.35> ESTABLISH WINRM CONNECTION FOR USER: administrator on PORT 5986 TO 10.222.0.35 checking if winrm_host 10.222.0.35 is an IPv6 address EXEC (via pipeline wrapper) <10.222.0.35> ESTABLISH WINRM CONNECTION FOR USER: administrator on PORT 5986 TO 10.222.0.35 checking if winrm_host 10.222.0.35 is an IPv6 address win_reboot: attempting post-reboot test command 'whoami' EXEC (via pipeline wrapper) changed: [10.222.0.35] => { "changed": true, "elapsed": 78, "rebooted": true } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* 10.222.0.35 : ok=5 changed=4 unreachable=0 failed=0