|
|
@ -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
|
|
|
|
|
|
|
|
'''
|
|
|
|
'''
|
|
|
|
|
|
|
|
|
|
|
|
# ===========================================
|
|
|
|
# ===========================================
|
|
|
|