Playbook #1 |
/root/kubeinit/ci/builds/6mbKNrxD/0/kubeinit/kubeinit/kubeinit-aux/kubeinit/playbook.yml |
Task result details
- Play: Run the deployment on the target infrastructure (OpenStack/libvirt hypervisors)
- Task: kubeinit.kubeinit.kubeinit_libvirt : Inject virt-customize assets
- Action: ansible.builtin.shell
- Path: /root/.ansible/collections/ansible_collections/kubeinit/kubeinit/roles/kubeinit_libvirt/tasks/deploy_ubuntu_guest.yml:57
- Host: localhost ( task delegated to hypervisor-01 )
- Status: changed
- Started: 29 Oct 2023 00:13:43 +0000
- Ended: 29 Oct 2023 00:13:56 +0000
- Duration: 00:00:13.02
- Tags:
- task_deploy_cluster
Field | Value |
---|---|
changed |
True |
cmd |
virt-customize -a /var/lib/libvirt/images/cdkcluster-controller-01.qcow2 --run-command "sed -i 's/PermitRootLogin no/PermitRootLogin yes/g' /etc/ssh/sshd_config" --run-command "sed -i 's/PasswordAuthentication no/PasswordAuthentication yes/g' /etc/ssh/sshd_config" --run-command "dpkg-reconfigure openssh-server" --ssh-inject root:string:"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCmHCDE4QC/pEGfFQ0tmhfWZVsPQemT0N5iz84GRubwhNQsh9x/Rzd08zpdZCcZNEmCtLUkWn9psA9tK97ED4LEThsEr6JmqtTabopXEDkoy8rA/NodGhUEIEg1MBkta5kNI0okIUoNPmPBJ3PSrvYaB9MaB7BF4LzolXGspHo1NmMy+Z0udd56sjYcmoPnMpns4cRZjbrpUiv2HGXmoCDSkdptbeUWUIuxSlei0MFiC6pcXBUOqUf8Ns+km4stlS/S94VFZMvoW3nUTrFWXq91oziQR5hTI2MQFwPa/QIidFzISVn5eIFNDZS1cUWcFnDFp3WFmEziHK6njTWke3I+qTZ/Fy+65pHZwb18BWQINWhfTtACI7u/l8g8kGTJ4dsyhce/tbP0gMgHwAccW/SUkwZGPsuWip4xQffAYBg0KdQbijjDD02okK3v0by8zIHJTrMBHo0/zBdC4USDbLfmpS8YRbL/oIKj3n8B5ceTYKesaJSE6MtWAUxg6DFJm8fi3zq0gC9lXXSRK+KEYPq8OsScPmBcWjYqV0Ba9eP05cPtqALCbRmi4GTU7JQqF1mzF7n2LoZPdmXPWZy0ed+Q0VdL7QMEId6eVDsznlYnErQI+XXYzGeA+y91So0hwu7VWaQ0JthresBLJxtaKG9ngFO4N2fXZFer77J99nW83Q== cdkcluster ansible-controller" --ssh-inject root:string:"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCmHCDE4QC/pEGfFQ0tmhfWZVsPQemT0N5iz84GRubwhNQsh9x/Rzd08zpdZCcZNEmCtLUkWn9psA9tK97ED4LEThsEr6JmqtTabopXEDkoy8rA/NodGhUEIEg1MBkta5kNI0okIUoNPmPBJ3PSrvYaB9MaB7BF4LzolXGspHo1NmMy+Z0udd56sjYcmoPnMpns4cRZjbrpUiv2HGXmoCDSkdptbeUWUIuxSlei0MFiC6pcXBUOqUf8Ns+km4stlS/S94VFZMvoW3nUTrFWXq91oziQR5hTI2MQFwPa/QIidFzISVn5eIFNDZS1cUWcFnDFp3WFmEziHK6njTWke3I+qTZ/Fy+65pHZwb18BWQINWhfTtACI7u/l8g8kGTJ4dsyhce/tbP0gMgHwAccW/SUkwZGPsuWip4xQffAYBg0KdQbijjDD02okK3v0by8zIHJTrMBHo0/zBdC4USDbLfmpS8YRbL/oIKj3n8B5ceTYKesaJSE6MtWAUxg6DFJm8fi3zq0gC9lXXSRK+KEYPq8OsScPmBcWjYqV0Ba9eP05cPtqALCbRmi4GTU7JQqF1mzF7n2LoZPdmXPWZy0ed+Q0VdL7QMEId6eVDsznlYnErQI+XXYzGeA+y91So0hwu7VWaQ0JthresBLJxtaKG9ngFO4N2fXZFer77J99nW83Q== cdkcluster hypervisor-01" --ssh-inject root:string:"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQC7y+3i3gSQxBVS8umyCm4nszWKo7J5sHTPetIekRk19tS7LhZA0UjQ4FL+L3lUwERdmJbVLIp98IvgCnCsZB7zVkmTKP0n2SHyZeyeLbviv9Dut/6J6rDKOp2SXHf2Dskyp7DOMyMkHiJLDsBjrNEC/XjeshIfq4tqfVQ++/NufPwrEJ+psOlrrl+IBzFizkHL2F2pdET1zUpdMy95MFM9BBh/1wxj5sI/JutDtddDih7GC00VVZAnPlQXI/mVantgKVm77xfAu7M/md8LLwFNHw1cNdX5/HA36PI4b6tx6hji3EMUWXl9ETZGlNF0AGCOg3OfMBSX6QbXL5oGwikCeH+k97g/hKI9ko65IuxA8LOsPQI80H0c+Je/V60ryqpZK5R+/Xs/Mxi10c9BRM5FgqdKK0hQNG/11NUr8ORSVA5yWoFzlo/r3qwcwJS6vEy5Zcg+vBS1yFDtVj+NojZ9D/RuxYz3d4+rK/8Ab/OsbVFN8He7Te4OfPoCYD/P2C8Efimf6mDmXCAou9zMWgNbOyZOYYHDGLuYbcuqMKFoNv+AxQeaonCZ9jPe50UEeP4g2XVr+CyTxcy/3yCPgT05RNx6yL3fucPwPbQlKTd31IA7i8F8ucQwx5ALZPRTfmvGiMkR+OWgeXXuijm61xqu+m3WR9XGBNrx234AhqUAXw== cdkcluster cdkcluster-provision" --hostname controller-01.cdkcluster.kubeinit.local --run-command 'useradd -s /bin/bash -u 1000 -p "$(openssl passwd -1 asdfasdf)" toor' --run-command 'echo "toor ALL=(root) NOPASSWD:ALL" > /etc/sudoers.d/toor' --run-command 'mkdir -p /home/toor/.ssh' --ssh-inject toor:file:/home/toor/.ssh/id_rsa.pub --copy-in /tmp/cdkcluster-controller-01/00-installer-ubuntu-netconfig.yaml:/etc/netplan --copy-in /tmp/cdkcluster-controller-01/hosts.debian.tmpl:/etc/cloud/templates --copy-in /tmp/cdkcluster-controller-01/90_dpkg.cfg:/etc/cloud/cloud.cfg.d --copy-in /tmp/cdkcluster-controller-01/cloud.cfg:/etc/cloud |
delta |
0:00:12.676139 |
end |
2023-10-29 02:13:56.462197 |
invocation |
{ "module_args": { "_raw_params": "virt-customize -a /var/lib/libvirt/images/cdkcluster-controller-01.qcow2 --run-command \"sed -i 's/PermitRootLogin no/PermitRootLogin yes/g' /etc/ssh/sshd_config\" --run-command \"sed -i 's/PasswordAuthentication no/PasswordAuthentication yes/g' /etc/ssh/sshd_config\" --run-command \"dpkg-reconfigure openssh-server\" --ssh-inject root:string:\"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCmHCDE4QC/pEGfFQ0tmhfWZVsPQemT0N5iz84GRubwhNQsh9x/Rzd08zpdZCcZNEmCtLUkWn9psA9tK97ED4LEThsEr6JmqtTabopXEDkoy8rA/NodGhUEIEg1MBkta5kNI0okIUoNPmPBJ3PSrvYaB9MaB7BF4LzolXGspHo1NmMy+Z0udd56sjYcmoPnMpns4cRZjbrpUiv2HGXmoCDSkdptbeUWUIuxSlei0MFiC6pcXBUOqUf8Ns+km4stlS/S94VFZMvoW3nUTrFWXq91oziQR5hTI2MQFwPa/QIidFzISVn5eIFNDZS1cUWcFnDFp3WFmEziHK6njTWke3I+qTZ/Fy+65pHZwb18BWQINWhfTtACI7u/l8g8kGTJ4dsyhce/tbP0gMgHwAccW/SUkwZGPsuWip4xQffAYBg0KdQbijjDD02okK3v0by8zIHJTrMBHo0/zBdC4USDbLfmpS8YRbL/oIKj3n8B5ceTYKesaJSE6MtWAUxg6DFJm8fi3zq0gC9lXXSRK+KEYPq8OsScPmBcWjYqV0Ba9eP05cPtqALCbRmi4GTU7JQqF1mzF7n2LoZPdmXPWZy0ed+Q0VdL7QMEId6eVDsznlYnErQI+XXYzGeA+y91So0hwu7VWaQ0JthresBLJxtaKG9ngFO4N2fXZFer77J99nW83Q== cdkcluster ansible-controller\" --ssh-inject root:string:\"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCmHCDE4QC/pEGfFQ0tmhfWZVsPQemT0N5iz84GRubwhNQsh9x/Rzd08zpdZCcZNEmCtLUkWn9psA9tK97ED4LEThsEr6JmqtTabopXEDkoy8rA/NodGhUEIEg1MBkta5kNI0okIUoNPmPBJ3PSrvYa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sbVFN8He7Te4OfPoCYD/P2C8Efimf6mDmXCAou9zMWgNbOyZOYYHDGLuYbcuqMKFoNv+AxQeaonCZ9jPe50UEeP4g2XVr+CyTxcy/3yCPgT05RNx6yL3fucPwPbQlKTd31IA7i8F8ucQwx5ALZPRTfmvGiMkR+OWgeXXuijm61xqu+m3WR9XGBNrx234AhqUAXw== cdkcluster cdkcluster-provision\" --hostname controller-01.cdkcluster.kubeinit.local --run-command 'useradd -s /bin/bash -u 1000 -p \"$(openssl passwd -1 asdfasdf)\" toor' --run-command 'echo \"toor ALL=(root) NOPASSWD:ALL\" > /etc/sudoers.d/toor' --run-command 'mkdir -p /home/toor/.ssh' --ssh-inject toor:file:/home/toor/.ssh/id_rsa.pub --copy-in /tmp/cdkcluster-controller-01/00-installer-ubuntu-netconfig.yaml:/etc/netplan --copy-in /tmp/cdkcluster-controller-01/hosts.debian.tmpl:/etc/cloud/templates --copy-in /tmp/cdkcluster-controller-01/90_dpkg.cfg:/etc/cloud/cloud.cfg.d --copy-in /tmp/cdkcluster-controller-01/cloud.cfg:/etc/cloud\n", "_uses_shell": true, "argv": null, "chdir": null, "creates": null, "executable": "/bin/bash", "removes": null, "stdin": null, "stdin_add_newline": true, "strip_empty_ends": true } } |
msg |
|
rc |
0 |
start |
2023-10-29 02:13:43.786058 |
stderr |
|
stderr_lines |
[]
|
stdout |
[ 0.0] Examining the guest ... [ 5.2] Setting a random seed virt-customize: warning: random seed could not be set for this type of guest [ 5.2] Setting the machine ID in /etc/machine-id [ 5.2] Running: sed -i 's/PermitRootLogin no/PermitRootLogin yes/g' /etc/ssh/sshd_config [ 5.3] Running: sed -i 's/PasswordAuthentication no/PasswordAuthentication yes/g' /etc/ssh/sshd_config [ 5.3] Running: dpkg-reconfigure openssh-server [ 6.9] SSH key inject: root [ 8.1] SSH key inject: root [ 9.1] SSH key inject: root [ 10.1] Setting the hostname: controller-01.cdkcluster.kubeinit.local [ 11.1] Running: useradd -s /bin/bash -u 1000 -p "$(openssl passwd -1 asdfasdf)" toor [ 11.2] Running: echo "toor ALL=(root) NOPASSWD:ALL" > /etc/sudoers.d/toor [ 11.2] Running: mkdir -p /home/toor/.ssh [ 11.3] SSH key inject: toor [ 12.3] Copying: /tmp/cdkcluster-controller-01/00-installer-ubuntu-netconfig.yaml to /etc/netplan [ 12.3] Copying: /tmp/cdkcluster-controller-01/hosts.debian.tmpl to /etc/cloud/templates [ 12.3] Copying: /tmp/cdkcluster-controller-01/90_dpkg.cfg to /etc/cloud/cloud.cfg.d [ 12.3] Copying: /tmp/cdkcluster-controller-01/cloud.cfg to /etc/cloud [ 12.3] SELinux relabelling [ 12.4] Finishing off |
stdout_lines |
[ "[ 0.0] Examining the guest ...", "[ 5.2] Setting a random seed", "virt-customize: warning: random seed could not be set for this type of guest", "[ 5.2] Setting the machine ID in /etc/machine-id", "[ 5.2] Running: sed -i 's/PermitRootLogin no/PermitRootLogin yes/g' /etc/ssh/sshd_config", "[ 5.3] Running: sed -i 's/PasswordAuthentication no/PasswordAuthentication yes/g' /etc/ssh/sshd_config", "[ 5.3] Running: dpkg-reconfigure openssh-server", "[ 6.9] SSH key inject: root", "[ 8.1] SSH key inject: root", "[ 9.1] SSH key inject: root", "[ 10.1] Setting the hostname: controller-01.cdkcluster.kubeinit.local", "[ 11.1] Running: useradd -s /bin/bash -u 1000 -p \"$(openssl passwd -1 asdfasdf)\" toor", "[ 11.2] Running: echo \"toor ALL=(root) NOPASSWD:ALL\" > /etc/sudoers.d/toor", "[ 11.2] Running: mkdir -p /home/toor/.ssh", "[ 11.3] SSH key inject: toor", "[ 12.3] Copying: /tmp/cdkcluster-controller-01/00-installer-ubuntu-netconfig.yaml to /etc/netplan", "[ 12.3] Copying: /tmp/cdkcluster-controller-01/hosts.debian.tmpl to /etc/cloud/templates", "[ 12.3] Copying: /tmp/cdkcluster-controller-01/90_dpkg.cfg to /etc/cloud/cloud.cfg.d", "[ 12.3] Copying: /tmp/cdkcluster-controller-01/cloud.cfg to /etc/cloud", "[ 12.3] SELinux relabelling", "[ 12.4] Finishing off" ] |