spark/roles/openvpn/tasks/main.yml
Pig Monkey 6ea4d5b563 configure sudo with sudoers.d/ files
Existing users should first run tasks with tagged with `sudo` to apply
these changes, and then install the latest `/etc/sudoers` file from the
sudo package (probably already on your system as `/etc/sudoers.pacnew`).

Reversing those two steps probably prevents you from sudoing.
2022-10-24 21:33:58 -07:00

8 lines
233 B
YAML

---
- name: Install OpenVPN
pacman: name=openvpn state=present
- name: Allow passwordless OpenVPN for wheel group
template: src=sudo_openvpn.j2 dest=/etc/sudoers.d/02_openvpn mode=440 validate='visudo -cf %s'
tags:
- sudo