diff --git a/resources/ansible/roles/private_node/tasks/main.yml b/resources/ansible/roles/private_node/tasks/main.yml index 8ab8e6f..838ee8f 100644 --- a/resources/ansible/roles/private_node/tasks/main.yml +++ b/resources/ansible/roles/private_node/tasks/main.yml @@ -53,13 +53,4 @@ - name: add route to DO gateway via eth0 utilizing onlink attribute command: ip route add 169.254.169.254 via {{ do_gateway_ip.stdout }} dev eth0 onlink - when: not do_gateway_is_configured - -#- name: install iptables-persistent (requires shell instead of command) -# shell: | -# echo iptables-persistent iptables-persistent/autosave_v4 boolean true | debconf-set-selections -# echo iptables-persistent iptables-persistent/autosave_v6 boolean true | debconf-set-selections -# apt install -y iptables-persistent - -#- name: save existing ip rules to disk -# command: service netfilter-persistent save \ No newline at end of file + when: not do_gateway_is_configured \ No newline at end of file