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 09:29:53 +0000 00:12:50.32 nyctea root Ansible 2.15.2 ara 1.6.1 (client), 1.6.1 (server) Python 3.11.4 6 8 849 849 49 1

Task result details

Field Value
changed
True
cmd
set -eo pipefail
#
# NAT from the external interface
#
# Get the external interface name
iface=$(ip route get "8.8.8.8" | grep -Po '(?<=(dev )).*(?= src| proto)')
#
iptables -t nat -A POSTROUTING -s 10.0.0.0/24 -o $iface -j MASQUERADE
#
iptables -A FORWARD -i $iface -j ACCEPT
iptables -A FORWARD -i br-ex -j ACCEPT
iptables -A FORWARD -o $iface -j ACCEPT
iptables -A FORWARD -o br-ex -j ACCEPT
#
iptables -A FORWARD -m state --state RELATED,ESTABLISHED -j ACCEPT
#
iptables -P FORWARD ACCEPT
iptables -P INPUT ACCEPT
iptables -P OUTPUT ACCEPT
delta
0:00:00.051354
end
2023-10-29 11:32:29.521809
invocation
{
    "module_args": {
        "_raw_params": "set -eo pipefail\n#\n# NAT from the external interface\n#\n# Get the external interface name\niface=$(ip route get \"8.8.8.8\" | grep -Po '(?<=(dev )).*(?= src| proto)')\n#\niptables -t nat -A POSTROUTING -s 10.0.0.0/24 -o $iface -j MASQUERADE\n#\niptables -A FORWARD -i $iface -j ACCEPT\niptables -A FORWARD -i br-ex -j ACCEPT\niptables -A FORWARD -o $iface -j ACCEPT\niptables -A FORWARD -o br-ex -j ACCEPT\n#\niptables -A FORWARD -m state --state RELATED,ESTABLISHED -j ACCEPT\n#\niptables -P FORWARD ACCEPT\niptables -P INPUT ACCEPT\niptables -P OUTPUT ACCEPT\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 11:32:29.470455
stderr

stderr_lines
[]
stdout

stdout_lines
[]