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-03
- 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: 31 Oct 2023 09:10:20 +0000
- Ended: 31 Oct 2023 09:11:05 +0000
- Duration: 00:00:44.33
- Tags:
- task_deploy_cluster
Field | Value |
---|---|
changed |
True |
cmd |
virt-customize -a /var/lib/libvirt/images/k8scluster-controller-03.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 AAAAB3NzaC1yc2EAAAADAQABAAACAQCK7vkzyrNDAupd51J6wJN9dmnudscBWvodGHr77aWFwr+ZUyPBZRKCPV6USb6WL1b2OxB6ibxnMRL0r4wFwYuqlmSprDidv6eDn2OaasDNZNC7IA/b9LO5eVbQEjTqU4uxN4n3cBFxrbtiUYFSR1qgelk+gCNvu2CeWqJqSN34VYxqKSVOoHxEWcfqcc4pft5ARAqmBlAiNkCVpInGIETTBY76NlS5j+tm4qjpFmi/6sdKZdPmqQwQCNMqSmkRVoAG1iPheCFV8mC/yJ51gaP9Z/GoMaV8BoF7E+hbwiEymuT5BPMxpEG1Jgj34FaA57iJGMXWawsrkkiXvWC3Z6mG70+RM4LrhEgNCe13QI2S+SkZRQnleNQDCS/eTcXH5exACQ6t9QcWHP6Rkhs0f2/hz1/Prwdme/GV57qE/s/uXBe/0M8/swstSZSVbSu2EE45fYbxI+k5hVtbQgyasCmLe3Lmi/zO7UeYCp3g9DH4FIk2RPmUbXn2lMui/RP1P2+SQupKNcCaCa7Cr/ghuO90jJZD7GAe0NWsPIXCxwIm96s8Ynilpiow1NDOBS6Q/IwYW7qLCQytJ2iRtYedftMDDZXgDajD3X4/cff5ALB53KeAw5/FrzBQzJt6nTY8S9aycR0KuYfQAQBJsayVhCctTCaJbaS5qTt0ShiilQXKuQ== k8scluster k8scluster-provision" --hostname controller-03.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-03/ifcfg-eth0:/etc/sysconfig/network-scripts --copy-in /tmp/k8scluster-controller-03/hosts.redhat.tmpl:/etc/cloud/templates --copy-in /tmp/k8scluster-controller-03/cloud.cfg:/etc/cloud --selinux-relabel |
delta |
0:00:44.006042 |
end |
2023-10-31 11:11:05.087079 |
invocation |
{ "module_args": { "_raw_params": "virt-customize -a /var/lib/libvirt/images/k8scluster-controller-03.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+32bsrwFn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ynilpiow1NDOBS6Q/IwYW7qLCQytJ2iRtYedftMDDZXgDajD3X4/cff5ALB53KeAw5/FrzBQzJt6nTY8S9aycR0KuYfQAQBJsayVhCctTCaJbaS5qTt0ShiilQXKuQ== k8scluster k8scluster-provision\" --hostname controller-03.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-03/ifcfg-eth0:/etc/sysconfig/network-scripts --copy-in /tmp/k8scluster-controller-03/hosts.redhat.tmpl:/etc/cloud/templates --copy-in /tmp/k8scluster-controller-03/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-31 11:10:21.081037 |
stderr |
|
stderr_lines |
[]
|
stdout |
[ 0.0] Examining the guest ... [ 5.9] Setting a random seed [ 6.0] Setting the machine ID in /etc/machine-id [ 6.0] Installing packages: python3 [ 23.0] Running: sed -i 's/PasswordAuthentication no/PasswordAuthentication yes/g' /etc/ssh/sshd_config [ 23.1] Running: ssh-keygen -A [ 23.9] Running: sed -i s/^SELINUX=.*$/SELINUX=permissive/g /etc/selinux/config [ 23.9] SSH key inject: root [ 25.3] SSH key inject: root [ 26.5] SSH key inject: root [ 27.8] Setting the hostname: controller-03.k8scluster.kubeinit.local [ 27.8] Running: id -u toor &>/dev/null || /usr/sbin/useradd -u 1000 toor [ 27.9] SSH key inject: toor [ 29.2] Copying: /tmp/k8scluster-controller-03/ifcfg-eth0 to /etc/sysconfig/network-scripts [ 29.2] Copying: /tmp/k8scluster-controller-03/hosts.redhat.tmpl to /etc/cloud/templates [ 29.2] Copying: /tmp/k8scluster-controller-03/cloud.cfg to /etc/cloud [ 29.2] Setting passwords [ 30.6] SELinux relabelling [ 43.7] Finishing off |
stdout_lines |
[ "[ 0.0] Examining the guest ...", "[ 5.9] Setting a random seed", "[ 6.0] Setting the machine ID in /etc/machine-id", "[ 6.0] Installing packages: python3", "[ 23.0] Running: sed -i 's/PasswordAuthentication no/PasswordAuthentication yes/g' /etc/ssh/sshd_config", "[ 23.1] Running: ssh-keygen -A", "[ 23.9] Running: sed -i s/^SELINUX=.*$/SELINUX=permissive/g /etc/selinux/config", "[ 23.9] SSH key inject: root", "[ 25.3] SSH key inject: root", "[ 26.5] SSH key inject: root", "[ 27.8] Setting the hostname: controller-03.k8scluster.kubeinit.local", "[ 27.8] Running: id -u toor &>/dev/null || /usr/sbin/useradd -u 1000 toor", "[ 27.9] SSH key inject: toor", "[ 29.2] Copying: /tmp/k8scluster-controller-03/ifcfg-eth0 to /etc/sysconfig/network-scripts", "[ 29.2] Copying: /tmp/k8scluster-controller-03/hosts.redhat.tmpl to /etc/cloud/templates", "[ 29.2] Copying: /tmp/k8scluster-controller-03/cloud.cfg to /etc/cloud", "[ 29.2] Setting passwords", "[ 30.6] SELinux relabelling", "[ 43.7] Finishing off" ] |