Skip to content

Commit

Permalink
fixup! tests: Dip our toes into using Ansible
Browse files Browse the repository at this point in the history
  • Loading branch information
cgwalters committed Mar 9, 2018
1 parent b20632f commit f1eceed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/common/libvm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ vm_setup() {
cat >${topsrcdir}/ansible-inventory.yml <<EOF
all:
hosts:
vmcheck:
${VM}:
ansible_ssh_common_args: "${sshopts}"
EOF
}
Expand All @@ -47,7 +47,7 @@ vm_ansible_inline() {
playbook=$(mktemp -p /tmp 'libvm-ansible.XXXXXX')
cat > ${playbook} <<EOF
---
- hosts: vmcheck
- hosts: ${VM}
tasks:
EOF
sed -e 's,^, ,' >> ${playbook}
Expand Down

0 comments on commit f1eceed

Please sign in to comment.