tests: use test-targets group, not all group

pull/219/head
David Wilson 6 years ago
parent 7c6ce726aa
commit 962ba862e9

@ -1,6 +1,6 @@
- name: bench/file_transfer.yml
hosts: all
hosts: test-targets
any_errors_fatal: true
tasks:

@ -1 +1,3 @@
[test-targets]
localhost

@ -1,7 +1,7 @@
# Verify the behaviour of _low_level_execute_command().
- name: integration/action__low_level_execute_command.yml
hosts: all
hosts: test-targets
any_errors_fatal: true
tasks:

@ -1,6 +1,6 @@
- name: integration/action/make_tmp_path.yml
hosts: all
hosts: test-targets
any_errors_fatal: true
gather_facts: true
tasks:

@ -1,6 +1,6 @@
- name: integration/action/remote_file_exists.yml
hosts: all
hosts: test-targets
any_errors_fatal: true
tasks:

@ -1,6 +1,6 @@
- name: integration/action/transfer_data.yml
hosts: all
hosts: test-targets
any_errors_fatal: true
tasks:

@ -1,7 +1,7 @@
- name: integration/async/result_binary_producing_json.yml
gather_facts: true
hosts: all
hosts: test-targets
any_errors_fatal: true
tasks:

@ -1,7 +1,7 @@
- name: integration/async/result_binary_producing_junk.yml
gather_facts: true
hosts: all
hosts: test-targets
any_errors_fatal: true
tasks:

@ -1,7 +1,7 @@
- name: integration/async/result_shell_echo_hi.yml
gather_facts: true
hosts: all
hosts: test-targets
any_errors_fatal: true
tasks:

@ -1,7 +1,7 @@
# Verify 'async: <timeout>' functions as desired.
- name: integration/async/runner_job_timeout.yml
hosts: all
hosts: test-targets
any_errors_fatal: true
tasks:

@ -2,7 +2,7 @@
# fields.
- name: integration/async/runner_one_job.yml
hosts: all
hosts: test-targets
any_errors_fatal: true
tasks:

@ -1,6 +1,6 @@
- name: integration/async/runner_two_simultaneous_jobs.yml
hosts: all
hosts: test-targets
any_errors_fatal: true
tasks:

@ -1,5 +1,5 @@
- name: integration/become/sudo_flags_failure.yml
hosts: all
hosts: test-targets
any_errors_fatal: true
tasks:

@ -1,5 +1,5 @@
- name: integration/become/sudo_nonexistent.yml
hosts: all
hosts: test-targets
any_errors_fatal: true
tasks:

@ -1,7 +1,7 @@
# Verify passwordless sudo behaviour in various cases.
- name: integration/become/sudo_basic.yml
hosts: all
hosts: test-targets
any_errors_fatal: true
tasks:

@ -1,7 +1,7 @@
# Verify passwordful sudo behaviour
- name: integration/become/sudo_password.yml
hosts: all
hosts: test-targets
any_errors_fatal: true
tasks:

@ -1,7 +1,7 @@
# Verify requiretty support
- name: integration/become/sudo_requiretty.yml
hosts: all
hosts: test-targets
any_errors_fatal: true
tasks:

@ -1,7 +1,7 @@
# Ensure 'local' connections are grabbed.
- name: integration/connection_loader__local_blemished.yml
hosts: all
hosts: test-targets
any_errors_fatal: true
tasks:
- determine_strategy:

@ -1,7 +1,7 @@
# Ensure paramiko connections aren't grabbed.
- name: integration/connection_loader__paramiko_unblemished.yml
hosts: all
hosts: test-targets
any_errors_fatal: true
tasks:
- custom_python_detect_environment:

@ -1,7 +1,7 @@
# Ensure 'ssh' connections are grabbed.
- name: integration/connection_loader__ssh_blemished.yml
hosts: all
hosts: test-targets
any_errors_fatal: true
tasks:
- determine_strategy:

@ -1,7 +1,7 @@
# Verify a maximum number of contexts are possible on one machine.
- name: integration/context_service/lru_one_target.yml
hosts: all
hosts: test-targets
any_errors_fatal: true
vars:
max_interps: "{{lookup('env', 'MITOGEN_MAX_INTERPRETERS')}}"

@ -2,7 +2,7 @@
# cleanup of dependent (via=) contexts.
- name: integration/context_service/reconnection.yml
hosts: all
hosts: test-targets
any_errors_fatal: true
tasks:

@ -3,7 +3,7 @@
#
- name: integration/playbook_semantics/become_flags.yml
hosts: all
hosts: test-targets
any_errors_fatal: true
tasks:
@ -15,7 +15,7 @@
- assert:
that: "out.stdout == ''"
- hosts: all
- hosts: test-targets
any_errors_fatal: true
become_flags: -E
tasks:

@ -1,5 +1,5 @@
- name: integration/playbook_semantics/delegate_to.yml
hosts: all
hosts: test-targets
any_errors_fatal: true
tasks:
#

@ -1,7 +1,7 @@
# Ensure environment: is preserved during call.
- name: integration/playbook_semantics/environment.yml
hosts: all
hosts: test-targets
any_errors_fatal: true
tasks:
- shell: echo $SOME_ENV

@ -2,7 +2,7 @@
# the correct context.
- name: integration/playbook_semantics/with_items.yml
hosts: all
hosts: test-targets
any_errors_fatal: true
tasks:

