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

Use sysrc and service modules instead of lineinfile #5

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

bsdlme
Copy link

@bsdlme bsdlme commented Dec 8, 2022

No description provided.

@yaazkal
Copy link
Owner

yaazkal commented Dec 9, 2022

Thanks for the PR.

The reason I opted to use lineinfile rather than sysrc is because that added an extra module (requirement) for the user. That was back then. I can't tell if the new versions of ansible includes the sysrc module by default. If this makes the user install a new requirement I'll keep using lineinfile.

Can you please confirm if now ansible includes sysrc by default? If so, from which version is now included?

@bsdlme
Copy link
Author

bsdlme commented Dec 10, 2022

I only installed Ansible from FreeBSD packages. The sysrc module was already included.

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

Successfully merging this pull request may close these issues.

None yet

2 participants