infra/ansible/roles/local-server-head/tasks/main.yaml
shockrah 47b69d7f49
Some checks failed
Ansible Linting / ansible-lint (push) Failing after 4s
Secops Linting and Safety Checks / checkov-scan-s3 (push) Failing after 14s
Nomad now responds to the basic nomad.nigel.local DNS name
2025-05-10 17:26:45 -07:00

33 lines
745 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 the reverse proxy outside of nomad
tags: proxy
ansible.builtin.include_tasks:
file: reverse_proxy.yaml
apply:
become: true
tags:
- proxy