CHANGE: moves scripts into a new directory
This commit is contained in:
Executable
+3
@@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
source .venv/bin/activate
|
||||
ansible-playbook playbooks/maintain.yaml --vault-pass-file ~/vault_password -i inventory/hosts.yaml --private-key ~/.ssh/ansible_key
|
||||
Executable
+12
@@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
|
||||
source .venv/bin/activate
|
||||
|
||||
# Install python packages
|
||||
pip install -r requirements.txt
|
||||
|
||||
# Install collections from the file
|
||||
ansible-galaxy collection install -r requirements.yml -p ./collections/
|
||||
|
||||
# Install roles
|
||||
ansible-galaxy role install -r requirements.yml -p ./roles/
|
||||
Reference in New Issue
Block a user