Playbook #1

/root/kubeinit/ci/builds/bsU8uCNn/0/kubeinit/kubeinit/kubeinit-aux/kubeinit/playbook.yml

Report Status CLI Date Duration Controller User Versions Hosts Plays Tasks Results Files Records
05 May 2024 01:59:58 +0000 00:12:42.96 nyctea root Ansible 2.15.2 ara 1.6.1 (client), 1.6.1 (server) Python 3.11.4 7 10 778 845 48 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 AAAAB3NzaC1yc2EAAAADAQABAAACAQC/qf4WBbJndRMzsqEtRAwfriXQs9nflcu+aFFe/Ju4yMvvUHTBdSJvx5oKv/sGFoCvKwBnnTv2nxIUdGkbnuYIh0ZWyACTDV4OllTaAJhXrPW6YPPTW5bAyvoVN3PytZZY3Fo9RYhmjj0mBIVU6FwDpUOVoKIYdyBK9tfkoELDR9eJ9t169vc7fRZmdNWPUIS6fytLcSGFZ5mOoebw/viXegswITdYrD40wJ4Rv713yuyc99L6BBejFzsgWbiis4uzUsnhBmlbfYxLnyqerrzTw4R1lDB0NGTDqFVzBOPE+BbnTpeOKTLwhDWC94z7jOpageHSOAOwaEn83+vIPhf6aZy7DAN7qCk+LORY9eNNbWdh8i9T5X1oW0LwdJU7znod+8/jmFEnfaaszOWeN2oRc6Wjq1htCGo840bgCVwFOSH6hX8MBSPKVtpXA58H9iKSM6dvMBVFbx5yJkxTEkHtMi2vzmr0IvBptaQyu35ySmRLh/TJHhy3jso6GjZtGfVUF1o0nLPvBthoEksWf88ljINCdqol1PeC8yFQi8cH2Xy9W6gt2XKws8ogMd3RxMA31Iuybb+ZDQHJuuOIWABt2tLHR/VH0pA4VQKdduzwRVoIQtXAWma9YfAc7N7yl+UtusFpUV9kwcGcEeQYoCED3Eec8hbhH1BZlB338OSXoQ== cdkcluster ansible-controller"      --ssh-inject root:string:"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQC/qf4WBbJndRMzsqEtRAwfriXQs9nflcu+aFFe/Ju4yMvvUHTBdSJvx5oKv/sGFoCvKwBnnTv2nxIUdGkbnuYIh0ZWyACTDV4OllTaAJhXrPW6YPPTW5bAyvoVN3PytZZY3Fo9RYhmjj0mBIVU6FwDpUOVoKIYdyBK9tfkoELDR9eJ9t169vc7fRZmdNWPUIS6fytLcSGFZ5mOoebw/viXegswITdYrD40wJ4Rv713yuyc99L6BBejFzsgWbiis4uzUsnhBmlbfYxLnyqerrzTw4R1lDB0NGTDqFVzBOPE+BbnTpeOKTLwhDWC94z7jOpageHSOAOwaEn83+vIPhf6aZy7DAN7qCk+LORY9eNNbWdh8i9T5X1oW0LwdJU7znod+8/jmFEnfaaszOWeN2oRc6Wjq1htCGo840bgCVwFOSH6hX8MBSPKVtpXA58H9iKSM6dvMBVFbx5yJkxTEkHtMi2vzmr0IvBptaQyu35ySmRLh/TJHhy3jso6GjZtGfVUF1o0nLPvBthoEksWf88ljINCdqol1PeC8yFQi8cH2Xy9W6gt2XKws8ogMd3RxMA31Iuybb+ZDQHJuuOIWABt2tLHR/VH0pA4VQKdduzwRVoIQtXAWma9YfAc7N7yl+UtusFpUV9kwcGcEeQYoCED3Eec8hbhH1BZlB338OSXoQ== cdkcluster hypervisor-01"      --ssh-inject root:string:"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQComxsS71TAOWKbnKpaVEeoG2lJt4uFpjbesfs6iUciYwfrNDpZWoBVp8Hp5Kr1K3WNm8YSfMoT4QtYbKH7RAsZoIq//1aJXXRkyaTIop69I/K2xiNjVINBbeKUag8rXnKae/75znCIINnYiyu8p4irabXDTV1h7oo9x/nEJDpRypjpXoTmk2UPljrQp7naupfT3tvvGILENG/kwdcRtL51JWyMCxW2Z6woLRHjYSFanm0dlekGcKio54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DbTUy/BJGYxctWNEKXb22jUJcCB5lp4ttCkmUedbAOqby6vEk2pB/OycAZBp5n+NGiMd1l/2ZWv6DE0wivYtee7GijO9AhXBsUCYIVWkfnlJxXb/3w== 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:14.444532
end
2024-05-05 05:11:57.245713
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 AAAAB3NzaC1yc2EAAAADAQABAAACAQC/qf4WBbJndRMzsqEtRAwfriXQs9nflcu+aFFe/Ju4yMvvUHTBdSJvx5oKv/sGFoCvKwBnnTv2nxIUdGkbnuYIh0ZWyACTDV4OllTaAJhXrPW6YPPTW5bAyvoVN3PytZZY3Fo9RYhmjj0mBIVU6FwDpUOVoKIYdyBK9tfkoELDR9eJ9t169vc7fRZmdNWPUIS6fytLcSGFZ5mOoebw/viXegswITdYrD40wJ4Rv713yuyc99L6BBejFzsgWbiis4uzUsnhBmlbfYxLnyqerrzTw4R1lDB0NGTDqFVzBOPE+BbnTpeOKTLwhDWC94z7jOpageHSOAOwaEn83+vIPhf6aZy7DAN7qCk+LORY9eNNbWdh8i9T5X1oW0LwdJU7znod+8/jmFEnfaaszOWeN2oRc6Wjq1htCGo840bgCVwFOSH6hX8MBSPKVtpXA58H9iKSM6dvMBVFbx5yJkxTEkHtMi2vzmr0IvBptaQyu35ySmRLh/TJHhy3jso6GjZtGfVUF1o0nLPvBthoEksWf88ljINCdqol1PeC8yFQi8cH2Xy9W6gt2XKws8ogMd3RxMA31Iuybb+ZDQHJuuOIWABt2tLHR/VH0pA4VQKdduzwRVoIQtXAWma9YfAc7N7yl+UtusFpUV9kwcGcEeQYoCED3Eec8hbhH1BZlB338OSXoQ== cdkcluster ansible-controller\"      --ssh-inject root:string:\"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQC/qf4WBbJndRMzsqEtRAwfriXQs9nflcu+aFFe/Ju4yMvvUHTBdSJvx5oKv/sGFoCvKwBnnTv2nxIUdGkbnuYIh0ZWyACTDV4OllTaAJhXrPW6YPPTW5bAyvoVN3PytZZY3Fo9RYhmjj0mBIVU6FwDpUOVoKIYdyBK9tfkoELDR9eJ9t169vc7fRZmdNWPUIS6fytLcSGFZ5mOoebw/viXegswITdYrD40wJ4Rv713yuyc99L6BBejFzsgWbiis4uzUsnhBmlbfYxLnyqerrzTw4R1lDB0NGTDqFVzBOPE+BbnTpeOKTLwhDWC94z7jOpageHSOAOwaEn83+vIPhf6aZy7DAN7qCk+LORY9eNNbWdh8i9T5X1oW0LwdJU7znod+8/jmFEnfaaszOWeN2oRc6Wjq1htCGo840bgCVwFOSH6hX8MBSPKVtpXA58H9iKSM6dvMBVFbx5yJkxTEkHtMi2vzmr0IvBptaQyu35ySmRLh/TJHhy3jso6GjZtGfVUF1o0nLPvBthoEksWf88ljINCdqol1PeC8yFQi8cH2Xy9W6gt2XKws8ogMd3RxMA31Iuybb+ZDQHJuuOIWABt2tLHR/VH0pA4VQKdduzwRVoIQtXAWma9YfAc7N7yl+UtusFpUV9kwcGcEeQYoCED3Eec8hbhH1BZlB338OSXoQ== cdkcluster hypervisor-01\"      --ssh-inject root:string:\"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQComxsS71TAOWKbnKpaVEeoG2lJt4uFpjbesfs6iUciYwfrNDpZWoBVp8Hp5Kr1K3WNm8YSfMoT4QtYbKH7RAsZoIq//1aJXXRkyaTIop69I/K2xiNjVINBbeKUag8rXnKae/75znCIINnYiyu8p4irabXDTV1h7oo9x/nEJDpRypjpXoTmk2UPljrQp7naupfT3tvvGILENG/kwdcRtL51JWyMCxW2Z6woLRHjYSFanm0dlekGcKio54xFRFl7B0ZHDPjQqsWnwEw1/BdFPlgKd/4cHX/s2l7LwyTqDIaIcogTYpQ6AjxTtmNecy22q1asFH2/OTFggluE1t3tf9pmc2OAhLz0ndPELvAt2gbr1ZmgLq8jauD1qbWUnVos9LlWk/Ts2WoP1Hbyw7tdrhaka905LJlfKl8hYMUvr+JlsmC4rWlS/WPY3h3g80J1p1cQHqZyDSkZZkDz0y5y6xhTphRvcPEPpo3CV17rjZFAQKjkCPnkYWhOPzNJqZDVCeQsn7ir5aPQHPqAh1+T+87qV5PDgBjEi4b2s8+umjBucG4LBznuZJ46zLMsnYHBoft+J4A6J0e42Y8txiFkFURpeb4xa+wvC+H9EVRUnW3i8ZcRTyhkII5oPLTnlBuI+dErsZ4cm+iynqkOnStWfhyDIdyOOUX1nLhZ32BIMc/7mQ== cdkcluster hypervisor-02\"      --ssh-inject root:string:\"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQC70NkoPR4lB5PFHL9O0nN9agQSt4BxunjC5vaV8Csmce1SwrRWlwug4RJ3JZNBWkT5tEcvm2HPSLLxlKrTUHpaEoBkUbUqqqtr0r9DY6a5o8tv3Ly8Js1EDvzsdRw0gP20UolZzO0cr4ODe/u3ps76U9T/AL+N0FzdPtn8+h8PRAWuDin3Tw4wfQ3VZTxXjj88IHsqyIevxjYp/1ZhzkW3T9juc222LAJRGYBL5FnfgYlY/fhgLqfz5ljN6NVxpHabBOiHjbRjubigZszLbVP4LZz1s1Jwdjpbh5bw8iAC0ruYcLYF1GePiiIdDfhN4rhYx8vj/AE/LGLp5YTcExIH/Avg5tnLbvUV44QOUHnRoNZDGb7I7AqIAenZwGdGePD9XeCRICm4XVVQHgPEd/G00jBIox0lG45Frg4bj6cNiMt7z6ZhJhOZcQ683e6NeEjPRIO8sSyWtmyYtWJCQLytv1nr9I6vgZpHENPBPYJsaYs6Ihz7M8uTGZmGhtq07lZsWTbcBFhwFlrMiA9sUrUDmUXRS12q3ShzpQhHCJfG60fm1gWkidAMTxQbDbTUy/BJGYxctWNEKXb22jUJcCB5lp4ttCkmUedbAOqby6vEk2pB/OycAZBp5n+NGiMd1l/2ZWv6DE0wivYtee7GijO9AhXBsUCYIVWkfnlJxXb/3w== 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
2024-05-05 05:11:42.801181
stderr

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