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
29 Oct 2023 09:29:53 +0000 00:12:50.32 nyctea root Ansible 2.15.2 ara 1.6.1 (client), 1.6.1 (server) Python 3.11.4 6 8 849 849 49 1

Task result details

Field Value
changed
True
cmd
virt-customize -a /var/lib/libvirt/images/cdkcluster-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 AAAAB3NzaC1yc2EAAAADAQABAAACAQCmHCDE4QC/pEGfFQ0tmhfWZVsPQemT0N5iz84GRubwhNQsh9x/Rzd08zpdZCcZNEmCtLUkWn9psA9tK97ED4LEThsEr6JmqtTabopXEDkoy8rA/NodGhUEIEg1MBkta5kNI0okIUoNPmPBJ3PSrvYaB9MaB7BF4LzolXGspHo1NmMy+Z0udd56sjYcmoPnMpns4cRZjbrpUiv2HGXmoCDSkdptbeUWUIuxSlei0MFiC6pcXBUOqUf8Ns+km4stlS/S94VFZMvoW3nUTrFWXq91oziQR5hTI2MQFwPa/QIidFzISVn5eIFNDZS1cUWcFnDFp3WFmEziHK6njTWke3I+qTZ/Fy+65pHZwb18BWQINWhfTtACI7u/l8g8kGTJ4dsyhce/tbP0gMgHwAccW/SUkwZGPsuWip4xQffAYBg0KdQbijjDD02okK3v0by8zIHJTrMBHo0/zBdC4USDbLfmpS8YRbL/oIKj3n8B5ceTYKesaJSE6MtWAUxg6DFJm8fi3zq0gC9lXXSRK+KEYPq8OsScPmBcWjYqV0Ba9eP05cPtqALCbRmi4GTU7JQqF1mzF7n2LoZPdmXPWZy0ed+Q0VdL7QMEId6eVDsznlYnErQI+XXYzGeA+y91So0hwu7VWaQ0JthresBLJxtaKG9ngFO4N2fXZFer77J99nW83Q== cdkcluster ansible-controller"      --ssh-inject root:string:"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCmHCDE4QC/pEGfFQ0tmhfWZVsPQemT0N5iz84GRubwhNQsh9x/Rzd08zpdZCcZNEmCtLUkWn9psA9tK97ED4LEThsEr6JmqtTabopXEDkoy8rA/NodGhUEIEg1MBkta5kNI0okIUoNPmPBJ3PSrvYaB9MaB7BF4LzolXGspHo1NmMy+Z0udd56sjYcmoPnMpns4cRZjbrpUiv2HGXmoCDSkdptbeUWUIuxSlei0MFiC6pcXBUOqUf8Ns+km4stlS/S94VFZMvoW3nUTrFWXq91oziQR5hTI2MQFwPa/QIidFzISVn5eIFNDZS1cUWcFnDFp3WFmEziHK6njTWke3I+qTZ/Fy+65pHZwb18BWQINWhfTtACI7u/l8g8kGTJ4dsyhce/tbP0gMgHwAccW/SUkwZGPsuWip4xQffAYBg0KdQbijjDD02okK3v0by8zIHJTrMBHo0/zBdC4USDbLfmpS8YRbL/oIKj3n8B5ceTYKesaJSE6MtWAUxg6DFJm8fi3zq0gC9lXXSRK+KEYPq8OsScPmBcWjYqV0Ba9eP05cPtqALCbRmi4GTU7JQqF1mzF7n2LoZPdmXPWZy0ed+Q0VdL7QMEId6eVDsznlYnErQI+XXYzGeA+y91So0hwu7VWaQ0JthresBLJxtaKG9ngFO4N2fXZFer77J99nW83Q== cdkcluster hypervisor-01"      --ssh-inject root:string:"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCPHQgTo+fmjZAL872LREJ+3KGHOMQ4oMFH8B+VNtkIyxo5IX3mfDypzLB0Ix3hJYyygWDPY1eLwvBn1+trBtmg+hr93wj4SqquG5SrPO6X5cFhMiI2cJHSzwsTLNWfx5xE7JNFxn4eaJUaw6REKMCtqntgqMcAClHq9OpUOtD7AKVqghKl1eCebORC8xXK8pRyukCXQnn0M5v0TIBcp9d1nmyrWVeMoORsbizNNlolYK7ZmfG0bSuD+IewoKMmRjzxXzyhD4BuLzwtMmg/fXFx1BnuFNzUQusJ3qHISfbwYpUTtow2JM3d7RX91B9HJRuEueGuwVERXs/hhGkoQixp0pGvTywjKpYQjb1+0YjMOSqL2jL9eoKkExcV5fhunMa/fzJW3ITI5PVK8K7Mn2f/PHimE8RqQgqPvjbUPNfI9Sgj6hWGzzw7Vp9X28s4LBjYzETBD/MWZj3ACj1gobwHz0OARONKhAh+WRPDNJWOCv+FYok2tY7PeqTsdgxe1DwhNlqDZNuHXMABUVeqGIFob8RaqK4ZEWDz99P7uFcbA3TCwrxZ3TzczOrVhxlUNMyiJTnc2Few501ooLw2KrjZUCRykB7/R4buIAuPyE4sZ2ZJE5PRVmJR10q9KpIwQOVx0y9jRS+02kMNojCs4GjvJy41o4GOPgp3zEyYyXNsOw== cdkcluster cdkcluster-provision"    --hostname controller-01.cdkcluster.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/cdkcluster-controller-01/00-installer-ubuntu-netconfig.yaml:/etc/netplan  --copy-in /tmp/cdkcluster-controller-01/hosts.debian.tmpl:/etc/cloud/templates  --copy-in /tmp/cdkcluster-controller-01/90_dpkg.cfg:/etc/cloud/cloud.cfg.d  --copy-in /tmp/cdkcluster-controller-01/cloud.cfg:/etc/cloud
delta
0:00:12.245860
end
2023-10-29 11:40:13.020728
invocation
{
    "module_args": {
        "_raw_params": "virt-customize -a /var/lib/libvirt/images/cdkcluster-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 AAAAB3NzaC1yc2EAAAADAQABAAACAQCmHCDE4QC/pEGfFQ0tmhfWZVsPQemT0N5iz84GRubwhNQsh9x/Rzd08zpdZCcZNEmCtLUkWn9psA9tK97ED4LEThsEr6JmqtTabopXEDkoy8rA/NodGhUEIEg1MBkta5kNI0okIUoNPmPBJ3PSrvYaB9MaB7BF4LzolXGspHo1NmMy+Z0udd56sjYcmoPnMpns4cRZjbrpUiv2HGXmoCDSkdptbeUWUIuxSlei0MFiC6pcXBUOqUf8Ns+km4stlS/S94VFZMvoW3nUTrFWXq91oziQR5hTI2MQFwPa/QIidFzISVn5eIFNDZS1cUWcFnDFp3WFmEziHK6njTWke3I+qTZ/Fy+65pHZwb18BWQINWhfTtACI7u/l8g8kGTJ4dsyhce/tbP0gMgHwAccW/SUkwZGPsuWip4xQffAYBg0KdQbijjDD02okK3v0by8zIHJTrMBHo0/zBdC4USDbLfmpS8YRbL/oIKj3n8B5ceTYKesaJSE6MtWAUxg6DFJm8fi3zq0gC9lXXSRK+KEYPq8OsScPmBcWjYqV0Ba9eP05cPtqALCbRmi4GTU7JQqF1mzF7n2LoZPdmXPWZy0ed+Q0VdL7QMEId6eVDsznlYnErQI+XXYzGeA+y91So0hwu7VWaQ0JthresBLJxtaKG9ngFO4N2fXZFer77J99nW83Q== cdkcluster ansible-controller\"      --ssh-inject root:string:\"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCmHCDE4QC/pEGfFQ0tmhfWZVsPQemT0N5iz84GRubwhNQsh9x/Rzd08zpdZCcZNEmCtLUkWn9psA9tK97ED4LEThsEr6JmqtTabopXEDkoy8rA/NodGhUEIEg1MBkta5kNI0okIUoNPmPBJ3PSrvYaB9MaB7BF4LzolXGspHo1NmMy+Z0udd56sjYcmoPnMpns4cRZjbrpUiv2HGXmoCDSkdptbeUWUIuxSlei0MFiC6pcXBUOqUf8Ns+km4stlS/S94VFZMvoW3nUTrFWXq91oziQR5hTI2MQFwPa/QIidFzISVn5eIFN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jRS+02kMNojCs4GjvJy41o4GOPgp3zEyYyXNsOw== cdkcluster cdkcluster-provision\"    --hostname controller-01.cdkcluster.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/cdkcluster-controller-01/00-installer-ubuntu-netconfig.yaml:/etc/netplan  --copy-in /tmp/cdkcluster-controller-01/hosts.debian.tmpl:/etc/cloud/templates  --copy-in /tmp/cdkcluster-controller-01/90_dpkg.cfg:/etc/cloud/cloud.cfg.d  --copy-in /tmp/cdkcluster-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-29 11:40:00.774868
stderr

stderr_lines
[]
stdout
[   0.0] Examining the guest ...
[   5.0] Setting a random seed
virt-customize: warning: random seed could not be set for this type of guest
[   5.1] Setting the machine ID in /etc/machine-id
[   5.1] Running: sed -i 's/PermitRootLogin no/PermitRootLogin yes/g' /etc/ssh/sshd_config
[   5.1] Running: sed -i 's/PasswordAuthentication no/PasswordAuthentication yes/g' /etc/ssh/sshd_config
[   5.1] Running: dpkg-reconfigure openssh-server
[   6.6] SSH key inject: root
[   7.7] SSH key inject: root
[   8.7] SSH key inject: root
[   9.7] Setting the hostname: controller-01.cdkcluster.kubeinit.local
[  10.7] Running: useradd -s /bin/bash -u 1000 -p "$(openssl passwd -1 asdfasdf)" toor
[  10.8] Running: echo "toor ALL=(root) NOPASSWD:ALL" > /etc/sudoers.d/toor
[  10.8] Running: mkdir -p /home/toor/.ssh
[  10.9] SSH key inject: toor
[  11.9] Copying: /tmp/cdkcluster-controller-01/00-installer-ubuntu-netconfig.yaml to /etc/netplan
[  11.9] Copying: /tmp/cdkcluster-controller-01/hosts.debian.tmpl to /etc/cloud/templates
[  11.9] Copying: /tmp/cdkcluster-controller-01/90_dpkg.cfg to /etc/cloud/cloud.cfg.d
[  11.9] Copying: /tmp/cdkcluster-controller-01/cloud.cfg to /etc/cloud
[  11.9] SELinux relabelling
[  11.9] Finishing off
stdout_lines
[
    "[   0.0] Examining the guest ...",
    "[   5.0] Setting a random seed",
    "virt-customize: warning: random seed could not be set for this type of guest",
    "[   5.1] Setting the machine ID in /etc/machine-id",
    "[   5.1] Running: sed -i 's/PermitRootLogin no/PermitRootLogin yes/g' /etc/ssh/sshd_config",
    "[   5.1] Running: sed -i 's/PasswordAuthentication no/PasswordAuthentication yes/g' /etc/ssh/sshd_config",
    "[   5.1] Running: dpkg-reconfigure openssh-server",
    "[   6.6] SSH key inject: root",
    "[   7.7] SSH key inject: root",
    "[   8.7] SSH key inject: root",
    "[   9.7] Setting the hostname: controller-01.cdkcluster.kubeinit.local",
    "[  10.7] Running: useradd -s /bin/bash -u 1000 -p \"$(openssl passwd -1 asdfasdf)\" toor",
    "[  10.8] Running: echo \"toor ALL=(root) NOPASSWD:ALL\" > /etc/sudoers.d/toor",
    "[  10.8] Running: mkdir -p /home/toor/.ssh",
    "[  10.9] SSH key inject: toor",
    "[  11.9] Copying: /tmp/cdkcluster-controller-01/00-installer-ubuntu-netconfig.yaml to /etc/netplan",
    "[  11.9] Copying: /tmp/cdkcluster-controller-01/hosts.debian.tmpl to /etc/cloud/templates",
    "[  11.9] Copying: /tmp/cdkcluster-controller-01/90_dpkg.cfg to /etc/cloud/cloud.cfg.d",
    "[  11.9] Copying: /tmp/cdkcluster-controller-01/cloud.cfg to /etc/cloud",
    "[  11.9] SELinux relabelling",
    "[  11.9] Finishing off"
]