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 in controller-01
- Action: ansible.builtin.shell
- Path: /root/.ansible/collections/ansible_collections/kubeinit/kubeinit/roles/kubeinit_libvirt/tasks/deploy_centos_guest.yml:53
- Host: localhost ( task delegated to hypervisor-01 )
- Status: changed
- Started: 26 Oct 2023 19:51:34 +0000
- Ended: 26 Oct 2023 19:52:21 +0000
- Duration: 00:00:47.22
- Tags:
- task_deploy_cluster
Field | Value |
---|---|
changed |
True |
cmd |
virt-customize -a /var/lib/libvirt/images/ekscluster-controller-01.qcow2 --install python3 --run-command "sed -i 's/PasswordAuthentication no/PasswordAuthentication yes/g' /etc/ssh/sshd_config" --run-command "ssh-keygen -A" --run-command "sed -i s/^SELINUX=.*$/SELINUX=permissive/g /etc/selinux/config" --ssh-inject root:string:"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDlDwe2Il94cQ4BCTjJKradnBPJTUQ+9lKoTjFnzLChWOZslv4v0e8p9BepjpAgeRJVtXx+PvH+4/iWWYsAmFtFLSs7ut5nRaXyCQUv9++2cB0uu9mvGlOYB7obGhPpopez/QYyVC1wg7MHgRyou/oAPst8nRD0F/zDIfpmA4x6/UwHOqJ+/Fly4fPkBLS8Ib0YLRI+yMOvBFp7kGbejzv9Tg7OWO0VUaybi/Y1Mp4U1d0pUA4uqfdn6fs6KKzVbRnnh0pKI8p86xsT3eqX7ByjqWZ2MtA+VGN0ZgUgTTHD6KvCPBqMW/YsDdLw5LlaPRCYmJN6ig1CdnuOH6ErYxlsGLbho7Noq4dh+pKukv1l848CtXktX/tPy5KjqyvfneKiZlenGq6wzKEip0S2Y9ChBTqLHccabifwSM0fpICYjDUsQJcjdZPBM0ZaJAKjvxlY+LM/OkCSoI7+bP/CHFXrfuvNjmRtgYqkLNVHOjUgfM3DIK4F8oZXu4c2mI39JtHwPZoYhW3cTVjN/SqYMPMNZF6U3jSMwDToxaT751XuByOFvu+eOT6VgX4FoGcju+PjzYZW8kESrL5QmEzdAXFyMR4EmqOlDWmNTifnCAnUrCA85FuI/4w0eLXgsTibf+YIOduQfY4A78Xr0r8Jdrda14dakSji2d+FM3q1kNFL4w== ekscluster ansible-controller" --ssh-inject root:string:"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDlDwe2Il94cQ4BCTjJKradnBPJTUQ+9lKoTjFnzLChWOZslv4v0e8p9BepjpAgeRJVtXx+PvH+4/iWWYsAmFtFLSs7ut5nRaXyCQUv9++2cB0uu9mvGlOYB7obGhPpopez/QYyVC1wg7MHgRyou/oAPst8nRD0F/zDIfpmA4x6/UwHOqJ+/Fly4fPkBLS8Ib0YLRI+yMOvBFp7kGbejzv9Tg7OWO0VUaybi/Y1Mp4U1d0pUA4uqfdn6fs6KKzVbRnnh0pKI8p86xsT3eqX7ByjqWZ2MtA+VGN0ZgUgTTHD6KvCPBqMW/YsDdLw5LlaPRCYmJN6ig1CdnuOH6ErYxlsGLbho7Noq4dh+pKukv1l848CtXktX/tPy5KjqyvfneKiZlenGq6wzKEip0S2Y9ChBTqLHccabifwSM0fpICYjDUsQJcjdZPBM0ZaJAKjvxlY+LM/OkCSoI7+bP/CHFXrfuvNjmRtgYqkLNVHOjUgfM3DIK4F8oZXu4c2mI39JtHwPZoYhW3cTVjN/SqYMPMNZF6U3jSMwDToxaT751XuByOFvu+eOT6VgX4FoGcju+PjzYZW8kESrL5QmEzdAXFyMR4EmqOlDWmNTifnCAnUrCA85FuI/4w0eLXgsTibf+YIOduQfY4A78Xr0r8Jdrda14dakSji2d+FM3q1kNFL4w== ekscluster hypervisor-01" --ssh-inject root:string:"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDLYUhyloKqZj2FMvO/bQ6rAjQK6mcWpUVyVv7UWQM9XauGSN4TbuETF0xS0wPq7mWaF8Dj4d0DEpAXI7DGRZSuS0Ti9OUWraLSq+ZBbv+2dhkD5wUoo7kyMVr/r+VvvGtzbcFr0vI+b5v2tZlKSYpDrbr17mqX876zRY3Wahqdskivf6i73Nc7nRB8KM23XPVHRs/Ij0kx8M6wog0xw+U4vGkToL7Iwx7wJwKktNmA3cC2BhsrCbLvkrMKLLyTHpECaYaCREZEHTJoO4c++P/GdZZne+5v2fOX8krtyBTsia0VfO4ZLQpxFGt2PLN6weSGEet8vYI4LYS1781ev+7tEYp0VnU80hSkvIvVSowP4bOzS454cJjE0Q35ldr8wPQv3EBxxfXlOGhezLmTTQyB5/ltVh6Ktfm5YXJm6NBWKgiW+RqxQrep697jSEyn1eY0tw3vf9NMet3K2phsKdRAa2aCIj9TdPnRaBsCA4bNssObWUzk/74R7BHw41sz1tDR6csD2C2xAH1ox4XuCThf1JorQNAxWIC88fM3pqvE3Kj+wawSHAUKHUHfvwuGu/ZcAO/6nEEHVFhib5CpsEptNXigFOLO421on4aqre2FK/vHjZy+kipWrP8v8sy2nkspmqJ00qnWTXrElGW3weO31E0txnCdggLNEZBzodZkvQ== ekscluster ekscluster-provision" --hostname controller-01.ekscluster.kubeinit.local --run-command 'id -u toor &>/dev/null || /usr/sbin/useradd -u 1000 toor' --ssh-inject toor:file:/home/toor/.ssh/id_rsa.pub --root-password password:asdfasdf --copy-in /tmp/ekscluster-controller-01/ifcfg-eth0:/etc/sysconfig/network-scripts --copy-in /tmp/ekscluster-controller-01/hosts.redhat.tmpl:/etc/cloud/templates --copy-in /tmp/ekscluster-controller-01/cloud.cfg:/etc/cloud --selinux-relabel |
delta |
0:00:46.877334 |
end |
2023-10-26 22:52:21.900404 |
invocation |
{ "module_args": { "_raw_params": "virt-customize -a /var/lib/libvirt/images/ekscluster-controller-01.qcow2 --install python3 --run-command \"sed -i 's/PasswordAuthentication no/PasswordAuthentication yes/g' /etc/ssh/sshd_config\" --run-command \"ssh-keygen -A\" --run-command \"sed -i s/^SELINUX=.*$/SELINUX=permissive/g /etc/selinux/config\" --ssh-inject root:string:\"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDlDwe2Il94cQ4BCTjJKradnBPJTUQ+9lKoTjFnzLChWOZslv4v0e8p9BepjpAgeRJVtXx+PvH+4/iWWYsAmFtFLSs7ut5nRaXyCQUv9++2cB0uu9mvGlOYB7obGhPpopez/QYyVC1wg7MHgRyou/oAPst8nRD0F/zDIfpmA4x6/UwHOqJ+/Fly4fPkBLS8Ib0YLRI+yMOvBFp7kGbejzv9Tg7OWO0VUaybi/Y1Mp4U1d0pUA4uqfdn6fs6KKzVbRnnh0pKI8p86xsT3eqX7ByjqWZ2MtA+VGN0ZgUgTTHD6KvCPBqMW/YsDdLw5LlaPRCYmJN6ig1CdnuOH6ErYxlsGLbho7Noq4dh+pKukv1l848CtXktX/tPy5KjqyvfneKiZlenGq6wzKEip0S2Y9ChBTqLHccabifwSM0fpICYjDUsQJcjdZPBM0ZaJAKjvxlY+LM/OkCSoI7+bP/CHFXrfuvNjmRtgYqkLNVHOjUgfM3DIK4F8oZXu4c2mI39JtHwPZoYhW3cTVjN/SqYMPMNZF6U3jSMwDToxaT751XuByOFvu+eOT6VgX4FoGcju+PjzYZW8kESrL5QmEzdAXFyMR4EmqOlDWmNTifnCAnUrCA85FuI/4w0eLXgsTibf+YIOduQfY4A78Xr0r8Jdrda14dakSji2d+FM3q1kNFL4w== ekscluster ansible-controller\" --ssh-inject root:string:\"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDlDwe2Il94cQ4BCTjJKradnBPJTUQ+9lKoTjFnzLChWOZslv4v0e8p9BepjpAgeRJVtXx+PvH+4/iWWYsAmFtFLSs7ut5nRaXyCQUv9++2cB0uu9mvGlOYB7obGhPpopez/QYyVC1wg7MHgRyou/oAPst8nRD0F/zDIfpmA4x6/UwHOqJ+/Fly4fPkBLS8Ib0YLRI+yMOvBFp7kGbejzv9Tg7OWO0VUaybi/Y1Mp4U1d0pUA4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/ZcAO/6nEEHVFhib5CpsEptNXigFOLO421on4aqre2FK/vHjZy+kipWrP8v8sy2nkspmqJ00qnWTXrElGW3weO31E0txnCdggLNEZBzodZkvQ== ekscluster ekscluster-provision\" --hostname controller-01.ekscluster.kubeinit.local --run-command 'id -u toor &>/dev/null || /usr/sbin/useradd -u 1000 toor' --ssh-inject toor:file:/home/toor/.ssh/id_rsa.pub --root-password password:asdfasdf --copy-in /tmp/ekscluster-controller-01/ifcfg-eth0:/etc/sysconfig/network-scripts --copy-in /tmp/ekscluster-controller-01/hosts.redhat.tmpl:/etc/cloud/templates --copy-in /tmp/ekscluster-controller-01/cloud.cfg:/etc/cloud --selinux-relabel\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-26 22:51:35.023070 |
stderr |
|
stderr_lines |
[]
|
stdout |
[ 0.0] Examining the guest ... [ 6.8] Setting a random seed [ 6.9] Setting the machine ID in /etc/machine-id [ 6.9] Installing packages: python3 [ 25.3] Running: sed -i 's/PasswordAuthentication no/PasswordAuthentication yes/g' /etc/ssh/sshd_config [ 25.3] Running: ssh-keygen -A [ 26.8] Running: sed -i s/^SELINUX=.*$/SELINUX=permissive/g /etc/selinux/config [ 26.8] SSH key inject: root [ 28.2] SSH key inject: root [ 29.5] SSH key inject: root [ 30.7] Setting the hostname: controller-01.ekscluster.kubeinit.local [ 30.8] Running: id -u toor &>/dev/null || /usr/sbin/useradd -u 1000 toor [ 30.9] SSH key inject: toor [ 32.1] Copying: /tmp/ekscluster-controller-01/ifcfg-eth0 to /etc/sysconfig/network-scripts [ 32.1] Copying: /tmp/ekscluster-controller-01/hosts.redhat.tmpl to /etc/cloud/templates [ 32.1] Copying: /tmp/ekscluster-controller-01/cloud.cfg to /etc/cloud [ 32.2] Setting passwords [ 33.5] SELinux relabelling [ 46.6] Finishing off |
stdout_lines |
[ "[ 0.0] Examining the guest ...", "[ 6.8] Setting a random seed", "[ 6.9] Setting the machine ID in /etc/machine-id", "[ 6.9] Installing packages: python3", "[ 25.3] Running: sed -i 's/PasswordAuthentication no/PasswordAuthentication yes/g' /etc/ssh/sshd_config", "[ 25.3] Running: ssh-keygen -A", "[ 26.8] Running: sed -i s/^SELINUX=.*$/SELINUX=permissive/g /etc/selinux/config", "[ 26.8] SSH key inject: root", "[ 28.2] SSH key inject: root", "[ 29.5] SSH key inject: root", "[ 30.7] Setting the hostname: controller-01.ekscluster.kubeinit.local", "[ 30.8] Running: id -u toor &>/dev/null || /usr/sbin/useradd -u 1000 toor", "[ 30.9] SSH key inject: toor", "[ 32.1] Copying: /tmp/ekscluster-controller-01/ifcfg-eth0 to /etc/sysconfig/network-scripts", "[ 32.1] Copying: /tmp/ekscluster-controller-01/hosts.redhat.tmpl to /etc/cloud/templates", "[ 32.1] Copying: /tmp/ekscluster-controller-01/cloud.cfg to /etc/cloud", "[ 32.2] Setting passwords", "[ 33.5] SELinux relabelling", "[ 46.6] Finishing off" ] |