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
|
echo "$PASSWORD" > ~/.ansible/vault/matte.yml
|
||||||
fi
|
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 "
|
echo "
|
||||||
==============================
|
==============================
|
||||||
|
|||||||
+2
-2
@@ -21,7 +21,7 @@ decrypt() {
|
|||||||
list() {
|
list() {
|
||||||
echo "${underline}Listing...${nounderline}"
|
echo "${underline}Listing...${nounderline}"
|
||||||
i=0
|
i=0
|
||||||
for file in inventories/*/group_vars/* inventories/*/host_vars/*;
|
for file in ansible/inventories/*/group_vars/* ansible/inventories/*/host_vars/*;
|
||||||
do
|
do
|
||||||
i=$((i + 1))
|
i=$((i + 1))
|
||||||
echo $i")"$file
|
echo $i")"$file
|
||||||
@@ -29,7 +29,7 @@ list() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
execute() {
|
execute() {
|
||||||
for file in inventories/*/group_vars/* inventories/*/host_vars/*;
|
for file in ansible/inventories/*/group_vars/* ansible/inventories/*/host_vars/*;
|
||||||
do
|
do
|
||||||
i=$((i + 1))
|
i=$((i + 1))
|
||||||
echo $i")"$file
|
echo $i")"$file
|
||||||
|
|||||||
Reference in New Issue
Block a user