tests: Use meaningful play names

pull/949/head
Alex Willmer 2 years ago
parent c1e72b8225
commit f070767dad

@ -1,4 +1,5 @@
- hosts: test-targets - name: bench/includes.yml
hosts: test-targets
tasks: tasks:
- include_tasks: _includes.yml - include_tasks: _includes.yml
with_sequence: start=1 end=1000 with_sequence: start=1 end=1000

@ -1,5 +1,5 @@
- name: bench/loop-100-copies.yml
- hosts: all hosts: all
any_errors_fatal: true any_errors_fatal: true
tasks: tasks:

@ -4,7 +4,8 @@
# #
# See also: loop-100-tasks.yml # See also: loop-100-tasks.yml
# #
- hosts: all - name: bench/loop-100-items.yml
hosts: all
tasks: tasks:
- command: hostname - command: hostname
with_sequence: start=1 end="{{end|default(100)}}" with_sequence: start=1 end="{{end|default(100)}}"

@ -8,7 +8,8 @@
# #
# See also: loop-100-items.yml # See also: loop-100-items.yml
# #
- hosts: all - name: bench/loop-100-tasks.yml
hosts: all
tasks: tasks:
- command: hostname - command: hostname
- command: hostname - command: hostname

@ -1,5 +1,5 @@
- name: bench/loop-20-templates.yml
- hosts: all hosts: all
tasks: tasks:
- file: - file:
dest: /tmp/templates dest: /tmp/templates

@ -1,7 +1,8 @@
# issue #554: double calls to make_tmp_path() fail with assertion error. Ensure # issue #554: double calls to make_tmp_path() fail with assertion error. Ensure
# they succeed and are cleaned up correctly. # they succeed and are cleaned up correctly.
- hosts: target - name: integration/action/make_tmp_path__double.yml
hosts: target
tasks: tasks:
- mitogen_action_script: - mitogen_action_script:
script: | script: |

@ -1,7 +1,8 @@
# issue #633: Connection.reset() should ignore "become", and apply to the login # issue #633: Connection.reset() should ignore "become", and apply to the login
# account. # account.
- hosts: test-targets - name: integration/connection/reset_become.yml
hosts: test-targets
become: true become: true
gather_facts: false gather_facts: false
tasks: tasks:

@ -1,7 +1,7 @@
# issue #251: local_action with mitogen_via= builds wrong stack. # issue #251: local_action with mitogen_via= builds wrong stack.
- hosts: cd-newuser-normal-normal - name: integration/connection_delegation/local_action.yml
hosts: cd-newuser-normal-normal
tasks: tasks:
- meta: end_play - meta: end_play
when: not is_mitogen when: not is_mitogen

@ -1,8 +1,8 @@
# Execution environment should be that of WorkerProcess -- # Execution environment should be that of WorkerProcess --
# https://github.com/dw/mitogen/issues/297 # https://github.com/dw/mitogen/issues/297
- hosts: localhost - name: integration/local/env_preserved.yml
hosts: localhost
connection: local connection: local
tasks: tasks:
- shell: "env | grep EVIL_VARS_PLUGIN" - shell: "env | grep EVIL_VARS_PLUGIN"

@ -1,5 +1,5 @@
- name: integration/process/unix_socket_cleanup.yml
- hosts: test-targets[0] hosts: test-targets[0]
tasks: tasks:
- mitogen_action_script: - mitogen_action_script:
script: | script: |

@ -2,7 +2,7 @@
# No become-method set. # No become-method set.
- name: integration/transport_config/become-method.yml - name: integration/transport_config/become_method.yml
hosts: tc-become-method-unset hosts: tc-become-method-unset
become: true become: true
tasks: tasks:

@ -2,7 +2,7 @@
# No become-pass set, defaults to "root" # No become-pass set, defaults to "root"
- name: integration/transport_config/become-pass.yml - name: integration/transport_config/become_pass.yml
hosts: tc-become-pass-unset hosts: tc-become-pass-unset
become: true become: true
tasks: tasks:

@ -2,7 +2,7 @@
# No become-user set, defaults to "root" # No become-user set, defaults to "root"
- name: integration/transport_config/become-user.yml - name: integration/transport_config/become_user.yml
hosts: tc-become-user-unset hosts: tc-become-user-unset
become: true become: true
tasks: tasks:

@ -4,7 +4,7 @@
# When no ansible_connection= is set, transport comes via ansible.cfg ("smart" # When no ansible_connection= is set, transport comes via ansible.cfg ("smart"
# is parsed away to either paramiko or ssh). # is parsed away to either paramiko or ssh).
- name: integration/transport_config/transport.yml - name: integration/transport_config/transport__smart.yml
hosts: tc-transport-smart hosts: tc-transport-smart
tasks: tasks:
- include: ../_mitogen_only.yml - include: ../_mitogen_only.yml

@ -1,5 +1,5 @@
- name: regression/iss590__sys_modules_crap.yml
- hosts: test-targets hosts: test-targets
tasks: tasks:
- meta: end_play - meta: end_play
when: when:

@ -3,7 +3,8 @@
# to call getcwd() before AnsibleModule has had a chance to clean up the # to call getcwd() before AnsibleModule has had a chance to clean up the
# process environment. # process environment.
- hosts: test-targets - name: regression/issue_591__setuptools_cwd_crash.yml
hosts: test-targets
tasks: tasks:
- meta: end_play - meta: end_play
when: not is_mitogen when: not is_mitogen

@ -1,6 +1,7 @@
# issue #615: 'fetch' with become: was internally using slurp. # issue #615: 'fetch' with become: was internally using slurp.
- hosts: test-targets - name: regression/issue_615_streaming_transfer.yml
hosts: test-targets
any_errors_fatal: True any_errors_fatal: True
gather_facts: no gather_facts: no
# Without Mitogen this causes Ansible to use the slurp module, which is *slow* # Without Mitogen this causes Ansible to use the slurp module, which is *slow*

@ -5,7 +5,8 @@
# TODO: do we want to install docker a different way to be able to do this for other tests too # TODO: do we want to install docker a different way to be able to do this for other tests too
--- ---
# this should only run on our Mac hosts # this should only run on our Mac hosts
- hosts: target - name: regression/issue_655_wait_for_connection_error.yml
hosts: target
any_errors_fatal: True any_errors_fatal: True
gather_facts: yes gather_facts: yes
become: no become: no

@ -1,4 +1,5 @@
- hosts: all - name: soak/file_service.yml
hosts: all
tasks: tasks:
- set_fact: - set_fact:
content: "{% for x in range(126977) %}x{% endfor %}" content: "{% for x in range(126977) %}x{% endfor %}"

Loading…
Cancel
Save