mirror of
https://github.com/MatteZ02/infra.git
synced 2026-09-15 08:36:52 +00:00
Init & Protect Update
This commit is contained in:
@@ -45,7 +45,7 @@ then
|
||||
echo "$PASSWORD" > ~/.ansible/vault/matte.yml
|
||||
fi
|
||||
|
||||
~/.venv/ansible/bin/ansible-pull -U ssh://git@github.com/MatteZ02/infra -d ~/.ansible/pull/matte/infra --accept-host-key --private-key ~/.ssh/keys/matte/infra --vault-password-file ~/.ansible/vault/matte.yml tasks.yml -t installer
|
||||
~/.venv/ansible/bin/ansible-pull -U ssh://git@github.com/MatteZ02/infra -d ~/.ansible/pull/matte/infra --accept-host-key --private-key ~/.ssh/keys/matte/infra --vault-password-file ~/.ansible/vault/matte.yml ansible/tasks.yml -t installer
|
||||
|
||||
echo "
|
||||
==============================
|
||||
|
||||
+2
-2
@@ -21,7 +21,7 @@ decrypt() {
|
||||
list() {
|
||||
echo "${underline}Listing...${nounderline}"
|
||||
i=0
|
||||
for file in inventories/*/group_vars/* inventories/*/host_vars/*;
|
||||
for file in ansible/inventories/*/group_vars/* ansible/inventories/*/host_vars/*;
|
||||
do
|
||||
i=$((i + 1))
|
||||
echo $i")"$file
|
||||
@@ -29,7 +29,7 @@ list() {
|
||||
}
|
||||
|
||||
execute() {
|
||||
for file in inventories/*/group_vars/* inventories/*/host_vars/*;
|
||||
for file in ansible/inventories/*/group_vars/* ansible/inventories/*/host_vars/*;
|
||||
do
|
||||
i=$((i + 1))
|
||||
echo $i")"$file
|
||||
|
||||
Reference in New Issue
Block a user