From 8f965c3e2b27a4811555a14971b1de8e3ab7d8b0 Mon Sep 17 00:00:00 2001 From: Ethan Paul <24588726+enpaul@users.noreply.github.com> Date: Sat, 1 Apr 2023 22:01:55 -0400 Subject: [PATCH] Restructure inventory for updated deployment schemas --- ansible.cfg | 3 +-- inventory.yaml => inventory/en1.yaml | 0 inventory/group_vars/all.yaml | 4 ++++ 3 files changed, 5 insertions(+), 2 deletions(-) rename inventory.yaml => inventory/en1.yaml (100%) create mode 100644 inventory/group_vars/all.yaml diff --git a/ansible.cfg b/ansible.cfg index 0bf331f..57740c8 100644 --- a/ansible.cfg +++ b/ansible.cfg @@ -1,8 +1,7 @@ [defaults] host_key_checking = true collections_path = .ansible -inventory = inventory.yaml -ask_vault_pass = true +inventory = inventory/ [ssh_connection] ssh_args = "-o ControlMaster=auto -o ControlPersist=60s" diff --git a/inventory.yaml b/inventory/en1.yaml similarity index 100% rename from inventory.yaml rename to inventory/en1.yaml diff --git a/inventory/group_vars/all.yaml b/inventory/group_vars/all.yaml new file mode 100644 index 0000000..18d2039 --- /dev/null +++ b/inventory/group_vars/all.yaml @@ -0,0 +1,4 @@ +--- +skylab_mgmt_keys: +- ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIP5TGKururOa1Y+cbv8AWXYI5zhfZCDV0fsBG+33IYUc enpaul@ansible.voyager +- ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBf7i/8hSJDYnoD95noCJJVtSxxCp9N5EmnshALufiwm enpaul@ansible.opportunity