mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 21:32:49 +00:00
@@ -11,3 +11,9 @@
|
||||
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']
|
||||
|
||||
@@ -51,6 +51,6 @@ PASSWORD='test'
|
||||
USER=${USER:-'broken_docker'}
|
||||
JSON_EXTRA_ARGS='{"docker_registries_login": [{ "docker_password": "'"${PASSWORD}"'", "docker_username": "'"${USER}"'", "docker_registry_url":"repository-manager.company.com:5001"}], "docker_registries_logout": [{ "docker_password": "'"${PASSWORD}"'", "docker_username": "'"${USER}"'", "docker_registry_url":"repository-manager.company.com:5001"}] }'
|
||||
|
||||
ANSIBLE_CONFIG='' ansible-pull -d "${pull_dir}" -U "${repo_dir}" -e "${JSON_EXTRA_ARGS}" "$@" | tee "${temp_log}"
|
||||
ANSIBLE_CONFIG='' ansible-pull -d "${pull_dir}" -U "${repo_dir}" -e "${JSON_EXTRA_ARGS}" "$@" --tags untagged,test_ev | tee "${temp_log}"
|
||||
|
||||
pass_tests
|
||||
|
||||
Reference in New Issue
Block a user