Tidy-up + added new dev-k8s environment to inventory

This commit is contained in:
Vlad R
2023-06-18 19:32:36 +00:00
parent e319b004c9
commit 029e30e828
7 changed files with 12 additions and 93 deletions
+9
View File
@@ -18,3 +18,12 @@ all:
staging:
hosts:
10.221.0.105:
developer2:
hosts:
10.221.0.125:
kubernetes-dev:
hosts:
172.16.1.130:
172.16.1.131:
172.16.1.132:
172.16.1.133:
+2 -2
View File
@@ -1,6 +1,6 @@
---
- name: Prestage server(s) with the NCA Automation team users
hosts: staging
hosts: kubernetes-dev
roles:
- ncafsa-users
become: yes
@@ -17,4 +17,4 @@
shell: "/bin/bash"
group: "sudo"
password: "{{ item.value }}"
loop: "{{ lookup('dict', users) }}"
loop: "{{ lookup('dict', users) }}"
+1 -1
View File
@@ -1,6 +1,6 @@
---
- name: Update and upgrade packages on Ubuntu VMs
hosts: all_servers
hosts: kubernetes-dev
become: yes
vars_files:
- global_vars/main.yml