Skip to content

Commit

Permalink
modprobe dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
suhancz committed Oct 27, 2023
1 parent 489480d commit 0cd3b99
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 5 deletions.
2 changes: 2 additions & 0 deletions collections/requirements.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@
collections:
- name: ansible.posix
version: 1.5.4
- name: community.general
version: 7.5.0
2 changes: 1 addition & 1 deletion meta/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ dependencies: []
# if you add dependencies to this list.
collections:
- ansible.posix
- community.crypto
- community.general
- community.crypto
- community.dns
- community.mysql
2 changes: 1 addition & 1 deletion tasks/os.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
- ldap
- postfixadmin
- name: Enable ip_conntrack
modprobe:
community.general.modprobe:
name: ip_conntrack
state: present
tags: wireguard
Expand Down
4 changes: 2 additions & 2 deletions tasks/packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,7 @@
tags: wireguard
block:
- name: Load the WireGuard kernel module
modprobe:
community.general.modprobe:
name: wireguard
rescue:
- name: Install UEK packages
Expand All @@ -535,7 +535,7 @@
reboot_timeout: 600
msg: "Reboot initiated by Ansible to enable WireGuard"
- name: Load the WireGuard kernel module
modprobe:
community.general.modprobe:
name: wireguard
- name: Install PEAR packages
tags: horde
Expand Down
2 changes: 1 addition & 1 deletion tasks/wireguard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
vars:
port: "{{ wireguard.listen_port }}/udp"
- name: Load kernel modules
modprobe:
community.general.modprobe:
name: "{{ item }}"
loop:
- wireguard
Expand Down

0 comments on commit 0cd3b99

Please sign in to comment.