Save generated vrs based on existing roles
This commit is contained in:
parent
ba1c720285
commit
88ddec81d0
17
f2s/vrs/base-os.yml
Normal file
17
f2s/vrs/base-os.yml
Normal file
@ -0,0 +1,17 @@
|
||||
id: base-os
|
||||
resources:
|
||||
- id: role_data{{index}}
|
||||
from: f2s/resources/role_data
|
||||
location: '{{node}}'
|
||||
values:
|
||||
env: '{{env}}'
|
||||
uid: '{{index}}'
|
||||
- id: logging{{index}}
|
||||
from: f2s/resources/logging
|
||||
location: '{{node}}'
|
||||
values_from: role_data{{index}}
|
||||
events:
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: role_data{{index}}.run
|
||||
depend_action: logging{{index}}.run
|
141
f2s/vrs/ceph-osd.yml
Normal file
141
f2s/vrs/ceph-osd.yml
Normal file
@ -0,0 +1,141 @@
|
||||
id: ceph-osd
|
||||
resources:
|
||||
- id: role_data{{index}}
|
||||
from: f2s/resources/role_data
|
||||
location: '{{node}}'
|
||||
values:
|
||||
env: '{{env}}'
|
||||
uid: '{{index}}'
|
||||
- id: fuel_pkgs{{index}}
|
||||
from: f2s/resources/fuel_pkgs
|
||||
location: '{{node}}'
|
||||
values_from: role_data{{index}}
|
||||
- id: logging{{index}}
|
||||
from: f2s/resources/logging
|
||||
location: '{{node}}'
|
||||
values_from: role_data{{index}}
|
||||
- id: tools{{index}}
|
||||
from: f2s/resources/tools
|
||||
location: '{{node}}'
|
||||
values_from: role_data{{index}}
|
||||
- id: netconfig{{index}}
|
||||
from: f2s/resources/netconfig
|
||||
location: '{{node}}'
|
||||
values_from: role_data{{index}}
|
||||
- id: connectivity_tests{{index}}
|
||||
from: f2s/resources/connectivity_tests
|
||||
location: '{{node}}'
|
||||
values_from: role_data{{index}}
|
||||
- id: firewall{{index}}
|
||||
from: f2s/resources/firewall
|
||||
location: '{{node}}'
|
||||
values_from: role_data{{index}}
|
||||
- id: ssl-keys-saving{{index}}
|
||||
from: f2s/resources/ssl-keys-saving
|
||||
location: '{{node}}'
|
||||
values_from: role_data{{index}}
|
||||
- id: ssl-add-trust-chain{{index}}
|
||||
from: f2s/resources/ssl-add-trust-chain
|
||||
location: '{{node}}'
|
||||
values_from: role_data{{index}}
|
||||
- id: hosts{{index}}
|
||||
from: f2s/resources/hosts
|
||||
location: '{{node}}'
|
||||
values_from: role_data{{index}}
|
||||
- id: top-role-ceph-osd{{index}}
|
||||
from: f2s/resources/top-role-ceph-osd
|
||||
location: '{{node}}'
|
||||
values_from: role_data{{index}}
|
||||
events:
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: role_data{{index}}.run
|
||||
depend_action: fuel_pkgs{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: role_data{{index}}.run
|
||||
depend_action: logging{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: role_data{{index}}.run
|
||||
depend_action: tools{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: logging{{index}}.run
|
||||
depend_action: tools{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: role_data{{index}}.run
|
||||
depend_action: netconfig{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: tools{{index}}.run
|
||||
depend_action: netconfig{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: role_data{{index}}.run
|
||||
depend_action: connectivity_tests{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: netconfig{{index}}.run
|
||||
depend_action: connectivity_tests{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: role_data{{index}}.run
|
||||
depend_action: firewall{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: netconfig{{index}}.run
|
||||
depend_action: firewall{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: connectivity_tests{{index}}.run
|
||||
depend_action: firewall{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: role_data{{index}}.run
|
||||
depend_action: ssl-keys-saving{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: firewall{{index}}.run
|
||||
depend_action: ssl-keys-saving{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: role_data{{index}}.run
|
||||
depend_action: ssl-add-trust-chain{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: firewall{{index}}.run
|
||||
depend_action: ssl-add-trust-chain{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: ssl-keys-saving{{index}}.run
|
||||
depend_action: ssl-add-trust-chain{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: role_data{{index}}.run
|
||||
depend_action: hosts{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: netconfig{{index}}.run
|
||||
depend_action: hosts{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: connectivity_tests{{index}}.run
|
||||
depend_action: hosts{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: ssl-add-trust-chain{{index}}.run
|
||||
depend_action: hosts{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: role_data{{index}}.run
|
||||
depend_action: top-role-ceph-osd{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: firewall{{index}}.run
|
||||
depend_action: top-role-ceph-osd{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: hosts{{index}}.run
|
||||
depend_action: top-role-ceph-osd{{index}}.run
|
181
f2s/vrs/cinder-vmware.yml
Normal file
181
f2s/vrs/cinder-vmware.yml
Normal file
@ -0,0 +1,181 @@
|
||||
id: cinder-vmware
|
||||
resources:
|
||||
- id: role_data{{index}}
|
||||
from: f2s/resources/role_data
|
||||
location: '{{node}}'
|
||||
values:
|
||||
env: '{{env}}'
|
||||
uid: '{{index}}'
|
||||
- id: fuel_pkgs{{index}}
|
||||
from: f2s/resources/fuel_pkgs
|
||||
location: '{{node}}'
|
||||
values_from: role_data{{index}}
|
||||
- id: logging{{index}}
|
||||
from: f2s/resources/logging
|
||||
location: '{{node}}'
|
||||
values_from: role_data{{index}}
|
||||
- id: tools{{index}}
|
||||
from: f2s/resources/tools
|
||||
location: '{{node}}'
|
||||
values_from: role_data{{index}}
|
||||
- id: netconfig{{index}}
|
||||
from: f2s/resources/netconfig
|
||||
location: '{{node}}'
|
||||
values_from: role_data{{index}}
|
||||
- id: connectivity_tests{{index}}
|
||||
from: f2s/resources/connectivity_tests
|
||||
location: '{{node}}'
|
||||
values_from: role_data{{index}}
|
||||
- id: firewall{{index}}
|
||||
from: f2s/resources/firewall
|
||||
location: '{{node}}'
|
||||
values_from: role_data{{index}}
|
||||
- id: ssl-keys-saving{{index}}
|
||||
from: f2s/resources/ssl-keys-saving
|
||||
location: '{{node}}'
|
||||
values_from: role_data{{index}}
|
||||
- id: ssl-add-trust-chain{{index}}
|
||||
from: f2s/resources/ssl-add-trust-chain
|
||||
location: '{{node}}'
|
||||
values_from: role_data{{index}}
|
||||
- id: hosts{{index}}
|
||||
from: f2s/resources/hosts
|
||||
location: '{{node}}'
|
||||
values_from: role_data{{index}}
|
||||
- id: openstack-cinder{{index}}
|
||||
from: f2s/resources/openstack-cinder
|
||||
location: '{{node}}'
|
||||
values_from: role_data{{index}}
|
||||
- id: top-role-cinder-vmware{{index}}
|
||||
from: f2s/resources/top-role-cinder-vmware
|
||||
location: '{{node}}'
|
||||
values_from: role_data{{index}}
|
||||
events:
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: role_data{{index}}.run
|
||||
depend_action: fuel_pkgs{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: role_data{{index}}.run
|
||||
depend_action: logging{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: role_data{{index}}.run
|
||||
depend_action: tools{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: logging{{index}}.run
|
||||
depend_action: tools{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: role_data{{index}}.run
|
||||
depend_action: netconfig{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: tools{{index}}.run
|
||||
depend_action: netconfig{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: role_data{{index}}.run
|
||||
depend_action: connectivity_tests{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: netconfig{{index}}.run
|
||||
depend_action: connectivity_tests{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: role_data{{index}}.run
|
||||
depend_action: firewall{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: netconfig{{index}}.run
|
||||
depend_action: firewall{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: connectivity_tests{{index}}.run
|
||||
depend_action: firewall{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: role_data{{index}}.run
|
||||
depend_action: ssl-keys-saving{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: firewall{{index}}.run
|
||||
depend_action: ssl-keys-saving{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: role_data{{index}}.run
|
||||
depend_action: ssl-add-trust-chain{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: firewall{{index}}.run
|
||||
depend_action: ssl-add-trust-chain{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: ssl-keys-saving{{index}}.run
|
||||
depend_action: ssl-add-trust-chain{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: role_data{{index}}.run
|
||||
depend_action: hosts{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: netconfig{{index}}.run
|
||||
depend_action: hosts{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: connectivity_tests{{index}}.run
|
||||
depend_action: hosts{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: ssl-add-trust-chain{{index}}.run
|
||||
depend_action: hosts{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: role_data{{index}}.run
|
||||
depend_action: openstack-cinder{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: firewall{{index}}.run
|
||||
depend_action: openstack-cinder{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: hosts{{index}}.run
|
||||
depend_action: openstack-cinder{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent:
|
||||
action: run
|
||||
with_tags:
|
||||
- resource=cinder-keystone
|
||||
depend_action: openstack-cinder{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent:
|
||||
action: run
|
||||
with_tags:
|
||||
- resource=keystone
|
||||
depend_action: openstack-cinder{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent:
|
||||
action: run
|
||||
with_tags:
|
||||
- resource=rabbitmq
|
||||
depend_action: openstack-cinder{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent:
|
||||
action: run
|
||||
with_tags:
|
||||
- resource=cinder-db
|
||||
depend_action: openstack-cinder{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: role_data{{index}}.run
|
||||
depend_action: top-role-cinder-vmware{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: openstack-cinder{{index}}.run
|
||||
depend_action: top-role-cinder-vmware{{index}}.run
|
141
f2s/vrs/cinder.yml
Normal file
141
f2s/vrs/cinder.yml
Normal file
@ -0,0 +1,141 @@
|
||||
id: cinder
|
||||
resources:
|
||||
- id: role_data{{index}}
|
||||
from: f2s/resources/role_data
|
||||
location: '{{node}}'
|
||||
values:
|
||||
env: '{{env}}'
|
||||
uid: '{{index}}'
|
||||
- id: fuel_pkgs{{index}}
|
||||
from: f2s/resources/fuel_pkgs
|
||||
location: '{{node}}'
|
||||
values_from: role_data{{index}}
|
||||
- id: logging{{index}}
|
||||
from: f2s/resources/logging
|
||||
location: '{{node}}'
|
||||
values_from: role_data{{index}}
|
||||
- id: tools{{index}}
|
||||
from: f2s/resources/tools
|
||||
location: '{{node}}'
|
||||
values_from: role_data{{index}}
|
||||
- id: netconfig{{index}}
|
||||
from: f2s/resources/netconfig
|
||||
location: '{{node}}'
|
||||
values_from: role_data{{index}}
|
||||
- id: connectivity_tests{{index}}
|
||||
from: f2s/resources/connectivity_tests
|
||||
location: '{{node}}'
|
||||
values_from: role_data{{index}}
|
||||
- id: firewall{{index}}
|
||||
from: f2s/resources/firewall
|
||||
location: '{{node}}'
|
||||
values_from: role_data{{index}}
|
||||
- id: ssl-keys-saving{{index}}
|
||||
from: f2s/resources/ssl-keys-saving
|
||||
location: '{{node}}'
|
||||
values_from: role_data{{index}}
|
||||
- id: ssl-add-trust-chain{{index}}
|
||||
from: f2s/resources/ssl-add-trust-chain
|
||||
location: '{{node}}'
|
||||
values_from: role_data{{index}}
|
||||
- id: hosts{{index}}
|
||||
from: f2s/resources/hosts
|
||||
location: '{{node}}'
|
||||
values_from: role_data{{index}}
|
||||
- id: top-role-cinder{{index}}
|
||||
from: f2s/resources/top-role-cinder
|
||||
location: '{{node}}'
|
||||
values_from: role_data{{index}}
|
||||
events:
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: role_data{{index}}.run
|
||||
depend_action: fuel_pkgs{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: role_data{{index}}.run
|
||||
depend_action: logging{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: role_data{{index}}.run
|
||||
depend_action: tools{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: logging{{index}}.run
|
||||
depend_action: tools{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: role_data{{index}}.run
|
||||
depend_action: netconfig{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: tools{{index}}.run
|
||||
depend_action: netconfig{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: role_data{{index}}.run
|
||||
depend_action: connectivity_tests{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: netconfig{{index}}.run
|
||||
depend_action: connectivity_tests{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: role_data{{index}}.run
|
||||
depend_action: firewall{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: netconfig{{index}}.run
|
||||
depend_action: firewall{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: connectivity_tests{{index}}.run
|
||||
depend_action: firewall{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: role_data{{index}}.run
|
||||
depend_action: ssl-keys-saving{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: firewall{{index}}.run
|
||||
depend_action: ssl-keys-saving{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: role_data{{index}}.run
|
||||
depend_action: ssl-add-trust-chain{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: firewall{{index}}.run
|
||||
depend_action: ssl-add-trust-chain{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: ssl-keys-saving{{index}}.run
|
||||
depend_action: ssl-add-trust-chain{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: role_data{{index}}.run
|
||||
depend_action: hosts{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: netconfig{{index}}.run
|
||||
depend_action: hosts{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: connectivity_tests{{index}}.run
|
||||
depend_action: hosts{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: ssl-add-trust-chain{{index}}.run
|
||||
depend_action: hosts{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: role_data{{index}}.run
|
||||
depend_action: top-role-cinder{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: firewall{{index}}.run
|
||||
depend_action: top-role-cinder{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: hosts{{index}}.run
|
||||
depend_action: top-role-cinder{{index}}.run
|
145
f2s/vrs/compute-vmware.yml
Normal file
145
f2s/vrs/compute-vmware.yml
Normal file
@ -0,0 +1,145 @@
|
||||
id: compute-vmware
|
||||
resources:
|
||||
- id: role_data{{index}}
|
||||
from: f2s/resources/role_data
|
||||
location: '{{node}}'
|
||||
values:
|
||||
env: '{{env}}'
|
||||
uid: '{{index}}'
|
||||
- id: logging{{index}}
|
||||
from: f2s/resources/logging
|
||||
location: '{{node}}'
|
||||
values_from: role_data{{index}}
|
||||
- id: tools{{index}}
|
||||
from: f2s/resources/tools
|
||||
location: '{{node}}'
|
||||
values_from: role_data{{index}}
|
||||
- id: netconfig{{index}}
|
||||
from: f2s/resources/netconfig
|
||||
location: '{{node}}'
|
||||
values_from: role_data{{index}}
|
||||
- id: connectivity_tests{{index}}
|
||||
from: f2s/resources/connectivity_tests
|
||||
location: '{{node}}'
|
||||
values_from: role_data{{index}}
|
||||
- id: firewall{{index}}
|
||||
from: f2s/resources/firewall
|
||||
location: '{{node}}'
|
||||
values_from: role_data{{index}}
|
||||
- id: ssl-keys-saving{{index}}
|
||||
from: f2s/resources/ssl-keys-saving
|
||||
location: '{{node}}'
|
||||
values_from: role_data{{index}}
|
||||
- id: ssl-add-trust-chain{{index}}
|
||||
from: f2s/resources/ssl-add-trust-chain
|
||||
location: '{{node}}'
|
||||
values_from: role_data{{index}}
|
||||
- id: hosts{{index}}
|
||||
from: f2s/resources/hosts
|
||||
location: '{{node}}'
|
||||
values_from: role_data{{index}}
|
||||
- id: top-role-compute{{index}}
|
||||
from: f2s/resources/top-role-compute
|
||||
location: '{{node}}'
|
||||
values_from: role_data{{index}}
|
||||
- id: top-role-compute-vmware{{index}}
|
||||
from: f2s/resources/top-role-compute-vmware
|
||||
location: '{{node}}'
|
||||
values_from: role_data{{index}}
|
||||
events:
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: role_data{{index}}.run
|
||||
depend_action: logging{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: role_data{{index}}.run
|
||||
depend_action: tools{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: logging{{index}}.run
|
||||
depend_action: tools{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: role_data{{index}}.run
|
||||
depend_action: netconfig{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: tools{{index}}.run
|
||||
depend_action: netconfig{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: role_data{{index}}.run
|
||||
depend_action: connectivity_tests{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: netconfig{{index}}.run
|
||||
depend_action: connectivity_tests{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: role_data{{index}}.run
|
||||
depend_action: firewall{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: netconfig{{index}}.run
|
||||
depend_action: firewall{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: connectivity_tests{{index}}.run
|
||||
depend_action: firewall{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: role_data{{index}}.run
|
||||
depend_action: ssl-keys-saving{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: firewall{{index}}.run
|
||||
depend_action: ssl-keys-saving{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: role_data{{index}}.run
|
||||
depend_action: ssl-add-trust-chain{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: firewall{{index}}.run
|
||||
depend_action: ssl-add-trust-chain{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: ssl-keys-saving{{index}}.run
|
||||
depend_action: ssl-add-trust-chain{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: role_data{{index}}.run
|
||||
depend_action: hosts{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: netconfig{{index}}.run
|
||||
depend_action: hosts{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: connectivity_tests{{index}}.run
|
||||
depend_action: hosts{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: ssl-add-trust-chain{{index}}.run
|
||||
depend_action: hosts{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: role_data{{index}}.run
|
||||
depend_action: top-role-compute{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: firewall{{index}}.run
|
||||
depend_action: top-role-compute{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: hosts{{index}}.run
|
||||
depend_action: top-role-compute{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: role_data{{index}}.run
|
||||
depend_action: top-role-compute-vmware{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: top-role-compute{{index}}.run
|
||||
depend_action: top-role-compute-vmware{{index}}.run
|
229
f2s/vrs/compute.yml
Normal file
229
f2s/vrs/compute.yml
Normal file
@ -0,0 +1,229 @@
|
||||
id: compute
|
||||
resources:
|
||||
- id: role_data{{index}}
|
||||
from: f2s/resources/role_data
|
||||
location: '{{node}}'
|
||||
values:
|
||||
env: '{{env}}'
|
||||
uid: '{{index}}'
|
||||
- id: fuel_pkgs{{index}}
|
||||
from: f2s/resources/fuel_pkgs
|
||||
location: '{{node}}'
|
||||
values_from: role_data{{index}}
|
||||
- id: logging{{index}}
|
||||
from: f2s/resources/logging
|
||||
location: '{{node}}'
|
||||
values_from: role_data{{index}}
|
||||
- id: tools{{index}}
|
||||
from: f2s/resources/tools
|
||||
location: '{{node}}'
|
||||
values_from: role_data{{index}}
|
||||
- id: netconfig{{index}}
|
||||
from: f2s/resources/netconfig
|
||||
location: '{{node}}'
|
||||
values_from: role_data{{index}}
|
||||
- id: connectivity_tests{{index}}
|
||||
from: f2s/resources/connectivity_tests
|
||||
location: '{{node}}'
|
||||
values_from: role_data{{index}}
|
||||
- id: firewall{{index}}
|
||||
from: f2s/resources/firewall
|
||||
location: '{{node}}'
|
||||
values_from: role_data{{index}}
|
||||
- id: ssl-keys-saving{{index}}
|
||||
from: f2s/resources/ssl-keys-saving
|
||||
location: '{{node}}'
|
||||
values_from: role_data{{index}}
|
||||
- id: ssl-add-trust-chain{{index}}
|
||||
from: f2s/resources/ssl-add-trust-chain
|
||||
location: '{{node}}'
|
||||
values_from: role_data{{index}}
|
||||
- id: hosts{{index}}
|
||||
from: f2s/resources/hosts
|
||||
location: '{{node}}'
|
||||
values_from: role_data{{index}}
|
||||
- id: top-role-compute{{index}}
|
||||
from: f2s/resources/top-role-compute
|
||||
location: '{{node}}'
|
||||
values_from: role_data{{index}}
|
||||
- id: ceilometer-compute{{index}}
|
||||
from: f2s/resources/ceilometer-compute
|
||||
location: '{{node}}'
|
||||
values_from: role_data{{index}}
|
||||
- id: openstack-network-common-config{{index}}
|
||||
from: f2s/resources/openstack-network-common-config
|
||||
location: '{{node}}'
|
||||
values_from: role_data{{index}}
|
||||
- id: openstack-network-plugins-l2{{index}}
|
||||
from: f2s/resources/openstack-network-plugins-l2
|
||||
location: '{{node}}'
|
||||
values_from: role_data{{index}}
|
||||
- id: openstack-network-agents-l3{{index}}
|
||||
from: f2s/resources/openstack-network-agents-l3
|
||||
location: '{{node}}'
|
||||
values_from: role_data{{index}}
|
||||
- id: openstack-network-compute-nova{{index}}
|
||||
from: f2s/resources/openstack-network-compute-nova
|
||||
location: '{{node}}'
|
||||
values_from: role_data{{index}}
|
||||
events:
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: role_data{{index}}.run
|
||||
depend_action: fuel_pkgs{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: role_data{{index}}.run
|
||||
depend_action: logging{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: role_data{{index}}.run
|
||||
depend_action: tools{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: logging{{index}}.run
|
||||
depend_action: tools{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: role_data{{index}}.run
|
||||
depend_action: netconfig{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: tools{{index}}.run
|
||||
depend_action: netconfig{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: role_data{{index}}.run
|
||||
depend_action: connectivity_tests{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: netconfig{{index}}.run
|
||||
depend_action: connectivity_tests{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: role_data{{index}}.run
|
||||
depend_action: firewall{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: netconfig{{index}}.run
|
||||
depend_action: firewall{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: connectivity_tests{{index}}.run
|
||||
depend_action: firewall{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: role_data{{index}}.run
|
||||
depend_action: ssl-keys-saving{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: firewall{{index}}.run
|
||||
depend_action: ssl-keys-saving{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: role_data{{index}}.run
|
||||
depend_action: ssl-add-trust-chain{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: firewall{{index}}.run
|
||||
depend_action: ssl-add-trust-chain{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: ssl-keys-saving{{index}}.run
|
||||
depend_action: ssl-add-trust-chain{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: role_data{{index}}.run
|
||||
depend_action: hosts{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: netconfig{{index}}.run
|
||||
depend_action: hosts{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: connectivity_tests{{index}}.run
|
||||
depend_action: hosts{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: ssl-add-trust-chain{{index}}.run
|
||||
depend_action: hosts{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: role_data{{index}}.run
|
||||
depend_action: top-role-compute{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: firewall{{index}}.run
|
||||
depend_action: top-role-compute{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: hosts{{index}}.run
|
||||
depend_action: top-role-compute{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: role_data{{index}}.run
|
||||
depend_action: ceilometer-compute{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: top-role-compute{{index}}.run
|
||||
depend_action: ceilometer-compute{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent:
|
||||
action: run
|
||||
with_tags:
|
||||
- resource=ceilometer-controller
|
||||
depend_action: ceilometer-compute{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: role_data{{index}}.run
|
||||
depend_action: openstack-network-common-config{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: role_data{{index}}.run
|
||||
depend_action: openstack-network-plugins-l2{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: openstack-network-common-config{{index}}.run
|
||||
depend_action: openstack-network-plugins-l2{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent:
|
||||
action: run
|
||||
with_tags:
|
||||
- resource=openstack-network-server-config
|
||||
depend_action: openstack-network-plugins-l2{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: role_data{{index}}.run
|
||||
depend_action: openstack-network-agents-l3{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: openstack-network-plugins-l2{{index}}.run
|
||||
depend_action: openstack-network-agents-l3{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent:
|
||||
action: run
|
||||
with_tags:
|
||||
- resource=openstack-network-networks
|
||||
depend_action: openstack-network-agents-l3{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent:
|
||||
action: run
|
||||
with_tags:
|
||||
- resource=openstack-network-routers
|
||||
depend_action: openstack-network-agents-l3{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: role_data{{index}}.run
|
||||
depend_action: openstack-network-compute-nova{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: openstack-network-agents-l3{{index}}.run
|
||||
depend_action: openstack-network-compute-nova{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: openstack-network-common-config{{index}}.run
|
||||
depend_action: openstack-network-compute-nova{{index}}.run
|
1066
f2s/vrs/controller.yml
Normal file
1066
f2s/vrs/controller.yml
Normal file
File diff suppressed because it is too large
Load Diff
159
f2s/vrs/ironic.yml
Normal file
159
f2s/vrs/ironic.yml
Normal file
@ -0,0 +1,159 @@
|
||||
id: ironic
|
||||
resources:
|
||||
- id: role_data{{index}}
|
||||
from: f2s/resources/role_data
|
||||
location: '{{node}}'
|
||||
values:
|
||||
env: '{{env}}'
|
||||
uid: '{{index}}'
|
||||
- id: fuel_pkgs{{index}}
|
||||
from: f2s/resources/fuel_pkgs
|
||||
location: '{{node}}'
|
||||
values_from: role_data{{index}}
|
||||
- id: logging{{index}}
|
||||
from: f2s/resources/logging
|
||||
location: '{{node}}'
|
||||
values_from: role_data{{index}}
|
||||
- id: tools{{index}}
|
||||
from: f2s/resources/tools
|
||||
location: '{{node}}'
|
||||
values_from: role_data{{index}}
|
||||
- id: netconfig{{index}}
|
||||
from: f2s/resources/netconfig
|
||||
location: '{{node}}'
|
||||
values_from: role_data{{index}}
|
||||
- id: connectivity_tests{{index}}
|
||||
from: f2s/resources/connectivity_tests
|
||||
location: '{{node}}'
|
||||
values_from: role_data{{index}}
|
||||
- id: firewall{{index}}
|
||||
from: f2s/resources/firewall
|
||||
location: '{{node}}'
|
||||
values_from: role_data{{index}}
|
||||
- id: hosts{{index}}
|
||||
from: f2s/resources/hosts
|
||||
location: '{{node}}'
|
||||
values_from: role_data{{index}}
|
||||
- id: ironic-conductor{{index}}
|
||||
from: f2s/resources/ironic-conductor
|
||||
location: '{{node}}'
|
||||
values_from: role_data{{index}}
|
||||
- id: ironic-compute{{index}}
|
||||
from: f2s/resources/ironic-compute
|
||||
location: '{{node}}'
|
||||
values_from: role_data{{index}}
|
||||
- id: openstack-network-common-config{{index}}
|
||||
from: f2s/resources/openstack-network-common-config
|
||||
location: '{{node}}'
|
||||
values_from: role_data{{index}}
|
||||
- id: openstack-network-plugins-l2{{index}}
|
||||
from: f2s/resources/openstack-network-plugins-l2
|
||||
location: '{{node}}'
|
||||
values_from: role_data{{index}}
|
||||
events:
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: role_data{{index}}.run
|
||||
depend_action: fuel_pkgs{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: role_data{{index}}.run
|
||||
depend_action: logging{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: role_data{{index}}.run
|
||||
depend_action: tools{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: logging{{index}}.run
|
||||
depend_action: tools{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: role_data{{index}}.run
|
||||
depend_action: netconfig{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: tools{{index}}.run
|
||||
depend_action: netconfig{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: role_data{{index}}.run
|
||||
depend_action: connectivity_tests{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: netconfig{{index}}.run
|
||||
depend_action: connectivity_tests{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: role_data{{index}}.run
|
||||
depend_action: firewall{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: netconfig{{index}}.run
|
||||
depend_action: firewall{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: connectivity_tests{{index}}.run
|
||||
depend_action: firewall{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: role_data{{index}}.run
|
||||
depend_action: hosts{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: netconfig{{index}}.run
|
||||
depend_action: hosts{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: connectivity_tests{{index}}.run
|
||||
depend_action: hosts{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent:
|
||||
action: run
|
||||
with_tags:
|
||||
- resource=ssl-add-trust-chain
|
||||
depend_action: hosts{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: role_data{{index}}.run
|
||||
depend_action: ironic-conductor{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: firewall{{index}}.run
|
||||
depend_action: ironic-conductor{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: hosts{{index}}.run
|
||||
depend_action: ironic-conductor{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: role_data{{index}}.run
|
||||
depend_action: ironic-compute{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: firewall{{index}}.run
|
||||
depend_action: ironic-compute{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: hosts{{index}}.run
|
||||
depend_action: ironic-compute{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: role_data{{index}}.run
|
||||
depend_action: openstack-network-common-config{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: role_data{{index}}.run
|
||||
depend_action: openstack-network-plugins-l2{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: openstack-network-common-config{{index}}.run
|
||||
depend_action: openstack-network-plugins-l2{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent:
|
||||
action: run
|
||||
with_tags:
|
||||
- resource=openstack-network-server-config
|
||||
depend_action: openstack-network-plugins-l2{{index}}.run
|
141
f2s/vrs/mongo.yml
Normal file
141
f2s/vrs/mongo.yml
Normal file
@ -0,0 +1,141 @@
|
||||
id: mongo
|
||||
resources:
|
||||
- id: role_data{{index}}
|
||||
from: f2s/resources/role_data
|
||||
location: '{{node}}'
|
||||
values:
|
||||
env: '{{env}}'
|
||||
uid: '{{index}}'
|
||||
- id: fuel_pkgs{{index}}
|
||||
from: f2s/resources/fuel_pkgs
|
||||
location: '{{node}}'
|
||||
values_from: role_data{{index}}
|
||||
- id: logging{{index}}
|
||||
from: f2s/resources/logging
|
||||
location: '{{node}}'
|
||||
values_from: role_data{{index}}
|
||||
- id: tools{{index}}
|
||||
from: f2s/resources/tools
|
||||
location: '{{node}}'
|
||||
values_from: role_data{{index}}
|
||||
- id: netconfig{{index}}
|
||||
from: f2s/resources/netconfig
|
||||
location: '{{node}}'
|
||||
values_from: role_data{{index}}
|
||||
- id: connectivity_tests{{index}}
|
||||
from: f2s/resources/connectivity_tests
|
||||
location: '{{node}}'
|
||||
values_from: role_data{{index}}
|
||||
- id: firewall{{index}}
|
||||
from: f2s/resources/firewall
|
||||
location: '{{node}}'
|
||||
values_from: role_data{{index}}
|
||||
- id: ssl-keys-saving{{index}}
|
||||
from: f2s/resources/ssl-keys-saving
|
||||
location: '{{node}}'
|
||||
values_from: role_data{{index}}
|
||||
- id: ssl-add-trust-chain{{index}}
|
||||
from: f2s/resources/ssl-add-trust-chain
|
||||
location: '{{node}}'
|
||||
values_from: role_data{{index}}
|
||||
- id: hosts{{index}}
|
||||
from: f2s/resources/hosts
|
||||
location: '{{node}}'
|
||||
values_from: role_data{{index}}
|
||||
- id: top-role-mongo{{index}}
|
||||
from: f2s/resources/top-role-mongo
|
||||
location: '{{node}}'
|
||||
values_from: role_data{{index}}
|
||||
events:
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: role_data{{index}}.run
|
||||
depend_action: fuel_pkgs{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: role_data{{index}}.run
|
||||
depend_action: logging{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: role_data{{index}}.run
|
||||
depend_action: tools{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: logging{{index}}.run
|
||||
depend_action: tools{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: role_data{{index}}.run
|
||||
depend_action: netconfig{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: tools{{index}}.run
|
||||
depend_action: netconfig{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: role_data{{index}}.run
|
||||
depend_action: connectivity_tests{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: netconfig{{index}}.run
|
||||
depend_action: connectivity_tests{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: role_data{{index}}.run
|
||||
depend_action: firewall{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: netconfig{{index}}.run
|
||||
depend_action: firewall{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: connectivity_tests{{index}}.run
|
||||
depend_action: firewall{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: role_data{{index}}.run
|
||||
depend_action: ssl-keys-saving{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: firewall{{index}}.run
|
||||
depend_action: ssl-keys-saving{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: role_data{{index}}.run
|
||||
depend_action: ssl-add-trust-chain{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: firewall{{index}}.run
|
||||
depend_action: ssl-add-trust-chain{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: ssl-keys-saving{{index}}.run
|
||||
depend_action: ssl-add-trust-chain{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: role_data{{index}}.run
|
||||
depend_action: hosts{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: netconfig{{index}}.run
|
||||
depend_action: hosts{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: connectivity_tests{{index}}.run
|
||||
depend_action: hosts{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: ssl-add-trust-chain{{index}}.run
|
||||
depend_action: hosts{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: role_data{{index}}.run
|
||||
depend_action: top-role-mongo{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: firewall{{index}}.run
|
||||
depend_action: top-role-mongo{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: hosts{{index}}.run
|
||||
depend_action: top-role-mongo{{index}}.run
|
1273
f2s/vrs/primary-controller.yml
Normal file
1273
f2s/vrs/primary-controller.yml
Normal file
File diff suppressed because it is too large
Load Diff
141
f2s/vrs/primary-mongo.yml
Normal file
141
f2s/vrs/primary-mongo.yml
Normal file
@ -0,0 +1,141 @@
|
||||
id: primary-mongo
|
||||
resources:
|
||||
- id: role_data{{index}}
|
||||
from: f2s/resources/role_data
|
||||
location: '{{node}}'
|
||||
values:
|
||||
env: '{{env}}'
|
||||
uid: '{{index}}'
|
||||
- id: fuel_pkgs{{index}}
|
||||
from: f2s/resources/fuel_pkgs
|
||||
location: '{{node}}'
|
||||
values_from: role_data{{index}}
|
||||
- id: logging{{index}}
|
||||
from: f2s/resources/logging
|
||||
location: '{{node}}'
|
||||
values_from: role_data{{index}}
|
||||
- id: tools{{index}}
|
||||
from: f2s/resources/tools
|
||||
location: '{{node}}'
|
||||
values_from: role_data{{index}}
|
||||
- id: netconfig{{index}}
|
||||
from: f2s/resources/netconfig
|
||||
location: '{{node}}'
|
||||
values_from: role_data{{index}}
|
||||
- id: connectivity_tests{{index}}
|
||||
from: f2s/resources/connectivity_tests
|
||||
location: '{{node}}'
|
||||
values_from: role_data{{index}}
|
||||
- id: firewall{{index}}
|
||||
from: f2s/resources/firewall
|
||||
location: '{{node}}'
|
||||
values_from: role_data{{index}}
|
||||
- id: ssl-keys-saving{{index}}
|
||||
from: f2s/resources/ssl-keys-saving
|
||||
location: '{{node}}'
|
||||
values_from: role_data{{index}}
|
||||
- id: ssl-add-trust-chain{{index}}
|
||||
from: f2s/resources/ssl-add-trust-chain
|
||||
location: '{{node}}'
|
||||
values_from: role_data{{index}}
|
||||
- id: hosts{{index}}
|
||||
from: f2s/resources/hosts
|
||||
location: '{{node}}'
|
||||
values_from: role_data{{index}}
|
||||
- id: top-role-primary-mongo{{index}}
|
||||
from: f2s/resources/top-role-primary-mongo
|
||||
location: '{{node}}'
|
||||
values_from: role_data{{index}}
|
||||
events:
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: role_data{{index}}.run
|
||||
depend_action: fuel_pkgs{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: role_data{{index}}.run
|
||||
depend_action: logging{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: role_data{{index}}.run
|
||||
depend_action: tools{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: logging{{index}}.run
|
||||
depend_action: tools{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: role_data{{index}}.run
|
||||
depend_action: netconfig{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: tools{{index}}.run
|
||||
depend_action: netconfig{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: role_data{{index}}.run
|
||||
depend_action: connectivity_tests{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: netconfig{{index}}.run
|
||||
depend_action: connectivity_tests{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: role_data{{index}}.run
|
||||
depend_action: firewall{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: netconfig{{index}}.run
|
||||
depend_action: firewall{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: connectivity_tests{{index}}.run
|
||||
depend_action: firewall{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: role_data{{index}}.run
|
||||
depend_action: ssl-keys-saving{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: firewall{{index}}.run
|
||||
depend_action: ssl-keys-saving{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: role_data{{index}}.run
|
||||
depend_action: ssl-add-trust-chain{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: firewall{{index}}.run
|
||||
depend_action: ssl-add-trust-chain{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: ssl-keys-saving{{index}}.run
|
||||
depend_action: ssl-add-trust-chain{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: role_data{{index}}.run
|
||||
depend_action: hosts{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: netconfig{{index}}.run
|
||||
depend_action: hosts{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: connectivity_tests{{index}}.run
|
||||
depend_action: hosts{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: ssl-add-trust-chain{{index}}.run
|
||||
depend_action: hosts{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: role_data{{index}}.run
|
||||
depend_action: top-role-primary-mongo{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: firewall{{index}}.run
|
||||
depend_action: top-role-primary-mongo{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: hosts{{index}}.run
|
||||
depend_action: top-role-primary-mongo{{index}}.run
|
99
f2s/vrs/virt.yml
Normal file
99
f2s/vrs/virt.yml
Normal file
@ -0,0 +1,99 @@
|
||||
id: virt
|
||||
resources:
|
||||
- id: role_data{{index}}
|
||||
from: f2s/resources/role_data
|
||||
location: '{{node}}'
|
||||
values:
|
||||
env: '{{env}}'
|
||||
uid: '{{index}}'
|
||||
- id: ssl-keys-saving{{index}}
|
||||
from: f2s/resources/ssl-keys-saving
|
||||
location: '{{node}}'
|
||||
values_from: role_data{{index}}
|
||||
- id: ssl-add-trust-chain{{index}}
|
||||
from: f2s/resources/ssl-add-trust-chain
|
||||
location: '{{node}}'
|
||||
values_from: role_data{{index}}
|
||||
- id: logging{{index}}
|
||||
from: f2s/resources/logging
|
||||
location: '{{node}}'
|
||||
values_from: role_data{{index}}
|
||||
- id: tools{{index}}
|
||||
from: f2s/resources/tools
|
||||
location: '{{node}}'
|
||||
values_from: role_data{{index}}
|
||||
- id: netconfig{{index}}
|
||||
from: f2s/resources/netconfig
|
||||
location: '{{node}}'
|
||||
values_from: role_data{{index}}
|
||||
- id: generate_vms{{index}}
|
||||
from: f2s/resources/generate_vms
|
||||
location: '{{node}}'
|
||||
values_from: role_data{{index}}
|
||||
- id: connectivity_tests{{index}}
|
||||
from: f2s/resources/connectivity_tests
|
||||
location: '{{node}}'
|
||||
values_from: role_data{{index}}
|
||||
events:
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: role_data{{index}}.run
|
||||
depend_action: ssl-keys-saving{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent:
|
||||
action: run
|
||||
with_tags:
|
||||
- resource=firewall
|
||||
depend_action: ssl-keys-saving{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: role_data{{index}}.run
|
||||
depend_action: ssl-add-trust-chain{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: ssl-keys-saving{{index}}.run
|
||||
depend_action: ssl-add-trust-chain{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent:
|
||||
action: run
|
||||
with_tags:
|
||||
- resource=firewall
|
||||
depend_action: ssl-add-trust-chain{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: role_data{{index}}.run
|
||||
depend_action: logging{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: role_data{{index}}.run
|
||||
depend_action: tools{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: logging{{index}}.run
|
||||
depend_action: tools{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: role_data{{index}}.run
|
||||
depend_action: netconfig{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: tools{{index}}.run
|
||||
depend_action: netconfig{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: role_data{{index}}.run
|
||||
depend_action: generate_vms{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: netconfig{{index}}.run
|
||||
depend_action: generate_vms{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: role_data{{index}}.run
|
||||
depend_action: connectivity_tests{{index}}.run
|
||||
- type: depends_on
|
||||
state: success
|
||||
parent_action: netconfig{{index}}.run
|
||||
depend_action: connectivity_tests{{index}}.run
|
Loading…
x
Reference in New Issue
Block a user