Skip to content

Commit

Permalink
v24.1 fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ansibleguy committed Feb 26, 2024
1 parent bb815c6 commit 641a828
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 22 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,14 @@ You want a simple Ansible GUI? Check-out my [Ansible WebUI](https://github.com/a

----

## Sponsor

It was a lot of work (100+ hours) to get those modules working.

If you are happy with the functionality they provide: please [consider donating a few bucks](https://github.com/sponsors/ansibleguy?frequency=one-time&sponsor=ansibleguy) so my doggy can get some treats (;

----

## Contribute

Feel free to contribute to this project using [pull-requests](https://github.com/ansibleguy/collection_opnsense/pulls), [issues](https://github.com/ansibleguy/collection_opnsense/issues) and [discussions](https://github.com/ansibleguy/collection_opnsense/discussions)!
Expand Down
9 changes: 0 additions & 9 deletions docs/source/modules/wireguard.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,6 @@

**Service Docs**: [WireGuard - Site to Site](https://docs.opnsense.org/manual/how-tos/wireguard-s2s.html) | [WireGuard - Client to Site](https://docs.opnsense.org/manual/how-tos/wireguard-client.html)

## Prerequisites

You need to install the WireGuard plugin:
```
os-wireguard
```

You can also install it using the [package module](https://opnsense.ansibleguy.net/en/latest/modules/package.html).

## Definition

For basic parameters see: [Basics](https://opnsense.ansibleguy.net/en/latest/usage/2_basic.html)
Expand Down
3 changes: 1 addition & 2 deletions tests/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ Most tests fail if some other config is found.

Some tests need packages to be pre-installed:

* rule* - `os-firewall`
* wireguard_* - `os-wireguard`
* webproxy_* - `os-squid`
* frr_* - `os-frr`
* bind_* - `os-bind`

Expand Down
16 changes: 7 additions & 9 deletions tests/ipsec_connection.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
name: 'ANSIBLE_TEST_1_1'
version: 'ikev2'
unique: 'replace'
proposals: ['aes256gcm16-ecp521', 'aes256-sha512-x25519']
proposals: ['default', 'aes256-sha256-modp2048', 'aes256gcm16-sha512-modp2048']
register: opn1
failed_when: >
opn1.failed or
Expand All @@ -53,7 +53,7 @@
name: 'ANSIBLE_TEST_1_1'
version: 'ikev2'
unique: 'replace'
proposals: ['aes256gcm16-ecp521', 'aes256-sha512-x25519']
proposals: ['default', 'aes256-sha256-modp2048', 'aes256gcm16-sha512-modp2048']
register: opn2
failed_when: >
opn2.failed or
Expand All @@ -64,7 +64,7 @@
ansibleguy.opnsense.ipsec_connection:
name: 'ANSIBLE_TEST_1_1'
unique: 'replace'
proposals: 'aes256gcm16-ecp521'
proposals: 'aes256gcm16-sha512-modp2048'
reauth_seconds: 3600
keying_tries: 5
register: opn3
Expand All @@ -76,7 +76,7 @@
ansibleguy.opnsense.ipsec_connection:
name: 'ANSIBLE_TEST_1_1'
unique: 'replace'
proposals: 'aes256gcm16-ecp521'
proposals: 'aes256gcm16-sha512-modp2048'
reauth_seconds: 3600
keying_tries: 5
enabled: false
Expand All @@ -90,7 +90,7 @@
ansibleguy.opnsense.ipsec_tunnel:
name: 'ANSIBLE_TEST_1_1'
unique: 'replace'
proposals: 'aes256gcm16-ecp521'
proposals: 'aes256gcm16-sha512-modp2048'
reauth_seconds: 3600
keying_tries: 5
enabled: false
Expand All @@ -100,7 +100,7 @@
ansibleguy.opnsense.ipsec_connection:
name: 'ANSIBLE_TEST_1_1'
unique: 'replace'
proposals: 'aes256gcm16-ecp521'
proposals: 'aes256gcm16-sha512-modp2048'
reauth_seconds: 3600
keying_tries: 5
enabled: false
Expand All @@ -114,7 +114,7 @@
ansibleguy.opnsense.ipsec_connection:
name: 'ANSIBLE_TEST_1_1'
unique: 'replace'
proposals: 'aes256gcm16-ecp521'
proposals: 'aes256gcm16-sha512-modp2048'
reauth_seconds: 3600
keying_tries: 5
register: opn6
Expand All @@ -128,7 +128,6 @@
name: 'ANSIBLE_TEST_1_2'
unique: 'never'
version: 'ikev1'
proposals: ['aes128-sha512-ecp224', 'aes128-sha512-ecp384']
reauth_seconds: 7200
dpd_timeout_seconds: 7200
dpd_delay_seconds: 7200
Expand All @@ -150,7 +149,6 @@
name: 'ANSIBLE_TEST_1_2'
unique: 'never'
version: 'ikev1'
proposals: ['aes128-sha512-ecp224', 'aes128-sha512-ecp384']
reauth_seconds: 7200
dpd_timeout_seconds: 7200
dpd_delay_seconds: 7200
Expand Down
4 changes: 2 additions & 2 deletions tests/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
target: 'package'

vars:
test_app1: 'os-api-backup'
test_app1: 'os-iperf'
test_app2: 'os-dmidecode'

tasks:
Expand All @@ -27,7 +27,7 @@

- name: Installing - exists
ansibleguy.opnsense.package:
name: 'os-firewall'
name: 'os-squid'
action: 'install'
register: opn1
failed_when: >
Expand Down

0 comments on commit 641a828

Please sign in to comment.