summaryrefslogtreecommitdiff
path: root/test/integration/targets/pull
diff options
context:
space:
mode:
authorMatt Clay <matt@mystile.com>2018-01-23 10:08:16 -0800
committerGitHub <noreply@github.com>2018-01-23 10:08:16 -0800
commit4f6017dc1629361cce6fa3e2e035a4710550db9e (patch)
tree971cfbb1f4dfe03d5ee3cd67d4ca1dd6def7845f /test/integration/targets/pull
parent060001b08d98969217156b2b696613ade44eb8c5 (diff)
downloadansible-4f6017dc1629361cce6fa3e2e035a4710550db9e.tar.gz
Move requirements into tests. (#35197)
Diffstat (limited to 'test/integration/targets/pull')
-rwxr-xr-xtest/integration/targets/pull/runme.sh2
-rw-r--r--test/integration/targets/pull/setup.yml6
2 files changed, 8 insertions, 0 deletions
diff --git a/test/integration/targets/pull/runme.sh b/test/integration/targets/pull/runme.sh
index 7334df93ca..0ad9e01ba9 100755
--- a/test/integration/targets/pull/runme.sh
+++ b/test/integration/targets/pull/runme.sh
@@ -11,6 +11,8 @@ repo_dir="${temp_dir}/repo"
pull_dir="${temp_dir}/pull"
temp_log="${temp_dir}/pull.log"
+ansible-playbook setup.yml
+
cp -av "pull-integration-test" "${repo_dir}"
cd "${repo_dir}"
(
diff --git a/test/integration/targets/pull/setup.yml b/test/integration/targets/pull/setup.yml
new file mode 100644
index 0000000000..581902474d
--- /dev/null
+++ b/test/integration/targets/pull/setup.yml
@@ -0,0 +1,6 @@
+- hosts: localhost
+ tasks:
+ - name: install git
+ package:
+ name: git
+ when: ansible_distribution != "MacOSX"