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: 31 Oct 2023 08:54:48 +0000
- Ended: 31 Oct 2023 08:55:34 +0000
- Duration: 00:00:45.30
- 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 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-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:44.955618 |
end |
2023-10-31 10:55:34.186373 |
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+32bsrwFn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ynilpiow1NDOBS6Q/IwYW7qLCQytJ2iRtYedftMDDZXgDajD3X4/cff5ALB53KeAw5/FrzBQzJt6nTY8S9aycR0KuYfQAQBJsayVhCctTCaJbaS5qTt0ShiilQXKuQ== 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-31 10:54:49.230755 |
stderr |
|
stderr_lines |
[]
|
stdout |
[ 0.0] Examining the guest ... [ 6.9] Setting a random seed [ 6.9] Setting the machine ID in /etc/machine-id [ 6.9] Installing packages: python3 [ 24.2] Running: sed -i 's/PasswordAuthentication no/PasswordAuthentication yes/g' /etc/ssh/sshd_config [ 24.2] Running: ssh-keygen -A [ 24.6] Running: sed -i s/^SELINUX=.*$/SELINUX=permissive/g /etc/selinux/config [ 24.6] SSH key inject: root [ 26.0] SSH key inject: root [ 27.3] SSH key inject: root [ 28.6] Setting the hostname: controller-01.k8scluster.kubeinit.local [ 28.6] Running: id -u toor &>/dev/null || /usr/sbin/useradd -u 1000 toor [ 28.7] SSH key inject: toor [ 30.0] Copying: /tmp/k8scluster-controller-01/ifcfg-eth0 to /etc/sysconfig/network-scripts [ 30.0] Copying: /tmp/k8scluster-controller-01/hosts.redhat.tmpl to /etc/cloud/templates [ 30.0] Copying: /tmp/k8scluster-controller-01/cloud.cfg to /etc/cloud [ 30.0] Setting passwords [ 31.4] SELinux relabelling [ 44.7] Finishing off |
stdout_lines |
[ "[ 0.0] Examining the guest ...", "[ 6.9] Setting a random seed", "[ 6.9] Setting the machine ID in /etc/machine-id", "[ 6.9] Installing packages: python3", "[ 24.2] Running: sed -i 's/PasswordAuthentication no/PasswordAuthentication yes/g' /etc/ssh/sshd_config", "[ 24.2] Running: ssh-keygen -A", "[ 24.6] Running: sed -i s/^SELINUX=.*$/SELINUX=permissive/g /etc/selinux/config", "[ 24.6] SSH key inject: root", "[ 26.0] SSH key inject: root", "[ 27.3] SSH key inject: root", "[ 28.6] Setting the hostname: controller-01.k8scluster.kubeinit.local", "[ 28.6] Running: id -u toor &>/dev/null || /usr/sbin/useradd -u 1000 toor", "[ 28.7] SSH key inject: toor", "[ 30.0] Copying: /tmp/k8scluster-controller-01/ifcfg-eth0 to /etc/sysconfig/network-scripts", "[ 30.0] Copying: /tmp/k8scluster-controller-01/hosts.redhat.tmpl to /etc/cloud/templates", "[ 30.0] Copying: /tmp/k8scluster-controller-01/cloud.cfg to /etc/cloud", "[ 30.0] Setting passwords", "[ 31.4] SELinux relabelling", "[ 44.7] Finishing off" ] |