fix
This commit is contained in:
7
promtail-ansible/install-promtail.sh
Normal file → Executable file
7
promtail-ansible/install-promtail.sh
Normal file → Executable file
@@ -1,3 +1,8 @@
|
||||
#!/bin/bash
|
||||
|
||||
ansible-playbook -i inventory install-protail.yml --vault-password-file ~/.ssh/.vault_pass.txt
|
||||
[[ "$OSTYPE" == "darwin"* ]] && {
|
||||
echo "Fix ansible bug from https://bit.ly/3tO7ef3"
|
||||
export OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES
|
||||
}
|
||||
|
||||
ansible-playbook -i inventory install-promtail.yml --vault-password-file ~/.ssh/.vault_pass.txt
|
||||
|
Reference in New Issue
Block a user