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 00:03:04 +0000 00:13:18.30 nyctea root Ansible 2.15.2 ara 1.6.1 (client), 1.6.1 (server) Python 3.11.4 6 6 845 845 49 1

Task result details

Field Value
changed
True
cmd
virt-customize -a /var/lib/libvirt/images/cdkcluster-compute-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 AAAAB3NzaC1yc2EAAAADAQABAAACAQC7y+3i3gSQxBVS8umyCm4nszWKo7J5sHTPetIekRk19tS7LhZA0UjQ4FL+L3lUwERdmJbVLIp98IvgCnCsZB7zVkmTKP0n2SHyZeyeLbviv9Dut/6J6rDKOp2SXHf2Dskyp7DOMyMkHiJLDsBjrNEC/XjeshIfq4tqfVQ++/NufPwrEJ+psOlrrl+IBzFizkHL2F2pdET1zUpdMy95MFM9BBh/1wxj5sI/JutDtddDih7GC00VVZAnPlQXI/mVantgKVm77xfAu7M/md8LLwFNHw1cNdX5/HA36PI4b6tx6hji3EMUWXl9ETZGlNF0AGCOg3OfMBSX6QbXL5oGwikCeH+k97g/hKI9ko65IuxA8LOsPQI80H0c+Je/V60ryqpZK5R+/Xs/Mxi10c9BRM5FgqdKK0hQNG/11NUr8ORSVA5yWoFzlo/r3qwcwJS6vEy5Zcg+vBS1yFDtVj+NojZ9D/RuxYz3d4+rK/8Ab/OsbVFN8He7Te4OfPoCYD/P2C8Efimf6mDmXCAou9zMWgNbOyZOYYHDGLuYbcuqMKFoNv+AxQeaonCZ9jPe50UEeP4g2XVr+CyTxcy/3yCPgT05RNx6yL3fucPwPbQlKTd31IA7i8F8ucQwx5ALZPRTfmvGiMkR+OWgeXXuijm61xqu+m3WR9XGBNrx234AhqUAXw== cdkcluster cdkcluster-provision"    --hostname compute-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-compute-01/00-installer-ubuntu-netconfig.yaml:/etc/netplan  --copy-in /tmp/cdkcluster-compute-01/hosts.debian.tmpl:/etc/cloud/templates  --copy-in /tmp/cdkcluster-compute-01/90_dpkg.cfg:/etc/cloud/cloud.cfg.d  --copy-in /tmp/cdkcluster-compute-01/cloud.cfg:/etc/cloud
delta
0:00:12.287454
end
2023-10-29 02:16:21.159144
invocation
{
    "module_args": {
        "_raw_params": "virt-customize -a /var/lib/libvirt/images/cdkcluster-compute-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/QIidFzISVn5eIF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iMkR+OWgeXXuijm61xqu+m3WR9XGBNrx234AhqUAXw== cdkcluster cdkcluster-provision\"    --hostname compute-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-compute-01/00-installer-ubuntu-netconfig.yaml:/etc/netplan  --copy-in /tmp/cdkcluster-compute-01/hosts.debian.tmpl:/etc/cloud/templates  --copy-in /tmp/cdkcluster-compute-01/90_dpkg.cfg:/etc/cloud/cloud.cfg.d  --copy-in /tmp/cdkcluster-compute-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 02:16:08.871690
stderr

stderr_lines
[]
stdout
[   0.0] Examining the guest ...
[   5.1] 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.2] Running: dpkg-reconfigure openssh-server
[   6.5] SSH key inject: root
[   7.6] SSH key inject: root
[   8.6] SSH key inject: root
[   9.6] Setting the hostname: compute-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.8] SSH key inject: toor
[  11.9] Copying: /tmp/cdkcluster-compute-01/00-installer-ubuntu-netconfig.yaml to /etc/netplan
[  11.9] Copying: /tmp/cdkcluster-compute-01/hosts.debian.tmpl to /etc/cloud/templates
[  11.9] Copying: /tmp/cdkcluster-compute-01/90_dpkg.cfg to /etc/cloud/cloud.cfg.d
[  11.9] Copying: /tmp/cdkcluster-compute-01/cloud.cfg to /etc/cloud
[  11.9] SELinux relabelling
[  12.0] Finishing off
stdout_lines
[
    "[   0.0] Examining the guest ...",
    "[   5.1] 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.2] Running: dpkg-reconfigure openssh-server",
    "[   6.5] SSH key inject: root",
    "[   7.6] SSH key inject: root",
    "[   8.6] SSH key inject: root",
    "[   9.6] Setting the hostname: compute-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.8] SSH key inject: toor",
    "[  11.9] Copying: /tmp/cdkcluster-compute-01/00-installer-ubuntu-netconfig.yaml to /etc/netplan",
    "[  11.9] Copying: /tmp/cdkcluster-compute-01/hosts.debian.tmpl to /etc/cloud/templates",
    "[  11.9] Copying: /tmp/cdkcluster-compute-01/90_dpkg.cfg to /etc/cloud/cloud.cfg.d",
    "[  11.9] Copying: /tmp/cdkcluster-compute-01/cloud.cfg to /etc/cloud",
    "[  11.9] SELinux relabelling",
    "[  12.0] Finishing off"
]