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: 29 Oct 2023 00:41:40 +0000
- Ended: 29 Oct 2023 00:42:23 +0000
- Duration: 00:00:42.92
- Tags:
- task_deploy_cluster
Field | Value |
---|---|
changed |
True |
cmd |
virt-customize -a /var/lib/libvirt/images/k8scluster-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 AAAAB3NzaC1yc2EAAAADAQABAAACAQCSAPzeR/7CgxbpJuUszW6Zw4bgk2meBhCBq7HgEUy/UKiMTEjuDctf9eKmfw0hRN/Ypjc+SYRKl0OMj8x8B/rlV0rrZ3A8NVfKoFIjIrrJ/fqyG8Jd0PsDiO3bV3fFbYgYVr2r2MrwkunudD3EYYaazGJa+BkdET3Jy+XmqtR5GjejbbSjKriHdH3kZJEx4+3jRfZQuFRo4J8gNR1APRSfP/J1e6+32bsrwFnpF2AcXquMcHM0+pFVKu0Tnn/kUSmv4TYjrRteRjw0Vp8se5hOfrf2EiFKbQtG1ENqg29JVoR1saw+RFui04J5DBbE3OCEpycd8HHcnxniInq/i+tnQrM+rTnrev7SbGG/7rmuXsDZC8CVcDy4uUw4hNyv5WsfJDds8RZlBhp/n/8h0aEfVD0S0SAObvoXFzGCF911tDkhtteeMTtUAWxODX/saquqbTL+oV7TrkpH+furb0rkrK/P578LPHtnEKWgdJqXH+fB+PmhaSLcc/MHLXWkxVc21a4y4B2aEeo9ZzEEaPN9tK5ooWne3eDxh7l7XpRBM4QzUymYmVpyxQ7MU5jcXA6cA2wa+xAQh/dSS1eMl4S/SmAsq9kL7AHkcOJaFygWhTSwAaFc9zIZzrMOJ5SoCoh4yyhi8xg8ylWddTKl50kd95u0RwZMt8Dapk44lrK9TQ== k8scluster ansible-controller" --ssh-inject root:string:"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCSAPzeR/7CgxbpJuUszW6Zw4bgk2meBhCBq7HgEUy/UKiMTEjuDctf9eKmfw0hRN/Ypjc+SYRKl0OMj8x8B/rlV0rrZ3A8NVfKoFIjIrrJ/fqyG8Jd0PsDiO3bV3fFbYgYVr2r2MrwkunudD3EYYaazGJa+BkdET3Jy+XmqtR5GjejbbSjKriHdH3kZJEx4+3jRfZQuFRo4J8gNR1APRSfP/J1e6+32bsrwFnpF2AcXquMcHM0+pFVKu0Tnn/kUSmv4TYjrRteRjw0Vp8se5hOfrf2EiFKbQtG1ENqg29JVoR1saw+RFui04J5DBbE3OCEpycd8HHcnxniInq/i+tnQrM+rTnrev7SbGG/7rmuXsDZC8CVcDy4uUw4hNyv5WsfJDds8RZlBhp/n/8h0aEfVD0S0SAObvoXFzGCF911tDkhtteeMTtUAWxODX/saquqbTL+oV7TrkpH+furb0rkrK/P578LPHtnEKWgdJqXH+fB+PmhaSLcc/MHLXWkxVc21a4y4B2aEeo9ZzEEaPN9tK5ooWne3eDxh7l7XpRBM4QzUymYmVpyxQ7MU5jcXA6cA2wa+xAQh/dSS1eMl4S/SmAsq9kL7AHkcOJaFygWhTSwAaFc9zIZzrMOJ5SoCoh4yyhi8xg8ylWddTKl50kd95u0RwZMt8Dapk44lrK9TQ== k8scluster hypervisor-01" --ssh-inject root:string:"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCqKxzYhWFORYgqHORkLB9DPLs7T2rUWA8pculNRsAFDiwMwscDFJDhyalrhYnUOPfw2i9GjKCEfkULVOBx5volfhn2H4aioldJggoO9vyth56B8MXt8ovwVk2BTh/q6VeaG6quAO1wkBOSYcQBBjH3ydZ8Bph0quqcR+bfZbfEqEOyBiqk3hUl+lBvS+Uzq/MsMGoZQSy/Ah3ys4socwsdApLeU+qfyGGqs3tSlO08OdEhx2AOhMw7lMQMALo1QUXKtuoqX24HXweFRJvoWvjuXBkSavxaWvFfyo0H9U1w+P/5ZN3tSz/u+NlP+sJU0H85vnKY4lRTDCF/R8O3uOiZW4RKRXkSiNFOkh5Wm0bf1Ng0s5RUK6rr/4YMid8MFgfpNVIXI0f5WOjnPkOVjdT1s0F5WIaPpFjfISQGX2mj0BXYqrn4MQNnwOomHQ1tgnjqzO3A7rOB1AF2UF9Gid0NczRiGoeZRuoFx0uPPv9Y2MRudl2oO+cQHJjMaF2CrkxxMrFF+G/pYImwEIHw1/FNbZQmgCA1XDJi2AfQI6jkqE7hnUdWU8xLYj73dD5dRprXCNXpxIAZaUnN4+2kC+FnlejJsTgnwIDupq6exR7cS5UXRzkrAUfmuoObe5q2Si8hiO33Ue8J3cruDwYtRpl+m71a9YPGeeDY5Wdds2ap2Q== k8scluster k8scluster-provision" --hostname controller-01.k8scluster.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/k8scluster-controller-01/ifcfg-eth0:/etc/sysconfig/network-scripts --copy-in /tmp/k8scluster-controller-01/hosts.redhat.tmpl:/etc/cloud/templates --copy-in /tmp/k8scluster-controller-01/cloud.cfg:/etc/cloud --selinux-relabel |
delta |
0:00:42.594556 |
end |
2023-10-29 02:42:23.641307 |
invocation |
{ "module_args": { "_raw_params": "virt-customize -a /var/lib/libvirt/images/k8scluster-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 AAAAB3NzaC1yc2EAAAADAQABAAACAQCSAPzeR/7CgxbpJuUszW6Zw4bgk2meBhCBq7HgEUy/UKiMTEjuDctf9eKmfw0hRN/Ypjc+SYRKl0OMj8x8B/rlV0rrZ3A8NVfKoFIjIrrJ/fqyG8Jd0PsDiO3bV3fFbYgYVr2r2MrwkunudD3EYYaazGJa+BkdET3Jy+XmqtR5GjejbbSjKriHdH3kZJEx4+3jRfZQuFRo4J8gNR1APRSfP/J1e6+32bsrwFnpF2AcXquMcHM0+pFVKu0Tnn/kUSmv4TYjrRteRjw0Vp8se5hOfrf2EiFKbQtG1ENqg29JVoR1saw+RFui04J5DBbE3OCEpycd8HHcnxniInq/i+tnQrM+rTnrev7SbGG/7rmuXsDZC8CVcDy4uUw4hNyv5WsfJDds8RZlBhp/n/8h0aEfVD0S0SAObvoXFzGCF911tDkhtteeMTtUAWxODX/saquqbTL+oV7TrkpH+furb0rkrK/P578LPHtnEKWgdJqXH+fB+PmhaSLcc/MHLXWkxVc21a4y4B2aEeo9ZzEEaPN9tK5ooWne3eDxh7l7XpRBM4QzUymYmVpyxQ7MU5jcXA6cA2wa+xAQh/dSS1eMl4S/SmAsq9kL7AHkcOJaFygWhTSwAaFc9zIZzrMOJ5SoCoh4yyhi8xg8ylWddTKl50kd95u0RwZMt8Dapk44lrK9TQ== k8scluster ansible-controller\" --ssh-inject root:string:\"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCSAPzeR/7CgxbpJuUszW6Zw4bgk2meBhCBq7HgEUy/UKiMTEjuDctf9eKmfw0hRN/Ypjc+SYRKl0OMj8x8B/rlV0rrZ3A8NVfKoFIjIrrJ/fqyG8Jd0PsDiO3bV3fFbYgYVr2r2MrwkunudD3EYYaazGJa+BkdET3Jy+XmqtR5GjejbbSjKriHdH3kZJEx4+3jRfZQuFRo4J8gNR1APRSfP/J1e6+32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QI6jkqE7hnUdWU8xLYj73dD5dRprXCNXpxIAZaUnN4+2kC+FnlejJsTgnwIDupq6exR7cS5UXRzkrAUfmuoObe5q2Si8hiO33Ue8J3cruDwYtRpl+m71a9YPGeeDY5Wdds2ap2Q== k8scluster k8scluster-provision\" --hostname controller-01.k8scluster.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/k8scluster-controller-01/ifcfg-eth0:/etc/sysconfig/network-scripts --copy-in /tmp/k8scluster-controller-01/hosts.redhat.tmpl:/etc/cloud/templates --copy-in /tmp/k8scluster-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-29 02:41:41.046751 |
stderr |
|
stderr_lines |
[]
|
stdout |
[ 0.0] Examining the guest ... [ 5.8] Setting a random seed [ 5.9] Setting the machine ID in /etc/machine-id [ 5.9] Installing packages: python3 [ 22.2] Running: sed -i 's/PasswordAuthentication no/PasswordAuthentication yes/g' /etc/ssh/sshd_config [ 22.2] Running: ssh-keygen -A [ 22.5] Running: sed -i s/^SELINUX=.*$/SELINUX=permissive/g /etc/selinux/config [ 22.6] SSH key inject: root [ 23.9] SSH key inject: root [ 25.2] SSH key inject: root [ 26.5] Setting the hostname: controller-01.k8scluster.kubeinit.local [ 26.5] Running: id -u toor &>/dev/null || /usr/sbin/useradd -u 1000 toor [ 26.6] SSH key inject: toor [ 27.9] Copying: /tmp/k8scluster-controller-01/ifcfg-eth0 to /etc/sysconfig/network-scripts [ 27.9] Copying: /tmp/k8scluster-controller-01/hosts.redhat.tmpl to /etc/cloud/templates [ 27.9] Copying: /tmp/k8scluster-controller-01/cloud.cfg to /etc/cloud [ 27.9] Setting passwords [ 29.2] SELinux relabelling [ 42.3] Finishing off |
stdout_lines |
[ "[ 0.0] Examining the guest ...", "[ 5.8] Setting a random seed", "[ 5.9] Setting the machine ID in /etc/machine-id", "[ 5.9] Installing packages: python3", "[ 22.2] Running: sed -i 's/PasswordAuthentication no/PasswordAuthentication yes/g' /etc/ssh/sshd_config", "[ 22.2] Running: ssh-keygen -A", "[ 22.5] Running: sed -i s/^SELINUX=.*$/SELINUX=permissive/g /etc/selinux/config", "[ 22.6] SSH key inject: root", "[ 23.9] SSH key inject: root", "[ 25.2] SSH key inject: root", "[ 26.5] Setting the hostname: controller-01.k8scluster.kubeinit.local", "[ 26.5] Running: id -u toor &>/dev/null || /usr/sbin/useradd -u 1000 toor", "[ 26.6] SSH key inject: toor", "[ 27.9] Copying: /tmp/k8scluster-controller-01/ifcfg-eth0 to /etc/sysconfig/network-scripts", "[ 27.9] Copying: /tmp/k8scluster-controller-01/hosts.redhat.tmpl to /etc/cloud/templates", "[ 27.9] Copying: /tmp/k8scluster-controller-01/cloud.cfg to /etc/cloud", "[ 27.9] Setting passwords", "[ 29.2] SELinux relabelling", "[ 42.3] Finishing off" ] |