infra/ansible/roles/local-server-head/tasks/main.yaml
shockrah 55217ce50b
Some checks failed
Ansible Linting / ansible-lint (push) Failing after 4s
Secops Linting and Safety Checks / checkov-scan-s3 (push) Failing after 17s
Ensure nigel sudo ability is setup
2025-04-23 22:25:23 -07:00

15 lines
371 B
YAML

- name: Ensure docker components are installed
tags:
- setup
ansible.builtin.include_tasks:
file: ensure-docker-basic.yaml
apply:
become: true
tags:
- setup
- name: Ensure nigel can use sudo without password
become: true
ansible.builtin.lineinfile:
path: /etc/sudoers
state: present
line: "nigel ALL=(ALL) NOPASSWD:ALL"