Added Prometheus Stuffs
This commit is contained in:
parent
9e4494b89b
commit
9f457f7c8c
20 changed files with 433 additions and 3 deletions
13
setup_new_machine
Executable file
13
setup_new_machine
Executable file
|
|
@ -0,0 +1,13 @@
|
|||
#!/bin/bash
|
||||
|
||||
clear
|
||||
echo "" > ansible.log
|
||||
ANSIBLE_PATH=ansible-playbook
|
||||
|
||||
if hash ansible-playbook 2>/dev/null; then
|
||||
ANSIBLE_PATH=ansible-playbook
|
||||
else
|
||||
ANSIBLE_PATH=./.venv/bin/ansible-playbook
|
||||
fi
|
||||
|
||||
$ANSIBLE_PATH --vault-password-file vault-password.txt -e 'ansible_user=root' -e 'ansible_private_key_file=/workspaces/minilab/ansible_ed25519' -e 'ansible_become_method=sudo' minilab.yaml $@
|
||||
Loading…
Add table
Add a link
Reference in a new issue