Add command to get ansible facts
All checks were successful
/ terraform (push) Successful in 46s
/ ansible (push) Successful in 1m21s

This commit is contained in:
Jake Howard 2024-07-14 21:25:10 +01:00
parent 6d3180a332
commit 43051235bd
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -10,6 +10,9 @@ ansible-setup:
pip install -r ansible/dev-requirements.txt pip install -r ansible/dev-requirements.txt
cd ansible/ && ansible-galaxy install -r galaxy-requirements.yml --force cd ansible/ && ansible-galaxy install -r galaxy-requirements.yml --force
@ansible-facts HOST:
cd ansible/ && ansible -m setup {{ HOST }} --vault-password-file=vault-pass.sh
# Run terraform with required environment # Run terraform with required environment
terraform +ARGS: terraform +ARGS:
#!/usr/bin/env bash #!/usr/bin/env bash