Skip to content

Commit f070767

Browse files
committed
tests: Use meaningful play names
1 parent c1e72b8 commit f070767

19 files changed

+34
-25
lines changed

tests/ansible/bench/includes.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
- hosts: test-targets
1+
- name: bench/includes.yml
2+
hosts: test-targets
23
tasks:
34
- include_tasks: _includes.yml
45
with_sequence: start=1 end=1000

tests/ansible/bench/loop-100-copies.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
2-
- hosts: all
1+
- name: bench/loop-100-copies.yml
2+
hosts: all
33
any_errors_fatal: true
44
tasks:
55

tests/ansible/bench/loop-100-items.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
#
55
# See also: loop-100-tasks.yml
66
#
7-
- hosts: all
7+
- name: bench/loop-100-items.yml
8+
hosts: all
89
tasks:
910
- command: hostname
1011
with_sequence: start=1 end="{{end|default(100)}}"

tests/ansible/bench/loop-100-tasks.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
#
99
# See also: loop-100-items.yml
1010
#
11-
- hosts: all
11+
- name: bench/loop-100-tasks.yml
12+
hosts: all
1213
tasks:
1314
- command: hostname
1415
- command: hostname

tests/ansible/bench/loop-20-templates.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
2-
- hosts: all
1+
- name: bench/loop-20-templates.yml
2+
hosts: all
33
tasks:
44
- file:
55
dest: /tmp/templates

tests/ansible/integration/action/make_tmp_path__double.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
# issue #554: double calls to make_tmp_path() fail with assertion error. Ensure
22
# they succeed and are cleaned up correctly.
33

4-
- hosts: target
4+
- name: integration/action/make_tmp_path__double.yml
5+
hosts: target
56
tasks:
67
- mitogen_action_script:
78
script: |

tests/ansible/integration/connection/reset_become.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
# issue #633: Connection.reset() should ignore "become", and apply to the login
22
# account.
33

4-
- hosts: test-targets
4+
- name: integration/connection/reset_become.yml
5+
hosts: test-targets
56
become: true
67
gather_facts: false
78
tasks:

tests/ansible/integration/connection_delegation/local_action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
21
# issue #251: local_action with mitogen_via= builds wrong stack.
32

4-
- hosts: cd-newuser-normal-normal
3+
- name: integration/connection_delegation/local_action.yml
4+
hosts: cd-newuser-normal-normal
55
tasks:
66
- meta: end_play
77
when: not is_mitogen

tests/ansible/integration/local/env_preserved.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
21
# Execution environment should be that of WorkerProcess --
32
# https://github.com/dw/mitogen/issues/297
43

5-
- hosts: localhost
4+
- name: integration/local/env_preserved.yml
5+
hosts: localhost
66
connection: local
77
tasks:
88
- shell: "env | grep EVIL_VARS_PLUGIN"

tests/ansible/integration/process/unix_socket_cleanup.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
2-
- hosts: test-targets[0]
1+
- name: integration/process/unix_socket_cleanup.yml
2+
hosts: test-targets[0]
33
tasks:
44
- mitogen_action_script:
55
script: |

0 commit comments

Comments
 (0)