Playbook #1 |
/root/kubeinit/ci/builds/bsU8uCNn/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_debian_guest.yml:57
- Host: localhost ( task delegated to hypervisor-01 )
- Status: changed
- Started: 05 May 2024 07:12:51 +0000
- Ended: 05 May 2024 07:13:03 +0000
- Duration: 00:00:12.48
- Tags:
- task_deploy_cluster
Field | Value |
---|---|
changed |
True |
cmd |
virt-customize -a /var/lib/libvirt/images/kidcluster-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 AAAAB3NzaC1yc2EAAAADAQABAAACAQDG0CEcWmpw8YdRTS3dep6T4bnk/GBotSGT0BW6kcsqk2N5NEutHngyIEOTE8Vmiwz4T05kwpRFco1nzj1/04z3bNNmIit2SkQQ8N9oWnEx1FUsq4IzftSRdjBJxh1LLZ19v97jpkpQFkrFCz9wYYYK/J9H0mvdaoLGOCVu3HRvK1z7kdthFb9z1nopQwSiwcoItADpBUMFgDa5rPByMeXyhoRiGgWNtQipT8WK+y38quR1BiCksQjOZj0p8Z9mum3p/WdenOsIv+PKRrh18eAFL4C6T/y9510e2VxRAmIWIpbLysVYo/vocusUYNGr/AY5kWsm6U5cysnz5gPWbHzLmnibeMJkOq9/IxHL1G6l57elIz0nnN9Wt/A96BPh2W+tzMEd/b7rpKcT0lNraNjsjJr5TcbZfrF7yIKeO4HK2GTCDiwmpD1l0/vYvbAHTweI3P+AC4HYw7+R12nrbB5KZ83pGFivKNi++RXs6dLQQ7ZV7iVuMiHgQZ0Q67YZzZ+0KgXeORbeVs2pxObdemDnKGUY1w9QkLT3wBpvuUhiwM4hZgA5OXLwWtRL1ntXIZ2Ezr0HZY4/oGuL8Ih1xtjNuD1y9mXqR3p+muE8HBsLznkJ78PLvsKF5ti8tPztq502p0GAaC2mn+QUySaQ+0jhwFPW8okS9bnuidw/Tkye6Q== kidcluster ansible-controller" --ssh-inject root:string:"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDG0CEcWmpw8YdRTS3dep6T4bnk/GBotSGT0BW6kcsqk2N5NEutHngyIEOTE8Vmiwz4T05kwpRFco1nzj1/04z3bNNmIit2SkQQ8N9oWnEx1FUsq4IzftSRdjBJxh1LLZ19v97jpkpQFkrFCz9wYYYK/J9H0mvdaoLGOCVu3HRvK1z7kdthFb9z1nopQwSiwcoItADpBUMFgDa5rPByMeXyhoRiGgWNtQipT8WK+y38quR1BiCksQjOZj0p8Z9mum3p/WdenOsIv+PKRrh18eAFL4C6T/y9510e2VxRAmIWIpbLysVYo/vocusUYNGr/AY5kWsm6U5cysnz5gPWbHzLmnibeMJkOq9/IxHL1G6l57elIz0nnN9Wt/A96BPh2W+tzMEd/b7rpKcT0lNraNjsjJr5TcbZfrF7yIKeO4HK2GTCDiwmpD1l0/vYvbAHTweI3P+AC4HYw7+R12nrbB5KZ83pGFivKNi++RXs6dLQQ7ZV7iVuMiHgQZ0Q67YZzZ+0KgXeORbeVs2pxObdemDnKGUY1w9QkLT3wBpvuUhiwM4hZgA5OXLwWtRL1ntXIZ2Ezr0HZY4/oGuL8Ih1xtjNuD1y9mXqR3p+muE8HBsLznkJ78PLvsKF5ti8tPztq502p0GAaC2mn+QUySaQ+0jhwFPW8okS9bnuidw/Tkye6Q== kidcluster hypervisor-01" --ssh-inject root:string:"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQD0x34QIcQbzOUbYuG1t8mIx6dqoYF00CtuUnacsJN5vXr7Mjz9pluUvbl0mOEv0GzyXE+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Cc6PuzS+sba1teQNsU3qMB/89xu/6NISrhCB9wrDbfFxOXeOKIuu6X+DONAIV850Bi1+XkPIDT0zbaJhpgdG0n0vGQ3qHxm/GyEzEeGI/W3/u7NReX4OBfiq06JPtBCVD/af5QuzTxkLt3Z2fJL0+/YyciYYncIJ09rhrfoXTdu24o/Cli+3V3qlQC0lSg4r9Iaqy1sWILiu0ZFGzWUsDY1OJ5bv4wIpXAc/4y8AFniWoyb254n6zmFBbLnOjaVYS9m+OCRSx7CPsfpZHHlHnFN4XKW9LShUGgfmI8QGDzQ== kidcluster kidcluster-provision" --hostname controller-01.kidcluster.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/kidcluster-controller-01/enp1s0:/etc/network/interfaces.d --copy-in /tmp/kidcluster-controller-01/hosts.debian.tmpl:/etc/cloud/templates --copy-in /tmp/kidcluster-controller-01/90_dpkg.cfg:/etc/cloud/cloud.cfg.d --copy-in /tmp/kidcluster-controller-01/cloud.cfg:/etc/cloud |
delta |
0:00:12.160810 |
end |
2024-05-05 10:13:03.542246 |
invocation |
{ "module_args": { "_raw_params": "virt-customize -a /var/lib/libvirt/images/kidcluster-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 AAAAB3NzaC1yc2EAAAADAQABAAACAQDG0CEcWmpw8YdRTS3dep6T4bnk/GBotSGT0BW6kcsqk2N5NEutHngyIEOTE8Vmiwz4T05kwpRFco1nzj1/04z3bNNmIit2SkQQ8N9oWnEx1FUsq4IzftSRdjBJ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0QMXpnG2T4Mj39DYgNI0NdVDDU989stGZj9NzVB+ILwQ5JKYDaHRKgsmRPIgj3jWb6usFbjY2Endnx0VxbtrCrBWYmGO3ainTfUCR1iPoSFWhGcZbNm09KQ5BlKxzwjhc7tbEQ8TtEFVQ38sP5JYuUzWcGAHw/mHkuYXDL7EXJftEgS1L5qkdFH5LtdllEh/9OWmDxOrLMJGOr0SUJeXsm0V6kY9NfdyX6NONlCSF2Xm442OXmt149wDcoinOct9ZWb73vJwha8Ap8Nwyx98A7YpoFfhWYfY2Cv8LgQ6R766bBujMf7oRgoaW3nVg7NZGaXeYE2o62ZO0Yme1ap9Kp0uEG/hW8d3p6fGlhn+S53Cc6PuzS+sba1teQNsU3qMB/89xu/6NISrhCB9wrDbfFxOXeOKIuu6X+DONAIV850Bi1+XkPIDT0zbaJhpgdG0n0vGQ3qHxm/GyEzEeGI/W3/u7NReX4OBfiq06JPtBCVD/af5QuzTxkLt3Z2fJL0+/YyciYYncIJ09rhrfoXTdu24o/Cli+3V3qlQC0lSg4r9Iaqy1sWILiu0ZFGzWUsDY1OJ5bv4wIpXAc/4y8AFniWoyb254n6zmFBbLnOjaVYS9m+OCRSx7CPsfpZHHlHnFN4XKW9LShUGgfmI8QGDzQ== kidcluster kidcluster-provision\" --hostname controller-01.kidcluster.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/kidcluster-controller-01/enp1s0:/etc/network/interfaces.d --copy-in /tmp/kidcluster-controller-01/hosts.debian.tmpl:/etc/cloud/templates --copy-in /tmp/kidcluster-controller-01/90_dpkg.cfg:/etc/cloud/cloud.cfg.d --copy-in /tmp/kidcluster-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 |
2024-05-05 10:12:51.381436 |
stderr |
|
stderr_lines |
[]
|
stdout |
[ 0.0] Examining the guest ... [ 5.4] Setting a random seed virt-customize: warning: random seed could not be set for this type of guest [ 5.4] Setting the machine ID in /etc/machine-id [ 5.4] Running: sed -i 's/PermitRootLogin no/PermitRootLogin yes/g' /etc/ssh/sshd_config [ 5.4] Running: sed -i 's/PasswordAuthentication no/PasswordAuthentication yes/g' /etc/ssh/sshd_config [ 5.5] Running: dpkg-reconfigure openssh-server [ 6.3] SSH key inject: root [ 7.2] SSH key inject: root [ 8.1] SSH key inject: root [ 9.0] SSH key inject: root [ 9.8] Setting the hostname: controller-01.kidcluster.kubeinit.local [ 10.7] Running: useradd -s /bin/bash -u 1000 -p "$(openssl passwd -1 asdfasdf)" toor [ 10.8] Running: echo "toor ALL=(root) NOPASSWD:ALL" > /etc/sudoers.d/toor [ 10.9] Running: mkdir -p /home/toor/.ssh [ 10.9] SSH key inject: toor [ 11.8] Copying: /tmp/kidcluster-controller-01/enp1s0 to /etc/network/interfaces.d [ 11.8] Copying: /tmp/kidcluster-controller-01/hosts.debian.tmpl to /etc/cloud/templates [ 11.8] Copying: /tmp/kidcluster-controller-01/90_dpkg.cfg to /etc/cloud/cloud.cfg.d [ 11.8] Copying: /tmp/kidcluster-controller-01/cloud.cfg to /etc/cloud [ 11.8] SELinux relabelling [ 11.9] Finishing off |
stdout_lines |
[ "[ 0.0] Examining the guest ...", "[ 5.4] Setting a random seed", "virt-customize: warning: random seed could not be set for this type of guest", "[ 5.4] Setting the machine ID in /etc/machine-id", "[ 5.4] Running: sed -i 's/PermitRootLogin no/PermitRootLogin yes/g' /etc/ssh/sshd_config", "[ 5.4] Running: sed -i 's/PasswordAuthentication no/PasswordAuthentication yes/g' /etc/ssh/sshd_config", "[ 5.5] Running: dpkg-reconfigure openssh-server", "[ 6.3] SSH key inject: root", "[ 7.2] SSH key inject: root", "[ 8.1] SSH key inject: root", "[ 9.0] SSH key inject: root", "[ 9.8] Setting the hostname: controller-01.kidcluster.kubeinit.local", "[ 10.7] Running: useradd -s /bin/bash -u 1000 -p \"$(openssl passwd -1 asdfasdf)\" toor", "[ 10.8] Running: echo \"toor ALL=(root) NOPASSWD:ALL\" > /etc/sudoers.d/toor", "[ 10.9] Running: mkdir -p /home/toor/.ssh", "[ 10.9] SSH key inject: toor", "[ 11.8] Copying: /tmp/kidcluster-controller-01/enp1s0 to /etc/network/interfaces.d", "[ 11.8] Copying: /tmp/kidcluster-controller-01/hosts.debian.tmpl to /etc/cloud/templates", "[ 11.8] Copying: /tmp/kidcluster-controller-01/90_dpkg.cfg to /etc/cloud/cloud.cfg.d", "[ 11.8] Copying: /tmp/kidcluster-controller-01/cloud.cfg to /etc/cloud", "[ 11.8] SELinux relabelling", "[ 11.9] Finishing off" ] |