blob: eb0f480d9afe1edc68228f226ccc31ac5278d121 [file] [log] [blame]
#!/bin/bash
if [ "$#" -gt 0 -a "$1" = "stage" ]
then
echo "Formatting card to connect to staging image /opt/stage"
ansible-playbook -i "localhost," -c local format_new_card.yml --extra-vars "nfs_mount_point=/opt/stage"
else
echo "Formatting card to connect to production image /opt/prod"
ansible-playbook -i "localhost," -c local format_new_card.yml
fi