2020-02-18 07:09:23 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
2020-03-03 22:20:24 +00:00
|
|
|
PLAYBOOK="${1:-playbook.yml}"
|
2020-03-10 23:43:33 +00:00
|
|
|
#DEBUG="-vvv"
|
|
|
|
TAGS="--tags configure"
|
2020-02-18 07:09:23 +00:00
|
|
|
|
2020-03-03 22:20:24 +00:00
|
|
|
# run playbook on aready running qemu vm
|
2020-03-10 23:43:33 +00:00
|
|
|
ansible-playbook $DEBUG -i inventory_test.ini $TAGS --extra-vars "ssh_pub=$(cat ../id_rsa_qemu) generated_user=antoine generated_group=antoine" $PLAYBOOK
|