From 202de6d2b49bd31affc1b56fb47434831eda91ed Mon Sep 17 00:00:00 2001 From: Ethan Paul Date: Fri, 5 Nov 2021 23:11:30 -0400 Subject: [PATCH] Fix mismatched access targets for cluster operations --- inventory.yaml | 8 ++++---- vars/access.yaml | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/inventory.yaml b/inventory.yaml index 1b77964..d4fdb84 100644 --- a/inventory.yaml +++ b/inventory.yaml @@ -29,22 +29,23 @@ en1: cluster: vars: + skylab_targets: [cluster, datastore] skylab_roles: - server - docker-swarm-manager - datastore + hosts: pegasus: # jupiter ansible_host: 10.42.101.100 skylab_description: Arbiter Node - skylab_targets: [cluster, datastore] skylab_cluster: address: 10.42.101.10/24 interface: bond0 saturn: # remus ansible_host: 10.42.101.110 - skylab_description: Operation Node + skylab_description: Operational Node skylab_cluster: address: 10.42.101.110/24 interface: bond0 @@ -67,8 +68,7 @@ en1: orion: # romulus ansible_host: 10.42.101.120 - skylab_description: Operation Node - skylab_targets: [cluster, datastore] + skylab_description: Operational Node skylab_cluster: address: 10.42.101.12/24 interface: bond0 diff --git a/vars/access.yaml b/vars/access.yaml index bca2142..0208b07 100644 --- a/vars/access.yaml +++ b/vars/access.yaml @@ -3,13 +3,13 @@ skylab_accounts: - name: enpaul uid: 1300 fullname: Ethan N. Paul - targets: [cloud, network] + targets: [network, datastore, cluster] admin: true password: $y$j9T$cWkd9aGj4sNepyJm5NVZl0$yBhFy3cN3syM8r4doGYnsLZhsaTLQVoDIBs2kkXtxY2 - name: ansible uid: 1400 - targets: [cloud, network] + targets: [network, datastore, cluster] admin: true service: true password: $y$j9T$w/pIBtZIMo3PmXccZ.LHi1$AbMVIks.P10CyuK8tWt21O4JuLpKGpWTFgX0WlTbiw6