<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://wiki.twig.es/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.twig.es/index.php?action=history&amp;feed=atom&amp;title=Disable_ipv6</id>
		<title>Disable ipv6 - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.twig.es/index.php?action=history&amp;feed=atom&amp;title=Disable_ipv6"/>
		<link rel="alternate" type="text/html" href="https://wiki.twig.es/index.php?title=Disable_ipv6&amp;action=history"/>
		<updated>2026-05-06T15:51:46Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.23.0</generator>

	<entry>
		<id>https://wiki.twig.es/index.php?title=Disable_ipv6&amp;diff=4623&amp;oldid=prev</id>
		<title>George2: Created page with &quot;https://github.com/juju4/ansible-ipv6/blob/master/tasks/ipv6-disable.yml&lt;br&gt; &lt;source lang=&quot;yaml&quot;&gt; ---  ## either disable - name: Disable IPv6 with sysctl   sysctl: name={{ ite...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.twig.es/index.php?title=Disable_ipv6&amp;diff=4623&amp;oldid=prev"/>
				<updated>2020-03-23T16:37:35Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;https://github.com/juju4/ansible-ipv6/blob/master/tasks/ipv6-disable.yml&amp;lt;br&amp;gt; &amp;lt;source lang=&amp;quot;yaml&amp;quot;&amp;gt; ---  ## either disable - name: Disable IPv6 with sysctl   sysctl: name={{ ite...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;https://github.com/juju4/ansible-ipv6/blob/master/tasks/ipv6-disable.yml&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;source lang=&amp;quot;yaml&amp;quot;&amp;gt;&lt;br /&gt;
---&lt;br /&gt;
&lt;br /&gt;
## either disable&lt;br /&gt;
- name: Disable IPv6 with sysctl&lt;br /&gt;
  sysctl: name={{ item }} value=1 state=present reload=yes&lt;br /&gt;
  with_items:&lt;br /&gt;
    - net.ipv6.conf.all.disable_ipv6&lt;br /&gt;
    - net.ipv6.conf.default.disable_ipv6&lt;br /&gt;
    - net.ipv6.conf.lo.disable_ipv6&lt;br /&gt;
&lt;br /&gt;
- name: Debian | blacklist ipv6 in modprobe&lt;br /&gt;
  lineinfile: &amp;quot;dest=/etc/modprobe.d/blacklist.conf line='blacklist ipv6' create=yes&amp;quot;&lt;br /&gt;
  notify:&lt;br /&gt;
    - rmmodipv6&lt;br /&gt;
  when: ansible_os_family == 'Debian'&lt;br /&gt;
&lt;br /&gt;
- name: RedHat | placeholder true for ipv6 in modprobe&lt;br /&gt;
  lineinfile: &amp;quot;dest=/etc/modprobe.conf line='install ipv6 /bin/true' create=yes&amp;quot;&lt;br /&gt;
  notify:&lt;br /&gt;
    - rmmodipv6&lt;br /&gt;
  when: ansible_os_family == 'RedHat'&lt;br /&gt;
&lt;br /&gt;
- name: RedHat | disable ipv6 in sysconfig/network&lt;br /&gt;
  lineinfile:&lt;br /&gt;
    dest: /etc/sysconfig/network&lt;br /&gt;
    regexp: &amp;quot;^{{ item.regexp }}&amp;quot;&lt;br /&gt;
    line: &amp;quot;{{ item.line }}&amp;quot;&lt;br /&gt;
    backup: yes&lt;br /&gt;
    create: yes&lt;br /&gt;
  with_items:&lt;br /&gt;
    - { regexp: 'NETWORKING_IPV6=.*', line: 'NETWORKING_IPV6=NO' }&lt;br /&gt;
    - { regexp: 'IPV6INIT=.*', line: 'IPV6INIT=no' }&lt;br /&gt;
  notify:&lt;br /&gt;
    - restart network&lt;br /&gt;
    - restart NetworkManager&lt;br /&gt;
  when: ansible_os_family == 'RedHat'&lt;br /&gt;
&lt;br /&gt;
- include: ipv6-grub-disable.yml&lt;br /&gt;
&lt;br /&gt;
## either control router sollicitation/advertisement to avoid malicious rerouting of IPv6&lt;br /&gt;
## Monitor?&lt;br /&gt;
##  https://thc.org/thc-ipv6/&lt;br /&gt;
##  http://www.si6networks.com/tools/ipv6toolkit/&lt;br /&gt;
## Filter?&lt;br /&gt;
&lt;br /&gt;
## State: http://6lab.cisco.com/stats/&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>George2</name></author>	</entry>

	</feed>