Skip to content

Commit

Permalink
fix: remove commented out ansible tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
Az80386 authored and jacderida committed Jan 21, 2025
1 parent 9532f58 commit 4936981
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions resources/ansible/roles/private_node/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
when: not do_gateway_is_configured

0 comments on commit 4936981

Please sign in to comment.