From e9dc88f33d400a24f868f190bced3998e4f88191 Mon Sep 17 00:00:00 2001 From: Vlad R Date: Wed, 2 Aug 2023 07:56:40 +0000 Subject: [PATCH] Added Ansible Tower host to inventory + added step to ensure SUDO group exists for the prestage_users playbook --- dnaclab_linux/inventory.yml | 5 ++++- dnaclab_linux/prestage_users.yaml | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/dnaclab_linux/inventory.yml b/dnaclab_linux/inventory.yml index 852b722..cec2744 100644 --- a/dnaclab_linux/inventory.yml +++ b/dnaclab_linux/inventory.yml @@ -10,6 +10,9 @@ all: gitlab: hosts: gitlab.dnaclab.net: + ansibletower: + hosts: + ansibletower.dnaclab.net: kubernetes: hosts: 10.221.0.130: @@ -20,7 +23,7 @@ all: 10.221.0.105: developer2: hosts: - 10.221.0.125: + developer2.dnaclab.net: kubernetes_dev: hosts: 172.16.1.130: diff --git a/dnaclab_linux/prestage_users.yaml b/dnaclab_linux/prestage_users.yaml index f127248..9ea61f8 100644 --- a/dnaclab_linux/prestage_users.yaml +++ b/dnaclab_linux/prestage_users.yaml @@ -1,6 +1,6 @@ --- - name: Prestage server(s) with the NCA Automation team users - hosts: staging + hosts: ansibletower roles: - ncafsa-users become: yes