Playbook #1

/root/kubeinit/ci/builds/6mbKNrxD/0/kubeinit/kubeinit/kubeinit-aux/kubeinit/playbook.yml

Report Status CLI Date Duration Controller User Versions Hosts Plays Tasks Results Files Records
31 Oct 2023 08:44:29 +0000 00:45:59.97 nyctea root Ansible 2.15.2 ara 1.6.1 (client), 1.6.1 (server) Python 3.11.4 9 7 1091 1091 53 1

Task result details

Field Value
changed
True
cmd
virt-customize -a /var/lib/libvirt/images/k8scluster-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 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-02.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-02/ifcfg-eth0:/etc/sysconfig/network-scripts  --copy-in /tmp/k8scluster-controller-02/hosts.redhat.tmpl:/etc/cloud/templates  --copy-in /tmp/k8scluster-controller-02/cloud.cfg:/etc/cloud  --selinux-relabel
delta
0:00:43.279163
end
2023-10-31 11:03:14.901192
invocation
{
    "module_args": {
        "_raw_params": "virt-customize -a /var/lib/libvirt/images/k8scluster-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 AAAAB3NzaC1yc2EAAAADAQABAAACAQCSAPzeR/7CgxbpJuUszW6Zw4bgk2meBhCBq7HgEUy/UKiMTEjuDctf9eKmfw0hRN/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JDds8RZlBhp/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-02.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-02/ifcfg-eth0:/etc/sysconfig/network-scripts  --copy-in /tmp/k8scluster-controller-02/hosts.redhat.tmpl:/etc/cloud/templates  --copy-in /tmp/k8scluster-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-31 11:02:31.622029
stderr

stderr_lines
[]
stdout
[   0.0] Examining the guest ...
[   5.8] Setting a random seed
[   5.8] Setting the machine ID in /etc/machine-id
[   5.8] Installing packages: python3
[  21.9] Running: sed -i 's/PasswordAuthentication no/PasswordAuthentication yes/g' /etc/ssh/sshd_config
[  22.0] Running: ssh-keygen -A
[  23.3] Running: sed -i s/^SELINUX=.*$/SELINUX=permissive/g /etc/selinux/config
[  23.3] SSH key inject: root
[  24.7] SSH key inject: root
[  25.9] SSH key inject: root
[  27.2] Setting the hostname: controller-02.k8scluster.kubeinit.local
[  27.2] Running: id -u toor &>/dev/null || /usr/sbin/useradd -u 1000 toor
[  27.3] SSH key inject: toor
[  28.6] Copying: /tmp/k8scluster-controller-02/ifcfg-eth0 to /etc/sysconfig/network-scripts
[  28.6] Copying: /tmp/k8scluster-controller-02/hosts.redhat.tmpl to /etc/cloud/templates
[  28.6] Copying: /tmp/k8scluster-controller-02/cloud.cfg to /etc/cloud
[  28.6] Setting passwords
[  30.0] SELinux relabelling
[  43.0] Finishing off
stdout_lines
[
    "[   0.0] Examining the guest ...",
    "[   5.8] Setting a random seed",
    "[   5.8] Setting the machine ID in /etc/machine-id",
    "[   5.8] Installing packages: python3",
    "[  21.9] Running: sed -i 's/PasswordAuthentication no/PasswordAuthentication yes/g' /etc/ssh/sshd_config",
    "[  22.0] Running: ssh-keygen -A",
    "[  23.3] Running: sed -i s/^SELINUX=.*$/SELINUX=permissive/g /etc/selinux/config",
    "[  23.3] SSH key inject: root",
    "[  24.7] SSH key inject: root",
    "[  25.9] SSH key inject: root",
    "[  27.2] Setting the hostname: controller-02.k8scluster.kubeinit.local",
    "[  27.2] Running: id -u toor &>/dev/null || /usr/sbin/useradd -u 1000 toor",
    "[  27.3] SSH key inject: toor",
    "[  28.6] Copying: /tmp/k8scluster-controller-02/ifcfg-eth0 to /etc/sysconfig/network-scripts",
    "[  28.6] Copying: /tmp/k8scluster-controller-02/hosts.redhat.tmpl to /etc/cloud/templates",
    "[  28.6] Copying: /tmp/k8scluster-controller-02/cloud.cfg to /etc/cloud",
    "[  28.6] Setting passwords",
    "[  30.0] SELinux relabelling",
    "[  43.0] Finishing off"
]