juju4 / ansible-ipv6 Goto Github PK
View Code? Open in Web Editor NEWA simple ansible role to either harden, either disable ipv6 in linux systems
A simple ansible role to either harden, either disable ipv6 in linux systems
fatal: [workernode_c0a39s1d]: FAILED! => {
"ansible_facts": {},
"ansible_included_var_files": [],
"changed": false,
"message": "Could not find or access 'Debian-11.yml'
Searched in:
/Users/gurpartap/.ansible/roles/juju4.ipv6/vars/Debian-11.yml
/Users/gurpartap/.ansible/roles/juju4.ipv6/Debian-11.yml
/Users/gurpartap/.ansible/roles/juju4.ipv6/tasks/vars/Debian-11.yml
/Users/gurpartap/.ansible/roles/juju4.ipv6/tasks/Debian-11.yml
/Users/gurpartap/myproj/deploy/ansible/vars/Debian-11.yml
/Users/gurpartap/myproj/deploy/ansible/Debian-11.yml on the Ansible Controller.
If you are using a module and expect the file to exist on the remote, see the remote_src option"
}
executing the role more than once keep adding new copies of " ipv6.disable=1" to /etc/default/grub
Hello,
Same request as #7, but for Debian 12 instead of Debian 11
Have an excellent day! :-)
duplicate vars/Debian-11.yml to vars/Debian-12.yml with all same content
I don't masterize neither version of Debian, but at least this made the role execution succeed.
No response
The task notified in
ansible-ipv6/tasks/ipv6-grub-disable.yml
Line 30 in 3d71113
Do you have a nice solution to execute the ansible.builtin.command "update-grub ; grub-mkconfig -o /boot/grub/grub.cfg" instead of "grub2-mkconfig -o /boot/grub2/grub.cfg" instead in https://github.com/juju4/ansible-ipv6/blob/master/handlers/main.yml#L32 if there is no grub2 installed?
ansible 2.8.2
python version = 2.7.5
It helps when I changed two lines in /etc/default/grub to:
GRUB_CMDLINE_LINUX_DEFAULT="ipv6.disable=1"
GRUB_CMDLINE_LINUX="ipv6.disable=1"
and invoke update-grub and reboot
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.