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

Allow user customize wg.conf file #151

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

Conversation

sckol
Copy link

@sckol sckol commented Mar 26, 2022

Now etc/wireguard/wg.conf.j2 template is hardcoded into the role. This PR proposes allow user change the template to implement some custom network layout.
Unortunately, it is impossible in Ansible without changing the role, see:
https://stackoverflow.com/questions/55742881/is-there-a-way-to-override-a-template-defined-into-an-ansible-galaxy-role

@githubixx
Copy link
Owner

Thanks for the PR! But I already came to the conclusion that this doesn't makes that much sense. Also see #133 . The whole logic basically is in this template. If someone needs a different logic then I think it's better to fork this role.

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