-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathPinFile2.bkp
46 lines (46 loc) · 1.33 KB
/
PinFile2.bkp
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
46
---
openstack:
topology: ex_os_server.yml
layout: openshift-3node-cluster.yml
hooks:
postup: # sub-state is specified
- name: do_something
type: shell
actions:
- samvaran
- name: manipulate_inventory
type: shell
path: /tmp/shellscripts
contex: false
actions:
- thisisshell.sh
- name: post_up
type: ansible
context: false
actions:
- playbook: test_playbook.yaml
vars: test_var.yaml
extra_vars: { "testvar": "world"}
preup: # sub-state is specified
- name: do_something
type: shell
actions:
- echo " this is post up operation Hello hai how r u ?"
- name: post_up
type: ansible
ctx: false
actions:
- playbook: test_playbook.yaml
vars: test_var.yaml
extra_vars: { "testvar": "world"}
postdown:
- name: do_something
type: shell
actions:
- echo " this is post up operation Hello hai how r u ?"
- name: postdown_task
type: ansible
actions:
- playbook: test_playbook.yaml
vars: test_var.yaml
extra_vars: { "testvar": "world"}