Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sysrc keeps reporting changed even if nothing changes #16

Open
kompasmedia opened this issue May 5, 2020 · 1 comment
Open

Sysrc keeps reporting changed even if nothing changes #16

kompasmedia opened this issue May 5, 2020 · 1 comment

Comments

@kompasmedia
Copy link

I'm using your sysrc module in my networking role and it works just great, except in a single spot:

- name: Remove statically configured IPv6 gateway sysrc: dest: /etc/rc.conf name: ipv6_defaultrouter state: absent when: networking_ipv6_gateway is undefined notify: Restart networking

This task keeps reporting 'changed' even though the ipv6_defaultrouter variable is well and truly gone from /etc/rc.conf. I'd rather not revert to using lineinfile for this task but I'm out of ideas. Help?

@dlundgren
Copy link
Owner

The sysrc module has been moved to community.general.sysrc, could you please check if this is still an issue and let me know?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants