mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-05-16 05:59:47 -07: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:
parent
698d2454c7
commit
04220478da
4 changed files with 0 additions and 12 deletions
|
@ -431,7 +431,6 @@ EXAMPLES = '''
|
|||
|
||||
- name: Terminate instances
|
||||
hosts: localhost
|
||||
connection: local
|
||||
tasks:
|
||||
- name: Terminate instances that were previously launched
|
||||
ec2:
|
||||
|
@ -444,7 +443,6 @@ EXAMPLES = '''
|
|||
- name: Start sandbox instances
|
||||
hosts: localhost
|
||||
gather_facts: false
|
||||
connection: local
|
||||
vars:
|
||||
instance_ids:
|
||||
- 'i-xxxxxx'
|
||||
|
@ -467,7 +465,6 @@ EXAMPLES = '''
|
|||
- name: Stop sandbox instances
|
||||
hosts: localhost
|
||||
gather_facts: false
|
||||
connection: local
|
||||
vars:
|
||||
instance_ids:
|
||||
- 'i-xxxxxx'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue