tests: use test-targets group, not all group

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

@ -1,6 +1,6 @@
- name: regression/issue_152__virtualenv_python_fails.yml - name: regression/issue_152__virtualenv_python_fails.yml
any_errors_fatal: true any_errors_fatal: true
hosts: all hosts: test-targets
tasks: tasks:
# Can't use pip module because you can't fricking just create a virtualenv, # 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 - name: regression/issue_154__module_state_leaks.yml
any_errors_fatal: true any_errors_fatal: true
hosts: all hosts: test-targets
tasks: tasks:
- custom_python_leaky_class_vars: - custom_python_leaky_class_vars:

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

Loading…
Cancel
Save