ansible-experiments/package_updates/setup-requirements
2018-05-14 21:47:18 -07:00

19 lines
550 B
Bash
Executable file

#!/bin/sh
# c-basic-offset: 4; tab-width: 4; indent-tabs-mode: t
# vi: set shiftwidth=4 tabstop=4 noexpandtab:
# :indentSize=4:tabSize=4:noTabs=false:
set -o nounset
set -o errexit
# Uncomment for enhancements in bash
#set -o pipefail
vagrant up
vagrant ssh-config > vagrant-ssh-config
ansible-galaxy install -r roles/requirements.yml
ansible-playbook --ssh-extra-args "-F ./vagrant-ssh-config" --inventory hosts-vagrant base-setup.yml
ansible-playbook --ssh-extra-args "-F ./vagrant-ssh-config" --inventory hosts-vagrant os_upgrade.yml --check