tests: Remove --limit when running Ansible localhost CI
Some tests were being incorrectly excluded. Including those that use `add_host`. refs #1066, #1069
This commit is contained in:
parent
d2eefc06aa
commit
60f868290d
|
@ -93,5 +93,5 @@ with ci_lib.Fold('machine_prep'):
|
|||
with ci_lib.Fold('ansible'):
|
||||
os.chdir(TESTS_DIR)
|
||||
playbook = os.environ.get('PLAYBOOK', 'all.yml')
|
||||
ci_lib.run('./run_ansible_playbook.py %s -l target %s',
|
||||
ci_lib.run('./run_ansible_playbook.py %s %s',
|
||||
playbook, ' '.join(sys.argv[1:]))
|
||||
|
|
|
@ -4,11 +4,19 @@
|
|||
# since things are ran on localhost; Azure DevOps loses connection and fails
|
||||
# TODO: do we want to install docker a different way to be able to do this for other tests too
|
||||
---
|
||||
- name: regression/issue_655_wait_for_connection_error.yml
|
||||
- name: regression/issue_655__wait_for_connection_error.yml
|
||||
hosts: localhost
|
||||
gather_facts: yes
|
||||
become: no
|
||||
tasks:
|
||||
- meta: end_play
|
||||
when:
|
||||
# TODO CI currently runs on macOS 11 images in Azure DevOps. MacOS 11
|
||||
# is no longer supported by homebrew, so the following install
|
||||
# task fails.
|
||||
- ansible_facts.system == 'Darwin'
|
||||
- ansible_facts.distribution_major_version == '11'
|
||||
|
||||
- name: set up test container and run tests inside it
|
||||
block:
|
||||
- name: install deps
|
||||
|
|
Loading…
Reference in New Issue