Playbook #1 |
/root/kubeinit/ci/builds/6mbKNrxD/0/kubeinit/kubeinit/kubeinit-aux/kubeinit/playbook.yml |
Task result details
- Play: Run the deployment on the target infrastructure (OpenStack/libvirt hypervisors)
- Task: kubeinit.kubeinit.kubeinit_eks : Make sure cri-o binary is reachable and the configuration is correct
- Action: ansible.builtin.shell
- Path: /root/.ansible/collections/ansible_collections/kubeinit/kubeinit/roles/kubeinit_eks/tasks/post_configure_guest.yml:53
- Host: localhost ( task delegated to controller-02 )
- Status: changed
- Started: 26 Oct 2023 20:01:47 +0000
- Ended: 26 Oct 2023 20:01:48 +0000
- Duration: 00:00:01.07
- Tags:
- task_deploy_cluster
Field | Value |
---|---|
changed |
True |
cmd |
yum install -y jq # Make sure crio binary is reachable ln -s /usr/bin/crio /usr/local/bin/crio tmp=$(mktemp) crioconf=$(ls /etc/cni/net.d/87-crio-bridge* | xargs realpath) jq '.plugins[0].ipam.ranges[0][0].subnet = "10.244.0.0/16"' "$crioconf" > "$tmp" && mv -f "$tmp" "$crioconf" # jq '.type = "flannel"' /etc/cni/net.d/87-crio-bridge.conf > "$tmp" && mv -f "$tmp" /etc/cni/net.d/87-crio-bridge.conf # rm -rf /etc/cni/net.d/87-crio-bridge.conf # echo '{"name": "crio","type": "flannel"}' > /etc/cni/net.d/10-crio.conf cp /etc/crio/crio.conf /etc/crio/crio.conf.backup sed -i s/^.*default_runtime\ =\ .*$/default_runtime\ =\ \"crun\"/g /etc/crio/crio.conf # There is no example config for crun anymore #sed -i "s/^\#\[crio\.runtime\.runtimes\.crun.*\]/[crio.runtime.runtimes.crun]/g" /etc/crio/crio.conf cat << EOF >> /etc/crio/crio.conf [crio.runtime.runtimes.crun] runtime_path = "/usr/bin/crun" runtime_type = "oci" runtime_root = "/run/crun" EOF |
delta |
0:00:00.742628 |
end |
2023-10-26 20:01:48.917500 |
invocation |
{ "module_args": { "_raw_params": "yum install -y jq\n# Make sure crio binary is reachable\nln -s /usr/bin/crio /usr/local/bin/crio\ntmp=$(mktemp)\ncrioconf=$(ls /etc/cni/net.d/87-crio-bridge* | xargs realpath)\njq '.plugins[0].ipam.ranges[0][0].subnet = \"10.244.0.0/16\"' \"$crioconf\" > \"$tmp\" && mv -f \"$tmp\" \"$crioconf\"\n# jq '.type = \"flannel\"' /etc/cni/net.d/87-crio-bridge.conf > \"$tmp\" && mv -f \"$tmp\" /etc/cni/net.d/87-crio-bridge.conf\n# rm -rf /etc/cni/net.d/87-crio-bridge.conf\n# echo '{\"name\": \"crio\",\"type\": \"flannel\"}' > /etc/cni/net.d/10-crio.conf\ncp /etc/crio/crio.conf /etc/crio/crio.conf.backup\nsed -i s/^.*default_runtime\\ =\\ .*$/default_runtime\\ =\\ \\\"crun\\\"/g /etc/crio/crio.conf\n\n# There is no example config for crun anymore\n#sed -i \"s/^\\#\\[crio\\.runtime\\.runtimes\\.crun.*\\]/[crio.runtime.runtimes.crun]/g\" /etc/crio/crio.conf\ncat << EOF >> /etc/crio/crio.conf\n[crio.runtime.runtimes.crun]\nruntime_path = \"/usr/bin/crun\"\nruntime_type = \"oci\"\nruntime_root = \"/run/crun\"\nEOF\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-26 20:01:48.174872 |
stderr |
|
stderr_lines |
[]
|
stdout |
Last metadata expiration check: 0:00:15 ago on Thu 26 Oct 2023 08:01:33 PM UTC. Package jq-1.6-15.el9.x86_64 is already installed. Dependencies resolved. Nothing to do. Complete! |
stdout_lines |
[ "Last metadata expiration check: 0:00:15 ago on Thu 26 Oct 2023 08:01:33 PM UTC.", "Package jq-1.6-15.el9.x86_64 is already installed.", "Dependencies resolved.", "Nothing to do.", "Complete!" ] |