Skip to content

Commit 83a37f3

Browse files
committed
docs(roles/openvpn_server): add troubleshooting section
1 parent ec87e88 commit 83a37f3

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

roles/openvpn_server/README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,21 @@ openvpn_server__service_enabled: true
8282
```
8383

8484

85+
## Troubleshooting
86+
87+
```
88+
TASK [linuxfabrik.lfops.openvpn_server : Generate DH Parameters with 2048 bits size]
89+
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: SyntaxError: future feature annotations is not defined
90+
fatal: [host1]: FAILED! => changed=false
91+
module_stderr: |-
92+
Traceback (most recent call last):
93+
...
94+
SyntaxError: future feature annotations is not defined
95+
```
96+
This occurs when running against a host with Python <=3.6, which is not supported in community.crypto >=3.0.0 (see their [CHANGELOG](https://github.com/ansible-collections/community.crypto/blob/main/CHANGELOG.md#v300)).
97+
As a workaround the collection can be downgraded: `ansible-galaxy collection install --force 'community.crypto:<3.0.0'`
98+
99+
85100
## License
86101
87102
[The Unlicense](https://unlicense.org/)

0 commit comments

Comments
 (0)