mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 22:02:50 +00:00
Fewer examples use connection: local in docs (#55133)
* Fewer connection: local lines in module examples and scenario guides The line 'connection: local' is not required. See ./docs/docsite/rst/inventory/implicit_localhost.rst
This commit is contained in:
committed by
Alicia Cozine
parent
698d2454c7
commit
04220478da
@@ -165,7 +165,6 @@ EXAMPLES = '''
|
||||
|
||||
- name: Run using a project directory
|
||||
hosts: localhost
|
||||
connection: local
|
||||
gather_facts: no
|
||||
tasks:
|
||||
- docker_compose:
|
||||
@@ -220,7 +219,6 @@ EXAMPLES = '''
|
||||
|
||||
- name: Scale the web service to 2
|
||||
hosts: localhost
|
||||
connection: local
|
||||
gather_facts: no
|
||||
tasks:
|
||||
- docker_compose:
|
||||
@@ -234,7 +232,6 @@ EXAMPLES = '''
|
||||
|
||||
- name: Run with inline v2 compose
|
||||
hosts: localhost
|
||||
connection: local
|
||||
gather_facts: no
|
||||
tasks:
|
||||
- docker_compose:
|
||||
@@ -269,7 +266,6 @@ EXAMPLES = '''
|
||||
|
||||
- name: Run with inline v1 compose
|
||||
hosts: localhost
|
||||
connection: local
|
||||
gather_facts: no
|
||||
tasks:
|
||||
- docker_compose:
|
||||
|
||||
Reference in New Issue
Block a user