Skip to content

Commit

Permalink
Add a script to provision down files in a, hopefully, common fashion
Browse files Browse the repository at this point in the history
  • Loading branch information
Purg committed Apr 19, 2024
1 parent 53b0c51 commit 4d8ad7c
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions angel-provision-files.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/bin/bash
#
# Standard method of invoking ansible based file provisioning.
#
set -e

SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"

pushd "${SCRIPT_DIR}"

ansible-playbook \
-i ansible/hosts.yml \
-e ansible_python_interpreter=python3 \
ansible/provision_files.yml

0 comments on commit 4d8ad7c

Please sign in to comment.