summaryrefslogtreecommitdiffstats
path: root/test/integration/targets/ansible-pull/pull-integration-test/local.yml
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 16:04:21 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 16:04:21 +0000
commit8a754e0858d922e955e71b253c139e071ecec432 (patch)
tree527d16e74bfd1840c85efd675fdecad056c54107 /test/integration/targets/ansible-pull/pull-integration-test/local.yml
parentInitial commit. (diff)
downloadansible-core-8a754e0858d922e955e71b253c139e071ecec432.tar.xz
ansible-core-8a754e0858d922e955e71b253c139e071ecec432.zip
Adding upstream version 2.14.3.upstream/2.14.3upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'test/integration/targets/ansible-pull/pull-integration-test/local.yml')
-rw-r--r--test/integration/targets/ansible-pull/pull-integration-test/local.yml20
1 files changed, 20 insertions, 0 deletions
diff --git a/test/integration/targets/ansible-pull/pull-integration-test/local.yml b/test/integration/targets/ansible-pull/pull-integration-test/local.yml
new file mode 100644
index 0000000..d358ee8
--- /dev/null
+++ b/test/integration/targets/ansible-pull/pull-integration-test/local.yml
@@ -0,0 +1,20 @@
+- name: test playbook for ansible-pull
+ hosts: all
+ gather_facts: False
+ tasks:
+ - name: debug output
+ debug: msg="test task"
+ - name: check for correct inventory
+ debug: msg="testing for inventory content"
+ failed_when: "'testhost1.example.com' not in groups['all']"
+ - name: check for correct limit
+ debug: msg="testing for limit"
+ failed_when: "'testhost1.example.com' == inventory_hostname"
+ - name: final task, has to be reached for the test to succeed
+ debug: msg="MAGICKEYWORD"
+
+ - name: check that extra vars are correclty passed
+ assert:
+ that:
+ - docker_registries_login is defined
+ tags: ['never', 'test_ev']