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
23 Oct 2023 16:02:14 +0000 00:22:08.95 nyctea root Ansible 2.15.2 ara 1.6.1 (client), 1.6.1 (server) Python 3.11.4 6 6 874 874 53 1

Task result details

Field Value
changed
True
cmd
virt-customize -a /var/lib/libvirt/images/rkecluster-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 AAAAB3NzaC1yc2EAAAADAQABAAACAQCqWL3KKJ+ttS+pUbNO9XuZW0GbEVbrpCc4r51mLePF7NnpB9ULVyphMyvCxuzxk9NUb3M9k58/P/GTdm2mjqfNQ+5lzXomuL8uPwNzTGytvhTRFDfNTM9RC2q+jD7WH79JhhyG2iOmYK9fbFBAgOioexNoMVhCAQVGxZpxOq2Wv9hz7zoISioPCkVjZuaAq6rJh7eRy+AUysbvMJwKi3aeRHkt/zte7LJHqu2K3efaoNTNEUAoT70iR7AlaOvmQqr2ZqVIbbdIszP6hdHtBnxny00V0ErXqAAWZSQ3BPpKxPiDU62P9Dfsz0C6HG4fF5aVQ8wgSFmVIr8NP1uPGJ4ir+g7lP+fL9luJkiDDjudSHCu+PQTf2DqvnMsW4iABu/7n8G5anW+G/1onk/NpvOEomgBtSmU/Zarfc587rKpmLkycFVtpqCkmN6BadBh5iPqqxGveaSZnP+7VEcu46ue7ioR+Wip8+M7fc2xTb/aOkJREPc0xYbS2X2x7ymGjfRlAQl/rcNZ+wM0rtvK0a+jm8EEe113/Sw3LWz/OVxeBbS3Hj5seSZk7df5q3cHL4C/jGX3yS1m04APpLrkLpf4vBttX5nwW47VdZT1YhZUJjEonpSj/U6CYPW0eSriftHNKAzAflz8ErdDL1Ybo5FWVUSU2SXq0zGPh4O4B33YRQ== rkecluster ansible-controller"      --ssh-inject root:string:"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCqWL3KKJ+ttS+pUbNO9XuZW0GbEVbrpCc4r51mLePF7NnpB9ULVyphMyvCxuzxk9NUb3M9k58/P/GTdm2mjqfNQ+5lzXomuL8uPwNzTGytvhTRFDfNTM9RC2q+jD7WH79JhhyG2iOmYK9fbFBAgOioexNoMVhCAQVGxZpxOq2Wv9hz7zoISioPCkVjZuaAq6rJh7eRy+AUysbvMJwKi3aeRHkt/zte7LJHqu2K3efaoNTNEUAoT70iR7AlaOvmQqr2ZqVIbbdIszP6hdHtBnxny00V0ErXqAAWZSQ3BPpKxPiDU62P9Dfsz0C6HG4fF5aVQ8wgSFmVIr8NP1uPGJ4ir+g7lP+fL9luJkiDDjudSHCu+PQTf2DqvnMsW4iABu/7n8G5anW+G/1onk/NpvOEomgBtSmU/Zarfc587rKpmLkycFVtpqCkmN6BadBh5iPqqxGveaSZnP+7VEcu46ue7ioR+Wip8+M7fc2xTb/aOkJREPc0xYbS2X2x7ymGjfRlAQl/rcNZ+wM0rtvK0a+jm8EEe113/Sw3LWz/OVxeBbS3Hj5seSZk7df5q3cHL4C/jGX3yS1m04APpLrkLpf4vBttX5nwW47VdZT1YhZUJjEonpSj/U6CYPW0eSriftHNKAzAflz8ErdDL1Ybo5FWVUSU2SXq0zGPh4O4B33YRQ== rkecluster hypervisor-01"      --ssh-inject root:string:"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCkAwXYraHx9uQcq2LXHUpJpsxiE8byicZ4gVakBRTGEnkV6a3p+4/ClP60Ra/XyCNy7uuN2rUsJhXkadOPmb0D+2gvbE04amQHhBHXPD6YlPWRgo9SLEKn1tuGHBoTWEIxM1+CaR41TOVdTUGLqSc04lncte4O2J9p0B9C2MWb4hAv9xfBmY/CHGZ+kANTpmsNd12nU1eeEnSvC7wx+PxnEUQA3mnjahYe121837duTDHkyJCxwyR8InnkqRIAVoV37pJ2ePVJHwzq9LUmFcrwqjmf7tDXD0UmyNR1q0fD+lb4R7xY1Cde6vGSLjlP8U31KRl7Moaq4S2B4xMpTVNTtS7egu/Zzl1iHeJti94+zH/5reXxdOgw8UjZUZe1kyoAHzgBykXls8EkQSRXwL+CxTfjiGFjIa6u9FJEnzqRYDi/qtUkoyldv1utFv858l1BhVb/0SBLzZzDOGSO5//jJRa8DFyLA0UnxGrrenL1VcfjQAAxRNNB3Fdgua7t56GUdRhQfkt8eQrGRtoe8fsRmCVX2Mi7BkckNApCANRnGxhr1i7cC25p8vdY9mCtj9W2uZGE8Nnjsu60S1kRtvmGzKpBpWE0GNWnvvbNp9iDqA/28ciUKhdRZ1Hwq3AttHS8fwuz4KtOM6u73GpH96V4ZrFysY0CbpYdLbn6EKh/cQ== rkecluster rkecluster-provision"    --hostname controller-01.rkecluster.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/rkecluster-controller-01/00-installer-ubuntu-netconfig.yaml:/etc/netplan  --copy-in /tmp/rkecluster-controller-01/hosts.debian.tmpl:/etc/cloud/templates  --copy-in /tmp/rkecluster-controller-01/90_dpkg.cfg:/etc/cloud/cloud.cfg.d  --copy-in /tmp/rkecluster-controller-01/cloud.cfg:/etc/cloud
delta
0:00:12.864999
end
2023-10-23 19:18:01.193199
invocation
{
    "module_args": {
        "_raw_params": "virt-customize -a /var/lib/libvirt/images/rkecluster-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 AAAAB3NzaC1yc2EAAAADAQABAAACAQCqWL3KKJ+ttS+pUbNO9XuZW0GbEVbrpCc4r51mLePF7NnpB9ULVyphMyvCxuzxk9NUb3M9k58/P/GTdm2mjqfNQ+5lzXomuL8uPwNzTGytvhTRFDfNTM9RC2q+jD7WH79JhhyG2iOmYK9fbFBAgOioexNoMVhCAQVGxZpxOq2Wv9hz7zoISioPCkVjZuaAq6rJh7eRy+AUysbvMJwKi3aeRHkt/zte7LJHqu2K3efaoNTNEUAoT70iR7AlaOvmQqr2ZqVIbbdIszP6hdHtBnxny00V0ErXqAAWZSQ3BPpKxPiDU62P9Dfsz0C6HG4fF5aVQ8wgSFmVIr8NP1uPGJ4ir+g7lP+fL9luJkiDDjudSHCu+PQTf2DqvnMsW4iABu/7n8G5anW+G/1onk/NpvOEomgBtSmU/Zarfc587rKpmLkycFVtpqCkmN6BadBh5iPqqxGveaSZnP+7VEcu46ue7ioR+Wip8+M7fc2xTb/aOkJREPc0xYbS2X2x7ymGjfRlAQl/rcNZ+wM0rtvK0a+jm8EEe113/Sw3LWz/OVxeBbS3Hj5seSZk7df5q3cHL4C/jGX3yS1m04APpLrkLpf4vBttX5nwW47VdZT1YhZUJjEonpSj/U6CYPW0eSriftHNKAzAflz8ErdDL1Ybo5FWVUSU2SXq0zGPh4O4B33YRQ== rkecluster ansible-controller\"      --ssh-inject root:string:\"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCqWL3KKJ+ttS+pUbNO9XuZW0GbEVbrpCc4r51mLePF7NnpB9ULVyphMyvCxuzxk9NUb3M9k58/P/GTdm2mjqfNQ+5lzXomuL8uPwNzTGytvhTRFDfNTM9RC2q+jD7WH79JhhyG2iOmYK9fbFBAgOioexNoMVhCAQVGxZpxOq2Wv9hz7zoISioPCkVjZuaAq6rJh7eRy+AUysbvMJwKi3aeRHkt/zte7LJHqu2K3efaoNTNEUAoT70iR7AlaOvmQqr2ZqVIbbdIszP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pBpWE0GNWnvvbNp9iDqA/28ciUKhdRZ1Hwq3AttHS8fwuz4KtOM6u73GpH96V4ZrFysY0CbpYdLbn6EKh/cQ== rkecluster rkecluster-provision\"    --hostname controller-01.rkecluster.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/rkecluster-controller-01/00-installer-ubuntu-netconfig.yaml:/etc/netplan  --copy-in /tmp/rkecluster-controller-01/hosts.debian.tmpl:/etc/cloud/templates  --copy-in /tmp/rkecluster-controller-01/90_dpkg.cfg:/etc/cloud/cloud.cfg.d  --copy-in /tmp/rkecluster-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-23 19:17:48.328200
stderr

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