# Note: These examples do not set authentication details, see the AWS Guide for details.
# Basic listing example
-ecs_task:
cluster=test-cluster
task_list=123456789012345678901234567890123456
# Basic example of deregistering task
-ecs_task:
state:absent
family:console-test-tdn
revision:1
-ecs_service_facts:
cluster:test-cluster
service:console-test-service
details:"true"
# Basic listing example
-ecs_service_facts:
cluster:test-cluster
'''
RETURN='''
cache_updated:
description:ifthecachewasupdatedornot
returned:success,insomecases
type:boolean
sample:True
cache_update_time:
description:timeofthelastcacheupdate(0ifunknown)
returned:success,insomecases
type:datetime
sample:1425828348000
stdout:
description:outputfromapt
returned:success,whenneeded
type:string
sample:"Reading package lists...\nBuilding dependency tree...\nReading state information...\nThe following extra packages will be installed:\n apache2-bin ..."
stderr:
description:erroroutputfromapt
returned:success,whenneeded
type:string
sample:"AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to ..."