Fix integration test inventory.
This commit is contained in:
parent
759e037edc
commit
1143889f26
11 changed files with 7 additions and 19 deletions
|
@ -4,5 +4,5 @@ testhost2 ansible_connection=local
|
|||
testhost3 ansible_ssh_host=127.0.0.3
|
||||
testhost4 ansible_ssh_host=127.0.0.4
|
||||
|
||||
[local:vars]
|
||||
[all:vars]
|
||||
ansible_python_interpreter="{{ ansible_playbook_python }}"
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
- name: verify handlers_from on include_role
|
||||
hosts: A
|
||||
gather_facts: False
|
||||
connection: local
|
||||
tags: ['scenario1']
|
||||
tasks:
|
||||
- name: test include_role
|
||||
|
@ -21,7 +20,6 @@
|
|||
- name: verify handlers_from on import_role
|
||||
hosts: A
|
||||
gather_facts: False
|
||||
connection: local
|
||||
tasks:
|
||||
- name: set facts to false
|
||||
set_fact:
|
||||
|
|
|
@ -4,3 +4,7 @@ B
|
|||
C
|
||||
D
|
||||
E
|
||||
|
||||
[testgroup:vars]
|
||||
ansible_connection=local
|
||||
ansible_python_interpreter="{{ ansible_playbook_python }}"
|
||||
|
|
|
@ -4,7 +4,6 @@
|
|||
tags: normal
|
||||
hosts: testgroup
|
||||
gather_facts: False
|
||||
connection: local
|
||||
roles:
|
||||
- { role: test_force_handlers }
|
||||
tasks:
|
||||
|
@ -14,7 +13,6 @@
|
|||
tags: force_true_in_play
|
||||
hosts: testgroup
|
||||
gather_facts: False
|
||||
connection: local
|
||||
force_handlers: True
|
||||
roles:
|
||||
- { role: test_force_handlers, tags: force_true_in_play }
|
||||
|
@ -24,7 +22,6 @@
|
|||
tags: force_false_in_play
|
||||
hosts: testgroup
|
||||
gather_facts: False
|
||||
connection: local
|
||||
force_handlers: False
|
||||
roles:
|
||||
- { role: test_force_handlers, tags: force_false_in_play }
|
||||
|
|
|
@ -2,14 +2,12 @@
|
|||
- name: run handlers
|
||||
hosts: A
|
||||
gather_facts: False
|
||||
connection: local
|
||||
roles:
|
||||
- { role: test_handlers_meta, tags: ['scenario1'] }
|
||||
|
||||
- name: verify final handler was run
|
||||
hosts: A
|
||||
gather_facts: False
|
||||
connection: local
|
||||
tasks:
|
||||
- name: verify handler2 ran
|
||||
assert:
|
||||
|
@ -21,7 +19,6 @@
|
|||
- name: verify listening handlers
|
||||
hosts: A
|
||||
gather_facts: False
|
||||
connection: local
|
||||
tasks:
|
||||
- name: notify some handlers
|
||||
command: echo foo
|
||||
|
@ -46,6 +43,5 @@
|
|||
- name: test handlers
|
||||
hosts: testgroup
|
||||
gather_facts: False
|
||||
connection: local
|
||||
roles:
|
||||
- { role: test_handlers }
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
- B
|
||||
gather_facts: no
|
||||
any_errors_fatal: yes
|
||||
connection: local
|
||||
vars:
|
||||
output_dir: /tmp
|
||||
tasks:
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
- name: notify inexistent handler
|
||||
hosts: localhost
|
||||
gather_facts: false
|
||||
connection: local
|
||||
tasks:
|
||||
- name: test notify an inexistent handler
|
||||
command: uptime
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
- name: test listen with named handlers
|
||||
hosts: localhost
|
||||
gather_facts: false
|
||||
connection: local
|
||||
tasks:
|
||||
- name: test notify handlers listen
|
||||
command: uptime
|
||||
|
@ -27,7 +26,6 @@
|
|||
- name: test listen unnamed handlers
|
||||
hosts: localhost
|
||||
gather_facts: false
|
||||
connection: local
|
||||
pre_tasks:
|
||||
- name: notify some handlers
|
||||
command: echo foo
|
||||
|
@ -51,7 +49,6 @@
|
|||
- name: test with mixed notify by name and listen
|
||||
hosts: localhost
|
||||
gather_facts: false
|
||||
connection: local
|
||||
tasks:
|
||||
- name: test notify handlers names and identical listen
|
||||
command: uptime
|
||||
|
@ -91,7 +88,6 @@
|
|||
- name: test listen in roles
|
||||
hosts: localhost
|
||||
gather_facts: false
|
||||
connection: local
|
||||
roles:
|
||||
- role: test_handlers_listen
|
||||
tasks:
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
- name: verify listening handlers
|
||||
hosts: A
|
||||
gather_facts: False
|
||||
connection: local
|
||||
tasks:
|
||||
- name: notify some handlers
|
||||
command: echo foo
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
[local]
|
||||
testhost ansible_connection=local
|
||||
testhost ansible_connection=local ansible_python_interpreter="{{ ansible_playbook_python }}"
|
||||
|
||||
[all:vars]
|
||||
unicode_host_var=CaféEñyei
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
---
|
||||
- name: 'A play with unicode: ¢ £ ¤ ¥'
|
||||
hosts: localhost
|
||||
connection: local
|
||||
vars:
|
||||
test_var: 'Ī ī Ĭ ĭ Į į İ ı IJ ij Ĵ ĵ Ķ ķ ĸ Ĺ ĺ Ļ ļ Ľ ľ Ŀ ŀ Ł ł Ń ń Ņ ņ Ň ň ʼn Ŋ ŋ Ō ō Ŏ ŏ Ő ő Œ'
|
||||
hostnames:
|
||||
|
@ -32,6 +31,7 @@
|
|||
groups: 'ĪīĬĭ'
|
||||
ansible_ssh_host: 127.0.0.1
|
||||
ansible_connection: local
|
||||
ansible_python_interpreter: "{{ ansible_playbook_python }}"
|
||||
with_items: "{{ hostnames }}"
|
||||
|
||||
- name: 'A task with unicode extra vars'
|
||||
|
|
Loading…
Reference in a new issue