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
30 Oct 2023 00:03:26 +0000 00:11:29.57 nyctea root Ansible 2.15.2 ara 1.6.1 (client), 1.6.1 (server) Python 3.11.4 6 6 843 843 49 1

Task result details

Field Value
changed
True
cmd
virt-customize -a /var/lib/libvirt/images/kidcluster-controller-01.qcow2  --run-command "sed -i 's/PermitRootLogin no/PermitRootLogin yes/g' /etc/ssh/sshd_config"  --run-command "sed -i 's/PasswordAuthentication no/PasswordAuthentication yes/g' /etc/ssh/sshd_config"  --run-command "dpkg-reconfigure openssh-server"      --ssh-inject root:string:"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCsfTyS44DWjEoB+6s1W6CxgK86DNvzyZzmP+Adc7wDg2QOWH3PmctTmHieNkehn9PLUUH6W4SHnxuSKqv57+WE6KpZZXijuXpF+iJNSu8xaiwdGw1VJs1qZhcJxU+bvF9IYx+D+adf2IBlOQxq5BOhK/Wz6AaKGrIpWElhRLw9xzWCWV2rTiA+HnDNOSJwvL8LkdB38ESqhTkQECpVtokeHpHHggsikgr6TIYVwTTO+lLHHgE5sKsU7PqdAEhnJLJ8dvaGqxXh9k2PEZ5NaTd03JuWn2YKCw8l/IrafEhKYF6DxT1YZxeykzYVT3JDpadNyzZx2sx8Db+T8uRu5xsEh/kH0rYy6oVqVDMW6+vPPbG+oK95iQaduF9LMwfNmEv0EPn5NvoO8kGigWLZyfIgmtQ0ldUDHctQZ+bvVPLcaZ9kZpG7z7uqkaWHDXpwa9q5xkJy57dM+UNg1Ub1Hfjvxap28UQnqDagXJh4+yae7hfCNQnkOai3BNVe7Ykv6AmmRELo+IcGzZeQmgeiDrAvSv6Ly7RwpjYu5klK3yS9lP58o08YWzylkduZgWToJX6TYziJl8Lny1I2LPppaVtXLc4LubgvhqTclsCgIel/C9WETmHfAidPUcaeAN8JfmQkiJS9RT8zjVJeDwr/r4PiqyvSqrnYYiAJRm31wYXKrw== kidcluster ansible-controller"      --ssh-inject root:string:"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCsfTyS44DWjEoB+6s1W6CxgK86DNvzyZzmP+Adc7wDg2QOWH3PmctTmHieNkehn9PLUUH6W4SHnxuSKqv57+WE6KpZZXijuXpF+iJNSu8xaiwdGw1VJs1qZhcJxU+bvF9IYx+D+adf2IBlOQxq5BOhK/Wz6AaKGrIpWElhRLw9xzWCWV2rTiA+HnDNOSJwvL8LkdB38ESqhTkQECpVtokeHpHHggsikgr6TIYVwTTO+lLHHgE5sKsU7PqdAEhnJLJ8dvaGqxXh9k2PEZ5NaTd03JuWn2YKCw8l/IrafEhKYF6DxT1YZxeykzYVT3JDpadNyzZx2sx8Db+T8uRu5xsEh/kH0rYy6oVqVDMW6+vPPbG+oK95iQaduF9LMwfNmEv0EPn5NvoO8kGigWLZyfIgmtQ0ldUDHctQZ+bvVPLcaZ9kZpG7z7uqkaWHDXpwa9q5xkJy57dM+UNg1Ub1Hfjvxap28UQnqDagXJh4+yae7hfCNQnkOai3BNVe7Ykv6AmmRELo+IcGzZeQmgeiDrAvSv6Ly7RwpjYu5klK3yS9lP58o08YWzylkduZgWToJX6TYziJl8Lny1I2LPppaVtXLc4LubgvhqTclsCgIel/C9WETmHfAidPUcaeAN8JfmQkiJS9RT8zjVJeDwr/r4PiqyvSqrnYYiAJRm31wYXKrw== kidcluster hypervisor-01"      --ssh-inject root:string:"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQC6fQshMixMU0IMk1WgY8WJ+lABQ31C12QblVY0kzC9EjMxIp4fxORR8CeeMoh5HBcOGLi8lqYGLEoZ9lITsnUtJSndV0IE5JXDt/wIOC5/FMaLMY9cRcCMVMCtFxGwNkU6YoyHqp5eyAkmx11F+7YpaBC87zMwfTCKTN06pmaa3nn1dG/q0RpoLdjBnLENDHabjrJzv9ETtfssSYbTeQRdxV686oa1fKTKLAbpJtO/1Cf1dSFltiMW5+P3wX9mtZkk7r+v6Heq1HVXrOha/68w2SoJliA/89IUR71F+QGqGUqaA3aGiQ0fsLBtK2WCCeSbiCq0EPDmgB+nUer3HBgMWPneDyaD/vHVcSE+M52fH4T5Krrf4GRHEJCNG53hWWR/0DBrPDjLK2awsXmPEMccweBR3tYshlf7m16TnIxPaqEu8VpYasGW08tbIhwZQMe0ekzpaxdWGHQ3izns5dubp0uqoiZ4jAqygxJALdup5CVnYFkkbQ0XkUjsEV55pJUQw0jYpCSmiup24lbkhctJcXV/ago8+WV8kO0LN3NiyaqCt8b4rlL2T8jCwlJ4hYN4n3QZyK/9RYSLPjwjapwruVJiixUp2+QrfB1n4O4oPFQWeWt4xlzYfhM2QlQiBidFY+o6dwIM/PItU3brNVxzZdCmiKRlNpu2jKiH0pZpFw== kidcluster kidcluster-provision"    --hostname controller-01.kidcluster.kubeinit.local      --run-command 'useradd -s /bin/bash -u 1000 -p "$(openssl passwd -1 asdfasdf)" toor'    --run-command 'echo "toor ALL=(root) NOPASSWD:ALL" > /etc/sudoers.d/toor'    --run-command 'mkdir -p /home/toor/.ssh'    --ssh-inject toor:file:/home/toor/.ssh/id_rsa.pub    --copy-in /tmp/kidcluster-controller-01/enp1s0:/etc/network/interfaces.d  --copy-in /tmp/kidcluster-controller-01/hosts.debian.tmpl:/etc/cloud/templates  --copy-in /tmp/kidcluster-controller-01/90_dpkg.cfg:/etc/cloud/cloud.cfg.d  --copy-in /tmp/kidcluster-controller-01/cloud.cfg:/etc/cloud
delta
0:00:11.321857
end
2023-10-30 02:13:30.224856
invocation
{
    "module_args": {
        "_raw_params": "virt-customize -a /var/lib/libvirt/images/kidcluster-controller-01.qcow2  --run-command \"sed -i 's/PermitRootLogin no/PermitRootLogin yes/g' /etc/ssh/sshd_config\"  --run-command \"sed -i 's/PasswordAuthentication no/PasswordAuthentication yes/g' /etc/ssh/sshd_config\"  --run-command \"dpkg-reconfigure openssh-server\"      --ssh-inject root:string:\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4xlzYfhM2QlQiBidFY+o6dwIM/PItU3brNVxzZdCmiKRlNpu2jKiH0pZpFw== kidcluster kidcluster-provision\"    --hostname controller-01.kidcluster.kubeinit.local      --run-command 'useradd -s /bin/bash -u 1000 -p \"$(openssl passwd -1 asdfasdf)\" toor'    --run-command 'echo \"toor ALL=(root) NOPASSWD:ALL\" > /etc/sudoers.d/toor'    --run-command 'mkdir -p /home/toor/.ssh'    --ssh-inject toor:file:/home/toor/.ssh/id_rsa.pub    --copy-in /tmp/kidcluster-controller-01/enp1s0:/etc/network/interfaces.d  --copy-in /tmp/kidcluster-controller-01/hosts.debian.tmpl:/etc/cloud/templates  --copy-in /tmp/kidcluster-controller-01/90_dpkg.cfg:/etc/cloud/cloud.cfg.d  --copy-in /tmp/kidcluster-controller-01/cloud.cfg:/etc/cloud\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-30 02:13:18.902999
stderr

stderr_lines
[]
stdout
[   0.0] Examining the guest ...
[   5.2] Setting a random seed
virt-customize: warning: random seed could not be set for this type of guest
[   5.2] Setting the machine ID in /etc/machine-id
[   5.2] Running: sed -i 's/PermitRootLogin no/PermitRootLogin yes/g' /etc/ssh/sshd_config
[   5.2] Running: sed -i 's/PasswordAuthentication no/PasswordAuthentication yes/g' /etc/ssh/sshd_config
[   5.3] Running: dpkg-reconfigure openssh-server
[   6.3] SSH key inject: root
[   7.2] SSH key inject: root
[   8.1] SSH key inject: root
[   9.0] Setting the hostname: controller-01.kidcluster.kubeinit.local
[   9.9] Running: useradd -s /bin/bash -u 1000 -p "$(openssl passwd -1 asdfasdf)" toor
[  10.0] Running: echo "toor ALL=(root) NOPASSWD:ALL" > /etc/sudoers.d/toor
[  10.0] Running: mkdir -p /home/toor/.ssh
[  10.1] SSH key inject: toor
[  10.9] Copying: /tmp/kidcluster-controller-01/enp1s0 to /etc/network/interfaces.d
[  11.0] Copying: /tmp/kidcluster-controller-01/hosts.debian.tmpl to /etc/cloud/templates
[  11.0] Copying: /tmp/kidcluster-controller-01/90_dpkg.cfg to /etc/cloud/cloud.cfg.d
[  11.0] Copying: /tmp/kidcluster-controller-01/cloud.cfg to /etc/cloud
[  11.0] SELinux relabelling
[  11.0] Finishing off
stdout_lines
[
    "[   0.0] Examining the guest ...",
    "[   5.2] Setting a random seed",
    "virt-customize: warning: random seed could not be set for this type of guest",
    "[   5.2] Setting the machine ID in /etc/machine-id",
    "[   5.2] Running: sed -i 's/PermitRootLogin no/PermitRootLogin yes/g' /etc/ssh/sshd_config",
    "[   5.2] Running: sed -i 's/PasswordAuthentication no/PasswordAuthentication yes/g' /etc/ssh/sshd_config",
    "[   5.3] Running: dpkg-reconfigure openssh-server",
    "[   6.3] SSH key inject: root",
    "[   7.2] SSH key inject: root",
    "[   8.1] SSH key inject: root",
    "[   9.0] Setting the hostname: controller-01.kidcluster.kubeinit.local",
    "[   9.9] Running: useradd -s /bin/bash -u 1000 -p \"$(openssl passwd -1 asdfasdf)\" toor",
    "[  10.0] Running: echo \"toor ALL=(root) NOPASSWD:ALL\" > /etc/sudoers.d/toor",
    "[  10.0] Running: mkdir -p /home/toor/.ssh",
    "[  10.1] SSH key inject: toor",
    "[  10.9] Copying: /tmp/kidcluster-controller-01/enp1s0 to /etc/network/interfaces.d",
    "[  11.0] Copying: /tmp/kidcluster-controller-01/hosts.debian.tmpl to /etc/cloud/templates",
    "[  11.0] Copying: /tmp/kidcluster-controller-01/90_dpkg.cfg to /etc/cloud/cloud.cfg.d",
    "[  11.0] Copying: /tmp/kidcluster-controller-01/cloud.cfg to /etc/cloud",
    "[  11.0] SELinux relabelling",
    "[  11.0] Finishing off"
]