From 6a6f99b11f6efe5216b308549ebb454abad2f657 Mon Sep 17 00:00:00 2001 From: James Hackett Date: Thu, 8 Dec 2022 01:01:27 +0000 Subject: [PATCH] adds new role for just nomad members --- ansible/redbrick-ansible.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/ansible/redbrick-ansible.yml b/ansible/redbrick-ansible.yml index eafe6c2..839b297 100644 --- a/ansible/redbrick-ansible.yml +++ b/ansible/redbrick-ansible.yml @@ -4,6 +4,11 @@ hosts: all gather_facts: true roles: - # - { role: apt } # update all packages, equivalent to `apt update && apt upgrade` - # - { role: ssh } # add users defined in roles/defaults/main.yml - # - { role: fail2ban } # add and configure fail2ban with jail file located in `templates/fail2ban.jail` + #- { role: apt } # update all packages, equivalent to `apt update && apt upgrade` + #- { role: ssh } # add users defined in roles/defaults/main.yml + #- { role: fail2ban } # add and configure fail2ban with jail file located in `templates/fail2ban.jail` + +- name: Configure Nomad + hosts: nomad + roles: + - { role: configure-nomad } # install nomad, configure the client & server based on `templates/` and vars on nomad group \ No newline at end of file