Skip to content

Allow user customize wg.conf file#151

Open
sckol wants to merge 2 commits intogithubixx:masterfrom
sckol:master
Open

Allow user customize wg.conf file#151
sckol wants to merge 2 commits intogithubixx:masterfrom
sckol:master

Conversation

@sckol
Copy link
Copy Markdown

@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
Copy Markdown
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.

2 participants