<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ansible-distro-configure.git/roles/wireguard/tasks/main.yml, branch main</title>
<subtitle>Ansible Roles to configure different (linux) distros
</subtitle>
<link rel='alternate' type='text/html' href='http://git.a14m.dev/ansible-distro-configure.git/'/>
<entry>
<title>Fix ansible 2.20.1 deprecation warning about ansible_vars</title>
<updated>2026-01-24T00:03:37+00:00</updated>
<author>
<name>Ahmed Abdelhalim</name>
<email>pm@a14m.dev</email>
</author>
<published>2026-01-23T23:33:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.a14m.dev/ansible-distro-configure.git/commit/?id=d7b3463a79a50dc81d28d530c5212a1749efbb15'/>
<id>d7b3463a79a50dc81d28d530c5212a1749efbb15</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix example config, and ignore rpi idempotent test failure</title>
<updated>2025-11-14T16:14:34+00:00</updated>
<author>
<name>Ahmed Abdelhalim</name>
<email>pm@a14m.dev</email>
</author>
<published>2025-11-14T15:08:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.a14m.dev/ansible-distro-configure.git/commit/?id=c809789becb8ecdd6872a679757a97f2b4b7776f'/>
<id>c809789becb8ecdd6872a679757a97f2b4b7776f</id>
<content type='text'>
The reason the idempotent test fails is the following:

- 1st run: wireguard role deploys all the configured VPN connections
- 1st run: wg_portal updates the file permissions /etc/wireguard (ACLs)
- 2nd run: wireguard sees the file changed, deploys again (idempotent failure)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The reason the idempotent test fails is the following:

- 1st run: wireguard role deploys all the configured VPN connections
- 1st run: wg_portal updates the file permissions /etc/wireguard (ACLs)
- 2nd run: wireguard sees the file changed, deploys again (idempotent failure)
</pre>
</div>
</content>
</entry>
<entry>
<title>Minor fixes to autostart connection validation/service logic</title>
<updated>2025-11-13T21:34:00+00:00</updated>
<author>
<name>Ahmed Abdelhalim</name>
<email>pm@a14m.dev</email>
</author>
<published>2025-11-13T21:34:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.a14m.dev/ansible-distro-configure.git/commit/?id=2db8a4f137da5e3addddce407ab892314ad6093d'/>
<id>2db8a4f137da5e3addddce407ab892314ad6093d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add mechanism to clean up wireguard configurations</title>
<updated>2025-11-13T21:33:47+00:00</updated>
<author>
<name>Ahmed Abdelhalim</name>
<email>pm@a14m.dev</email>
</author>
<published>2025-11-13T20:27:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.a14m.dev/ansible-distro-configure.git/commit/?id=16b43088143541b91bfb05e64d2dee07189aeb0f'/>
<id>16b43088143541b91bfb05e64d2dee07189aeb0f</id>
<content type='text'>
When a wireguard configuration gets removed from the group/host
variables, the role now removes them and make sure only the files found
in the vars are the ones to be configured on the hosts
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When a wireguard configuration gets removed from the group/host
variables, the role now removes them and make sure only the files found
in the vars are the ones to be configured on the hosts
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove unneeded backup of files in wireguard</title>
<updated>2025-11-03T21:21:12+00:00</updated>
<author>
<name>Ahmed Abdelhalim</name>
<email>pm@a14m.dev</email>
</author>
<published>2025-11-03T21:21:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.a14m.dev/ansible-distro-configure.git/commit/?id=92808568c6a649ca27d28f2f3dcd79bb1874d0de'/>
<id>92808568c6a649ca27d28f2f3dcd79bb1874d0de</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Refactor naming of packages and services to follow same conventions</title>
<updated>2025-10-22T12:53:36+00:00</updated>
<author>
<name>Ahmed Abdelhalim</name>
<email>pm@a14m.dev</email>
</author>
<published>2025-10-22T12:29:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.a14m.dev/ansible-distro-configure.git/commit/?id=3bcf7bd2adb443b881365506dfa3348b0c465264'/>
<id>3bcf7bd2adb443b881365506dfa3348b0c465264</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Migrate to the new loop syntax</title>
<updated>2025-09-20T18:55:03+00:00</updated>
<author>
<name>Ahmed Abdelhalim</name>
<email>pm@a14m.dev</email>
</author>
<published>2025-09-20T18:55:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.a14m.dev/ansible-distro-configure.git/commit/?id=19a7d7053b721a22b805ba7a9daff1cb7a70a630'/>
<id>19a7d7053b721a22b805ba7a9daff1cb7a70a630</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix wireguard stopping vpn when it's not necessary</title>
<updated>2025-09-14T00:15:02+00:00</updated>
<author>
<name>Ahmed Abdelhalim</name>
<email>pm@a14m.dev</email>
</author>
<published>2025-09-14T00:15:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.a14m.dev/ansible-distro-configure.git/commit/?id=2116e15abd16c64827f89c1f86533267fd954809'/>
<id>2116e15abd16c64827f89c1f86533267fd954809</id>
<content type='text'>
It's only necessary to stop the VPN to set another one running instead
(as the configurations are not built to stack VPN although possible)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It's only necessary to stop the VPN to set another one running instead
(as the configurations are not built to stack VPN although possible)
</pre>
</div>
</content>
</entry>
<entry>
<title>Put back the idempotent ignore test</title>
<updated>2025-09-14T00:11:03+00:00</updated>
<author>
<name>Ahmed Abdelhalim</name>
<email>pm@a14m.dev</email>
</author>
<published>2025-09-14T00:05:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.a14m.dev/ansible-distro-configure.git/commit/?id=671c9d6b0811e7d269816d1423735abb6bd205b2'/>
<id>671c9d6b0811e7d269816d1423735abb6bd205b2</id>
<content type='text'>
The idempotent test is only failing on the second run,
the reason is, on the first run the wireguard files are created with
default permissions, then the wg_portal role update the ACL.

On the second run, the wireguard role recognizes the difference in the
permissions, and update the files (expectedly), the default ACL then
takes place and set the permissions correctly with ACLs

On any successive run, the role is idempotent and doesn't update the
files again.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The idempotent test is only failing on the second run,
the reason is, on the first run the wireguard files are created with
default permissions, then the wg_portal role update the ACL.

On the second run, the wireguard role recognizes the difference in the
permissions, and update the files (expectedly), the default ACL then
takes place and set the permissions correctly with ACLs

On any successive run, the role is idempotent and doesn't update the
files again.
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove the idempotence ignore test in wireguard</title>
<updated>2025-09-13T20:20:16+00:00</updated>
<author>
<name>Ahmed Abdelhalim</name>
<email>pm@a14m.dev</email>
</author>
<published>2025-09-13T20:15:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.a14m.dev/ansible-distro-configure.git/commit/?id=689c370f770aac5ee76c3806291ade93667aa1b9'/>
<id>689c370f770aac5ee76c3806291ade93667aa1b9</id>
<content type='text'>
Since the ACL fix probably fixed this one too
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Since the ACL fix probably fixed this one too
</pre>
</div>
</content>
</entry>
</feed>
