You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible-role-wireguard/tasks/setup-centos-7.yml

30 lines
594 B
YAML

---
- name: (CentOS 7) Install EPEL & ELRepo repository
yum:
name:
- epel-release
- https://www.elrepo.org/elrepo-release-7.el7.elrepo.noarch.rpm
update_cache: yes
- name: (CentOS 7) Install yum-plugin-elrepo
yum:
name: yum-plugin-elrepo
update_cache: yes
- name: (CentOS 7) Ensure WireGuard DKMS package is removed
yum:
name:
- "wireguard-dkms"
state: absent
tags:
- wg-install
- name: (CentOS 7) Install WireGuard packages
yum:
name:
- "kmod-wireguard"
- "wireguard-tools"
state: present
tags:
- wg-install