Skip to content

Instantly share code, notes, and snippets.

@KyMidd
Created November 22, 2019 04:00
Show Gist options
  • Save KyMidd/e692d74d189197a959a1aa28a029c7d7 to your computer and use it in GitHub Desktop.
Save KyMidd/e692d74d189197a959a1aa28a029c7d7 to your computer and use it in GitHub Desktop.
# Execute AWS2ASAPlaybook playbook - script pushes to ASA
echo "Executing playbook with ansible"
ansible-playbook AWS2ASAPlaybook
# Finish
FINISHDATE=`date '+%m-%d-%Y %H:%M:%S'`
echo "Fw1 AWS IPs updated by Ansible on" $FINISHDATE "by" $HOSTNAME
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment