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 09:42:29 +0000
- Ended: 29 Oct 2023 09:42:42 +0000
- Duration: 00:00:12.80
- Tags:
- task_deploy_cluster
Field | Value |
---|---|
changed |
True |
cmd |
virt-customize -a /var/lib/libvirt/images/cdkcluster-compute-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 AAAAB3NzaC1yc2EAAAADAQABAAACAQCPHQgTo+fmjZAL872LREJ+3KGHOMQ4oMFH8B+VNtkIyxo5IX3mfDypzLB0Ix3hJYyygWDPY1eLwvBn1+trBtmg+hr93wj4SqquG5SrPO6X5cFhMiI2cJHSzwsTLNWfx5xE7JNFxn4eaJUaw6REKMCtqntgqMcAClHq9OpUOtD7AKVqghKl1eCebORC8xXK8pRyukCXQnn0M5v0TIBcp9d1nmyrWVeMoORsbizNNlolYK7ZmfG0bSuD+IewoKMmRjzxXzyhD4BuLzwtMmg/fXFx1BnuFNzUQusJ3qHISfbwYpUTtow2JM3d7RX91B9HJRuEueGuwVERXs/hhGkoQixp0pGvTywjKpYQjb1+0YjMOSqL2jL9eoKkExcV5fhunMa/fzJW3ITI5PVK8K7Mn2f/PHimE8RqQgqPvjbUPNfI9Sgj6hWGzzw7Vp9X28s4LBjYzETBD/MWZj3ACj1gobwHz0OARONKhAh+WRPDNJWOCv+FYok2tY7PeqTsdgxe1DwhNlqDZNuHXMABUVeqGIFob8RaqK4ZEWDz99P7uFcbA3TCwrxZ3TzczOrVhxlUNMyiJTnc2Few501ooLw2KrjZUCRykB7/R4buIAuPyE4sZ2ZJE5PRVmJR10q9KpIwQOVx0y9jRS+02kMNojCs4GjvJy41o4GOPgp3zEyYyXNsOw== cdkcluster cdkcluster-provision" --hostname compute-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-compute-01/00-installer-ubuntu-netconfig.yaml:/etc/netplan --copy-in /tmp/cdkcluster-compute-01/hosts.debian.tmpl:/etc/cloud/templates --copy-in /tmp/cdkcluster-compute-01/90_dpkg.cfg:/etc/cloud/cloud.cfg.d --copy-in /tmp/cdkcluster-compute-01/cloud.cfg:/etc/cloud |
delta |
0:00:12.454073 |
end |
2023-10-29 11:42:42.173575 |
invocation |
{ "module_args": { "_raw_params": "virt-customize -a /var/lib/libvirt/images/cdkcluster-compute-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/NodGhUEIEg1MBkta5kNI0okIUoNPmPBJ3PSrvYaB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+FYok2tY7PeqTsdgxe1DwhNlqDZNuHXMABUVeqGIFob8RaqK4ZEWDz99P7uFcbA3TCwrxZ3TzczOrVhxlUNMyiJTnc2Few501ooLw2KrjZUCRykB7/R4buIAuPyE4sZ2ZJE5PRVmJR10q9KpIwQOVx0y9jRS+02kMNojCs4GjvJy41o4GOPgp3zEyYyXNsOw== cdkcluster cdkcluster-provision\" --hostname compute-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-compute-01/00-installer-ubuntu-netconfig.yaml:/etc/netplan --copy-in /tmp/cdkcluster-compute-01/hosts.debian.tmpl:/etc/cloud/templates --copy-in /tmp/cdkcluster-compute-01/90_dpkg.cfg:/etc/cloud/cloud.cfg.d --copy-in /tmp/cdkcluster-compute-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 11:42:29.719502 |
stderr |
|
stderr_lines |
[]
|
stdout |
[ 0.0] Examining the guest ... [ 5.0] Setting a random seed virt-customize: warning: random seed could not be set for this type of guest [ 5.1] Setting the machine ID in /etc/machine-id [ 5.1] Running: sed -i 's/PermitRootLogin no/PermitRootLogin yes/g' /etc/ssh/sshd_config [ 5.1] Running: sed -i 's/PasswordAuthentication no/PasswordAuthentication yes/g' /etc/ssh/sshd_config [ 5.1] Running: dpkg-reconfigure openssh-server [ 6.6] SSH key inject: root [ 7.8] SSH key inject: root [ 8.8] SSH key inject: root [ 9.9] Setting the hostname: compute-01.cdkcluster.kubeinit.local [ 10.9] Running: useradd -s /bin/bash -u 1000 -p "$(openssl passwd -1 asdfasdf)" toor [ 11.0] Running: echo "toor ALL=(root) NOPASSWD:ALL" > /etc/sudoers.d/toor [ 11.0] Running: mkdir -p /home/toor/.ssh [ 11.0] SSH key inject: toor [ 12.1] Copying: /tmp/cdkcluster-compute-01/00-installer-ubuntu-netconfig.yaml to /etc/netplan [ 12.1] Copying: /tmp/cdkcluster-compute-01/hosts.debian.tmpl to /etc/cloud/templates [ 12.1] Copying: /tmp/cdkcluster-compute-01/90_dpkg.cfg to /etc/cloud/cloud.cfg.d [ 12.1] Copying: /tmp/cdkcluster-compute-01/cloud.cfg to /etc/cloud [ 12.1] SELinux relabelling [ 12.1] Finishing off |
stdout_lines |
[ "[ 0.0] Examining the guest ...", "[ 5.0] Setting a random seed", "virt-customize: warning: random seed could not be set for this type of guest", "[ 5.1] Setting the machine ID in /etc/machine-id", "[ 5.1] Running: sed -i 's/PermitRootLogin no/PermitRootLogin yes/g' /etc/ssh/sshd_config", "[ 5.1] Running: sed -i 's/PasswordAuthentication no/PasswordAuthentication yes/g' /etc/ssh/sshd_config", "[ 5.1] Running: dpkg-reconfigure openssh-server", "[ 6.6] SSH key inject: root", "[ 7.8] SSH key inject: root", "[ 8.8] SSH key inject: root", "[ 9.9] Setting the hostname: compute-01.cdkcluster.kubeinit.local", "[ 10.9] Running: useradd -s /bin/bash -u 1000 -p \"$(openssl passwd -1 asdfasdf)\" toor", "[ 11.0] Running: echo \"toor ALL=(root) NOPASSWD:ALL\" > /etc/sudoers.d/toor", "[ 11.0] Running: mkdir -p /home/toor/.ssh", "[ 11.0] SSH key inject: toor", "[ 12.1] Copying: /tmp/cdkcluster-compute-01/00-installer-ubuntu-netconfig.yaml to /etc/netplan", "[ 12.1] Copying: /tmp/cdkcluster-compute-01/hosts.debian.tmpl to /etc/cloud/templates", "[ 12.1] Copying: /tmp/cdkcluster-compute-01/90_dpkg.cfg to /etc/cloud/cloud.cfg.d", "[ 12.1] Copying: /tmp/cdkcluster-compute-01/cloud.cfg to /etc/cloud", "[ 12.1] SELinux relabelling", "[ 12.1] Finishing off" ] |