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-02
- 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 20:00:06 +0000
- Ended: 26 Oct 2023 20:00:50 +0000
- Duration: 00:00:44.08
- Tags:
- task_deploy_cluster
Field | Value |
---|---|
changed |
True |
cmd |
virt-customize -a /var/lib/libvirt/images/ekscluster-controller-02.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-02.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-02/ifcfg-eth0:/etc/sysconfig/network-scripts --copy-in /tmp/ekscluster-controller-02/hosts.redhat.tmpl:/etc/cloud/templates --copy-in /tmp/ekscluster-controller-02/cloud.cfg:/etc/cloud --selinux-relabel |
delta |
0:00:43.666529 |
end |
2023-10-26 23:00:50.766825 |
invocation |
{ "module_args": { "_raw_params": "virt-customize -a /var/lib/libvirt/images/ekscluster-controller-02.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-02.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-02/ifcfg-eth0:/etc/sysconfig/network-scripts --copy-in /tmp/ekscluster-controller-02/hosts.redhat.tmpl:/etc/cloud/templates --copy-in /tmp/ekscluster-controller-02/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 23:00:07.100296 |
stderr |
|
stderr_lines |
[]
|
stdout |
[ 0.0] Examining the guest ... [ 5.9] Setting a random seed [ 5.9] Setting the machine ID in /etc/machine-id [ 5.9] Installing packages: python3 [ 21.9] Running: sed -i 's/PasswordAuthentication no/PasswordAuthentication yes/g' /etc/ssh/sshd_config [ 21.9] Running: ssh-keygen -A [ 23.3] Running: sed -i s/^SELINUX=.*$/SELINUX=permissive/g /etc/selinux/config [ 23.4] SSH key inject: root [ 24.8] SSH key inject: root [ 26.0] SSH key inject: root [ 27.3] Setting the hostname: controller-02.ekscluster.kubeinit.local [ 27.3] Running: id -u toor &>/dev/null || /usr/sbin/useradd -u 1000 toor [ 27.4] SSH key inject: toor [ 28.7] Copying: /tmp/ekscluster-controller-02/ifcfg-eth0 to /etc/sysconfig/network-scripts [ 28.7] Copying: /tmp/ekscluster-controller-02/hosts.redhat.tmpl to /etc/cloud/templates [ 28.7] Copying: /tmp/ekscluster-controller-02/cloud.cfg to /etc/cloud [ 28.7] Setting passwords [ 30.1] SELinux relabelling [ 43.4] Finishing off |
stdout_lines |
[ "[ 0.0] Examining the guest ...", "[ 5.9] Setting a random seed", "[ 5.9] Setting the machine ID in /etc/machine-id", "[ 5.9] Installing packages: python3", "[ 21.9] Running: sed -i 's/PasswordAuthentication no/PasswordAuthentication yes/g' /etc/ssh/sshd_config", "[ 21.9] Running: ssh-keygen -A", "[ 23.3] Running: sed -i s/^SELINUX=.*$/SELINUX=permissive/g /etc/selinux/config", "[ 23.4] SSH key inject: root", "[ 24.8] SSH key inject: root", "[ 26.0] SSH key inject: root", "[ 27.3] Setting the hostname: controller-02.ekscluster.kubeinit.local", "[ 27.3] Running: id -u toor &>/dev/null || /usr/sbin/useradd -u 1000 toor", "[ 27.4] SSH key inject: toor", "[ 28.7] Copying: /tmp/ekscluster-controller-02/ifcfg-eth0 to /etc/sysconfig/network-scripts", "[ 28.7] Copying: /tmp/ekscluster-controller-02/hosts.redhat.tmpl to /etc/cloud/templates", "[ 28.7] Copying: /tmp/ekscluster-controller-02/cloud.cfg to /etc/cloud", "[ 28.7] Setting passwords", "[ 30.1] SELinux relabelling", "[ 43.4] Finishing off" ] |