ansible/roles/sudo/tasks/main.yaml

15 lines
256 B
YAML
Raw Normal View History

2019-11-22 21:09:18 -06:00
---
- name: install
package:
name: "{{ sudo_package_name }}"
state: "{{ sudo_package_state }}"
- name: configure
template:
src: "sudoers.j2"
dest: /etc/sudoers
owner: root
group: root
mode: 0440
validate: visudo -cf %s