infra/ansible/roles/local-server-head/tasks/main.yaml
shockrah 053db8793b
Some checks failed
Ansible Linting / ansible-lint (push) Failing after 4s
Secops Linting and Safety Checks / checkov-scan-s3 (push) Failing after 14s
Moving proxy things to its own playbook + role
2025-05-23 01:42:40 -07:00

33 lines
761 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
tags:
- setup
ansible.builtin.lineinfile:
path: /etc/sudoers
state: present
line: "nigel ALL=(ALL) NOPASSWD:ALL"
- name: Run through nomad installation steps
tags: nomad
ansible.builtin.include_tasks:
file: nomad.yaml
apply:
become: true
tags:
- nomad
- name: Setup data directory for the nomad host volumes
tags: volumes
ansible.builtin.include_tasks:
file: nomad-host-volumes.yaml
apply:
become: true
tags:
- volumes