Skip to content
This repository has been archived by the owner on Mar 24, 2021. It is now read-only.

Commit

Permalink
Relocate scripts to get around shebang max limit
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim Jacomb committed Sep 27, 2018
1 parent 5d23356 commit 5d0c47f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pan-os-config.tf
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ resource "null_resource" "panos_settings" {
fi
source ${path.module}/venv/bin/activate
pip install ansible
virtualenv --relocatable ${path.module}/venv
set +x
ansible-galaxy install PaloAltoNetworks.paloaltonetworks --roles-path=${path.module}/roles
ANSIBLE_ROLES_PATH="${path.module}/roles" ansible-playbook -i ${path.module}/pan-os-ansible/inventory.ini -e ansible_python_interpreter=${path.module}/venv/bin/python2 ${path.module}/pan-os-ansible/playbook.yml
Expand Down

0 comments on commit 5d0c47f

Please sign in to comment.