-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathPinFile
45 lines (45 loc) · 1.23 KB
/
PinFile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
---
openstack:
topology: ex_os_server.yml
layout: openshift-3node-cluster.yml
hooks:
postup: # sub-state is specified
- name: do_something
type: python
context: false
actions:
- test.py
- name: testruby
type: ruby
context: false
actions:
- test.rb
- name: testnode
type: nodejs
context: true
actions:
- test.js
preup: # sub-state is specified
- name: test_something
action_manager: testact.py
type: testtype
actions:
- "This does nothing"
- name: post_up
type: ansible
context: false
actions:
- playbook: test_playbook.yaml
vars: test_var.yaml
extra_vars: { "test_var": "preup task"}
postdown:
- name: do_something
type: shell
actions:
- echo " this is post down operation Hello hai how r u ?"
- name: postdown_task
type: ansible
actions:
- playbook: test_playbook.yaml
vars: test_var.yaml
extra_vars: { "test_var": "postdowntask"}