Swapping basic setup steps for sudo access
Some checks failed
Ansible Linting / ansible-lint (push) Failing after 3s
Secops Linting and Safety Checks / checkov-scan-s3 (push) Failing after 19s

This commit is contained in:
shockrah 2025-05-25 22:57:30 -07:00
parent be34327791
commit 8ef606153f

View File

@ -1,3 +1,11 @@
- name: Ensure nigel can use sudo without password
become: true
tags:
- setup
ansible.builtin.lineinfile:
path: /etc/sudoers
state: present
line: "nigel ALL=(ALL) NOPASSWD:ALL"
- name: Ensure docker components are installed - name: Ensure docker components are installed
tags: tags:
- setup - setup
@ -7,14 +15,6 @@
become: true become: true
tags: tags:
- setup - setup
- name: Ensure nigel can use sudo without password
become: true
tags:
- setup
ansible.builtin.lineinfile:
path: /etc/sudoers
state: present
line: "nigel ALL=(ALL) NOPASSWD:ALL"
- name: Run through nomad installation steps - name: Run through nomad installation steps
tags: nomad tags: nomad
ansible.builtin.include_tasks: ansible.builtin.include_tasks: