Ansible_workstation/roles/core/tasks/main.yml

16 lines
288 B
YAML

---
# tasks file for core
- name: Install os-specific packages
include_tasks: "{{ ansible_os_family | lower }}.yml"
- name: Configure sudoers
template:
src: files/sudoers
dest: /etc/sudoers
mode: 0440
- name: Create sudo group
group:
name: sudo
state: present