mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 06:12:51 +00:00
More test fixes for split controller/remote tests.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
---
|
||||
# Run withhout --check
|
||||
- hosts: localhost
|
||||
- hosts: testhost
|
||||
gather_facts: False
|
||||
tasks:
|
||||
- command: 'echo ran'
|
||||
@@ -12,7 +12,7 @@
|
||||
that:
|
||||
- '"ran" in command_out["stdout"]'
|
||||
|
||||
- hosts: localhost
|
||||
- hosts: testhost
|
||||
gather_facts: False
|
||||
check_mode: True
|
||||
tasks:
|
||||
@@ -24,7 +24,7 @@
|
||||
that:
|
||||
- '"check mode" in command_out["msg"]'
|
||||
|
||||
- hosts: localhost
|
||||
- hosts: testhost
|
||||
gather_facts: False
|
||||
tasks:
|
||||
- command: 'echo ran'
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
# Run with --check
|
||||
- hosts: localhost
|
||||
- hosts: testhost
|
||||
gather_facts: False
|
||||
tasks:
|
||||
- command: 'echo ran'
|
||||
@@ -11,7 +11,7 @@
|
||||
that:
|
||||
- '"check mode" in command_out["msg"]'
|
||||
|
||||
- hosts: localhost
|
||||
- hosts: testhost
|
||||
gather_facts: False
|
||||
check_mode: False
|
||||
tasks:
|
||||
@@ -23,7 +23,7 @@
|
||||
that:
|
||||
- '"ran" in command_out["stdout"]'
|
||||
|
||||
- hosts: localhost
|
||||
- hosts: testhost
|
||||
gather_facts: False
|
||||
tasks:
|
||||
- command: 'echo ran'
|
||||
|
||||
Reference in New Issue
Block a user