dmotte.disable_ipv6

ansible-role-disable-ipv6

GitHub latest release Ansible Galaxy

:warning: Warning: this project is no longer maintained :warning:

I have decided to change the Ansible code to Bash for simplicity.


This is an Ansible role that completely disables IPv6 on Debian/Ubuntu systems.

How to Use

  1. Install this role using the ansible-galaxy command-line tool.
  2. You can add it to the tasks section of your Ansible Playbook. Check out test/playbook.yml for an example. Make sure to replace the role name with dmotte.disable_ipv6.

Important: You need to run this role as root (ansible_become: true) because it uses the sysctl command.

Role Variables

See the file defaults/main.yml for the available variables.

Development

If you'd like to help improve this project, use the test/playbook.yml to test the role while you make changes.

Put your inventory file (like hosts.yml) in the test folder.

Update the vars section of the test/playbook.yml file to fit your needs.

Then you can run the playbook on your host with this command:

cd test/
ansible-playbook -i hosts.yml playbook.yml
Informazioni sul progetto

Ansible role to disable IPv6 completely on Debian/Ubuntu hosts

Installa
ansible-galaxy install dmotte.disable_ipv6
Licenza
mit
Download
817
Proprietario