playbook extension
This commit is contained in:
@@ -56,7 +56,7 @@ log "=== Starting firstrun on ${HOSTNAME} ==="
|
|||||||
|
|
||||||
|
|
||||||
# ---------- 4. Run Ansible playbook (lxc setup) ----------
|
# ---------- 4. Run Ansible playbook (lxc setup) ----------
|
||||||
ANSIBLE_PLAYBOOK="${APP_DIR}/ansible/playbooks/setup-lxc.yml"
|
ANSIBLE_PLAYBOOK="${APP_DIR}/ansible/playbooks/setup-lxc.yaml"
|
||||||
|
|
||||||
if [[ ! -f "${ANSIBLE_PLAYBOOK}" ]]; then
|
if [[ ! -f "${ANSIBLE_PLAYBOOK}" ]]; then
|
||||||
error_exit "Ansible playbook not found: ${ANSIBLE_PLAYBOOK}"
|
error_exit "Ansible playbook not found: ${ANSIBLE_PLAYBOOK}"
|
||||||
|
|||||||
Reference in New Issue
Block a user