mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Remove illegal basic provisioning example (#55892)
The bare minimum example in the docs (i.e. only supplying name, state, and cluster) results in the error `state is present but all of the following are missing: task_definition, desired_count`.
This commit is contained in:
parent
47a440774f
commit
c195645575
1 changed files with 2 additions and 6 deletions
|
@ -160,6 +160,8 @@ extends_documentation_fragment:
|
||||||
|
|
||||||
EXAMPLES = '''
|
EXAMPLES = '''
|
||||||
# Note: These examples do not set authentication details, see the AWS Guide for details.
|
# Note: These examples do not set authentication details, see the AWS Guide for details.
|
||||||
|
|
||||||
|
# Basic provisioning example
|
||||||
- ecs_service:
|
- ecs_service:
|
||||||
state: present
|
state: present
|
||||||
name: console-test-service
|
name: console-test-service
|
||||||
|
@ -167,12 +169,6 @@ EXAMPLES = '''
|
||||||
task_definition: 'new_cluster-task:1'
|
task_definition: 'new_cluster-task:1'
|
||||||
desired_count: 0
|
desired_count: 0
|
||||||
|
|
||||||
# Basic provisioning example
|
|
||||||
- ecs_service:
|
|
||||||
name: default
|
|
||||||
state: present
|
|
||||||
cluster: new_cluster
|
|
||||||
|
|
||||||
- name: create ECS service on VPC network
|
- name: create ECS service on VPC network
|
||||||
ecs_service:
|
ecs_service:
|
||||||
state: present
|
state: present
|
||||||
|
|
Loading…
Reference in a new issue