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
26 Oct 2023 16:01:52 +0000 01:07:59.06 nyctea root Ansible 2.15.2 ara 1.6.1 (client), 1.6.1 (server) Python 3.11.4 6 6 846 846 50 1

Task result details

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:04.369780
end
2023-10-26 16:12:59.831635
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 16:12:55.461855
stderr

stderr_lines
[]
stdout
Last metadata expiration check: 0:00:17 ago on Thu 26 Oct 2023 04:12:38 PM UTC.
Dependencies resolved.
================================================================================
 Package           Architecture   Version               Repository         Size
================================================================================
Installing:
 jq                x86_64         1.6-15.el9            appstream         187 k
Installing dependencies:
 oniguruma         x86_64         6.9.6-1.el9.5         appstream         218 k

Transaction Summary
================================================================================
Install  2 Packages

Total download size: 405 k
Installed size: 1.1 M
Downloading Packages:
(1/2): jq-1.6-15.el9.x86_64.rpm                  97 kB/s | 187 kB     00:01    
(2/2): oniguruma-6.9.6-1.el9.5.x86_64.rpm       109 kB/s | 218 kB     00:02    
--------------------------------------------------------------------------------
Total                                           134 kB/s | 405 kB     00:03     
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                        1/1 
  Installing       : oniguruma-6.9.6-1.el9.5.x86_64                         1/2 
  Installing       : jq-1.6-15.el9.x86_64                                   2/2 
  Running scriptlet: jq-1.6-15.el9.x86_64                                   2/2 
  Verifying        : jq-1.6-15.el9.x86_64                                   1/2 
  Verifying        : oniguruma-6.9.6-1.el9.5.x86_64                         2/2 

Installed:
  jq-1.6-15.el9.x86_64              oniguruma-6.9.6-1.el9.5.x86_64             

Complete!
stdout_lines
[
    "Last metadata expiration check: 0:00:17 ago on Thu 26 Oct 2023 04:12:38 PM UTC.",
    "Dependencies resolved.",
    "================================================================================",
    " Package           Architecture   Version               Repository         Size",
    "================================================================================",
    "Installing:",
    " jq                x86_64         1.6-15.el9            appstream         187 k",
    "Installing dependencies:",
    " oniguruma         x86_64         6.9.6-1.el9.5         appstream         218 k",
    "",
    "Transaction Summary",
    "================================================================================",
    "Install  2 Packages",
    "",
    "Total download size: 405 k",
    "Installed size: 1.1 M",
    "Downloading Packages:",
    "(1/2): jq-1.6-15.el9.x86_64.rpm                  97 kB/s | 187 kB     00:01    ",
    "(2/2): oniguruma-6.9.6-1.el9.5.x86_64.rpm       109 kB/s | 218 kB     00:02    ",
    "--------------------------------------------------------------------------------",
    "Total                                           134 kB/s | 405 kB     00:03     ",
    "Running transaction check",
    "Transaction check succeeded.",
    "Running transaction test",
    "Transaction test succeeded.",
    "Running transaction",
    "  Preparing        :                                                        1/1 ",
    "  Installing       : oniguruma-6.9.6-1.el9.5.x86_64                         1/2 ",
    "  Installing       : jq-1.6-15.el9.x86_64                                   2/2 ",
    "  Running scriptlet: jq-1.6-15.el9.x86_64                                   2/2 ",
    "  Verifying        : jq-1.6-15.el9.x86_64                                   1/2 ",
    "  Verifying        : oniguruma-6.9.6-1.el9.5.x86_64                         2/2 ",
    "",
    "Installed:",
    "  jq-1.6-15.el9.x86_64              oniguruma-6.9.6-1.el9.5.x86_64             ",
    "",
    "Complete!"
]