More test fixes for split controller/remote tests.

This commit is contained in:
Matt Clay
2019-01-25 19:37:56 -08:00
parent 73636175da
commit a8116497ba
49 changed files with 217 additions and 135 deletions

View File

@@ -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'

View File

@@ -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'