33 lines
745 B
YAML
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 |