mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
bigpanda: Remove docs using complex args (#2275)
As they're going to be deprecated, don't recommend using them.
This commit is contained in:
parent
e93f7241be
commit
390aa7a75f
1 changed files with 3 additions and 11 deletions
|
@ -83,19 +83,11 @@ EXAMPLES = '''
|
||||||
...
|
...
|
||||||
- bigpanda: component=myapp version=1.3 token={{ bigpanda_token }} state=finished
|
- bigpanda: component=myapp version=1.3 token={{ bigpanda_token }} state=finished
|
||||||
|
|
||||||
or using a deployment object:
|
If outside servers aren't reachable from your machine, use local_action and override hosts:
|
||||||
- bigpanda: component=myapp version=1.3 token={{ bigpanda_token }} state=started
|
- local_action: bigpanda component=myapp version=1.3 token={{ bigpanda_token }} hosts={{ansible_hostname}} state=started
|
||||||
register: deployment
|
|
||||||
|
|
||||||
- bigpanda: state=finished
|
|
||||||
args: deployment
|
|
||||||
|
|
||||||
If outside servers aren't reachable from your machine, use local_action and pass the hostname:
|
|
||||||
- local_action: bigpanda component=myapp version=1.3 hosts={{ansible_hostname}} token={{ bigpanda_token }} state=started
|
|
||||||
register: deployment
|
register: deployment
|
||||||
...
|
...
|
||||||
- local_action: bigpanda state=finished
|
- local_action: bigpanda component=deployment.component version=deployment.version token=deployment.token state=finished
|
||||||
args: deployment
|
|
||||||
'''
|
'''
|
||||||
|
|
||||||
# ===========================================
|
# ===========================================
|
||||||
|
|
Loading…
Reference in a new issue