@ -1,6 +1,6 @@
- name: integration/runner__builtin_command_module.yml
hosts: all
hosts: test-targets
any_errors_fatal: true
gather_facts: true
tasks:

@ -1,5 +1,5 @@
- name: integration/runner__custom_bash_old_style_module.yml
hosts: all
hosts: test-targets
any_errors_fatal: true
tasks:

@ -1,5 +1,5 @@
- name: integration/runner__custom_bash_want_json_module.yml
hosts: all
hosts: test-targets
any_errors_fatal: true
tasks:
- custom_bash_want_json_module:

@ -1,5 +1,5 @@
- name: integration/runner__custom_binary_producing_json.yml
hosts: all
hosts: test-targets
any_errors_fatal: true
tasks:
- custom_binary_producing_json:

@ -1,5 +1,5 @@
- name: integration/runner__custom_binary_producing_junk.yml
hosts: all
hosts: test-targets
tasks:
- custom_binary_producing_junk:
foo: true
@ -8,7 +8,7 @@
register: out
- hosts: all
- hosts: test-targets
any_errors_fatal: true
tasks:
- debug: msg={{out}}

@ -1,5 +1,5 @@
- name: integration/runner__custom_binary_single_null.yml
hosts: all
hosts: test-targets
tasks:
- custom_binary_single_null:
foo: true
@ -7,7 +7,7 @@
ignore_errors: true
register: out
- hosts: all
- hosts: test-targets
any_errors_fatal: true
tasks:
- assert:

@ -1,5 +1,5 @@
- name: integration/runner__custom_perl_json_args_module.yml
hosts: all
hosts: test-targets
any_errors_fatal: true
tasks:
- custom_perl_json_args_module:

@ -1,5 +1,5 @@
- name: integration/runner__custom_perl_want_json_module.yml
hosts: all
hosts: test-targets
any_errors_fatal: true
tasks:
- custom_perl_want_json_module:

@ -1,5 +1,5 @@
- name: integration/runner__custom_python_json_args_module.yml
hosts: all
hosts: test-targets
any_errors_fatal: true
tasks:
- custom_python_json_args_module:

@ -1,6 +1,6 @@
- name: integration/runner__custom_python_new_style_module.yml
hosts: all
hosts: test-targets
any_errors_fatal: true
tasks:
- custom_python_new_style_missing_interpreter:

@ -1,5 +1,5 @@
- name: integration/runner__custom_python_new_style_module.yml
hosts: all
hosts: test-targets
any_errors_fatal: true
tasks:
- custom_python_new_style_module:

@ -1,5 +1,5 @@
- name: integration/runner__custom_python_want_json_module.yml
hosts: all
hosts: test-targets
any_errors_fatal: true
tasks:
- custom_python_want_json_module:

@ -1,5 +1,5 @@
- name: integration/runner/custom_script_interpreter.yml
hosts: all
hosts: test-targets
any_errors_fatal: true
tasks:

@ -1,6 +1,6 @@
- name: integration/runner/forking_behaviour.yml
hosts: all
hosts: test-targets
any_errors_fatal: true
tasks:

@ -4,7 +4,7 @@
# remotely.
#
- name: integration/runner__remote_tmp.yml
hosts: all
hosts: test-targets
any_errors_fatal: true
gather_facts: true
tasks:

@ -6,7 +6,7 @@
# WARNING: this creates non-privilged accounts with pre-set passwords!
#
- hosts: all
- hosts: test-targets
gather_facts: true
become: true
tasks:

@ -2,7 +2,7 @@
# does not conflict with operation.
- name: regression/issue_109__target_has_old_ansible_installed.yml
hosts: all
hosts: test-targets
any_errors_fatal: true
gather_facts: true
tasks:

@ -3,7 +3,7 @@
- name: regression/issue_113__duplicate_module_imports.yml
any_errors_fatal: true
hosts: all
hosts: test-targets
tasks:
- name: Get auth token

@ -1,7 +1,7 @@
# issue #118 repro: chmod +x not happening during script upload
- name: regression/issue_118__script_not_marked_exec.yml
hosts: all
hosts: test-targets
become: True
tasks:

@ -6,7 +6,7 @@
#
- name: regression/issue_122__environment_difference.yml
hosts: all
hosts: test-targets
tasks:
- script: scripts/print_env.sh

@ -3,7 +3,7 @@
# with_items should crash for other reasons (RAM, file descriptor count, ..)
- name: regression/issue_140__thread_pileup.yml
hosts: all
hosts: test-targets
any_errors_fatal: true
tasks:

@ -4,7 +4,7 @@
# can test for.
- name: regression/issue_152__local_action_wrong_interpreter.yml
hosts: all
hosts: test-targets
connection: local
any_errors_fatal: true
tasks:

@ -1,6 +1,6 @@
- name: regression/issue_152__virtualenv_python_fails.yml
any_errors_fatal: true
hosts: all
hosts: test-targets
tasks:
# Can't use pip module because you can't fricking just create a virtualenv,

@ -3,7 +3,7 @@
- name: regression/issue_154__module_state_leaks.yml
any_errors_fatal: true
hosts: all
hosts: test-targets
tasks:
- custom_python_leaky_class_vars:

@ -1,6 +1,6 @@
- name: regression/issue_177__copy_module_failing.yml
any_errors_fatal: true
hosts: all
hosts: test-targets
tasks:
- copy:

Loading…
Cancel
Save