mirror of https://github.com/ansible/ansible.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
411 B
Bash
15 lines
411 B
Bash
4 years ago
|
#!/usr/bin/env bash
|
||
|
|
||
|
set -ux
|
||
|
|
||
|
ansible-playbook setup.yml -i inventory -v "$@"
|
||
|
|
||
|
export ANSIBLE_KEEP_REMOTE_FILES=True
|
||
|
export ANSIBLE_COMMON_REMOTE_GROUP=notcoolenoughforroot
|
||
|
export ANSIBLE_BECOME_PASS='iWishIWereCoolEnoughForRoot!'
|
||
|
|
||
|
ansible-playbook test.yml -i inventory -v "$@"
|
||
|
|
||
|
# Do a few cleanup tasks (nuke users, groups, and homedirs, undo config changes)
|
||
|
ansible-playbook cleanup.yml -i inventory -v "$@"
|