CSC Ansible Playbooks
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
ansible-playbooks/roles/static-ipv6/tasks/main.yml

7 lines
435 B

- name: copy over ipv6 kernel configuration
copy: src={{ item.src }} dest={{ item.dest }}
with_items:
- { src: '10-ipv6.conf', dest: '/etc/sysctl.d/10-ipv6.conf' }
- name: update ipv6 kernel configuration
command: 'sysctl -w net.ipv6.conf.all.autoconf=0 net.ipv6.conf.default.autoconf=0 net.ipv6.conf.all.accept_ra=0 net.ipv6.conf.default.accept_ra=0 net.ipv6.conf.all.use_tempaddr=0 net.ipv6.conf.default.use_tempaddr=0'