Move precheck into its own role
* Merge prechecks.yml and site.yml playbook * Create empty precheck.yml into all roles. Change-Id: I8a138558a26c0a2a66c5fd48ed37be657c99c1dd Implements: blueprint condition-pre-check
This commit is contained in:
parent
6548e43537
commit
fa45801946
@ -1,4 +0,0 @@
|
||||
---
|
||||
- hosts: all
|
||||
roles:
|
||||
- prechecks
|
1
ansible/roles/aodh/tasks/precheck.yml
Normal file
1
ansible/roles/aodh/tasks/precheck.yml
Normal file
@ -0,0 +1 @@
|
||||
---
|
1
ansible/roles/barbican/tasks/precheck.yml
Normal file
1
ansible/roles/barbican/tasks/precheck.yml
Normal file
@ -0,0 +1 @@
|
||||
---
|
1
ansible/roles/baremetal/tasks/precheck.yml
Normal file
1
ansible/roles/baremetal/tasks/precheck.yml
Normal file
@ -0,0 +1 @@
|
||||
---
|
1
ansible/roles/bifrost/tasks/precheck.yml
Normal file
1
ansible/roles/bifrost/tasks/precheck.yml
Normal file
@ -0,0 +1 @@
|
||||
---
|
1
ansible/roles/ceilometer/tasks/precheck.yml
Normal file
1
ansible/roles/ceilometer/tasks/precheck.yml
Normal file
@ -0,0 +1 @@
|
||||
---
|
1
ansible/roles/ceph/tasks/precheck.yml
Normal file
1
ansible/roles/ceph/tasks/precheck.yml
Normal file
@ -0,0 +1 @@
|
||||
---
|
1
ansible/roles/certificates/tasks/precheck.yml
Normal file
1
ansible/roles/certificates/tasks/precheck.yml
Normal file
@ -0,0 +1 @@
|
||||
---
|
1
ansible/roles/cinder/tasks/precheck.yml
Normal file
1
ansible/roles/cinder/tasks/precheck.yml
Normal file
@ -0,0 +1 @@
|
||||
---
|
1
ansible/roles/cloudkitty/tasks/precheck.yml
Normal file
1
ansible/roles/cloudkitty/tasks/precheck.yml
Normal file
@ -0,0 +1 @@
|
||||
---
|
1
ansible/roles/collectd/tasks/precheck.yml
Normal file
1
ansible/roles/collectd/tasks/precheck.yml
Normal file
@ -0,0 +1 @@
|
||||
---
|
1
ansible/roles/common/tasks/precheck.yml
Normal file
1
ansible/roles/common/tasks/precheck.yml
Normal file
@ -0,0 +1 @@
|
||||
---
|
1
ansible/roles/congress/tasks/precheck.yml
Normal file
1
ansible/roles/congress/tasks/precheck.yml
Normal file
@ -0,0 +1 @@
|
||||
---
|
1
ansible/roles/destroy/tasks/precheck.yml
Normal file
1
ansible/roles/destroy/tasks/precheck.yml
Normal file
@ -0,0 +1 @@
|
||||
---
|
1
ansible/roles/elasticsearch/tasks/precheck.yml
Normal file
1
ansible/roles/elasticsearch/tasks/precheck.yml
Normal file
@ -0,0 +1 @@
|
||||
---
|
1
ansible/roles/etcd/tasks/precheck.yml
Normal file
1
ansible/roles/etcd/tasks/precheck.yml
Normal file
@ -0,0 +1 @@
|
||||
---
|
1
ansible/roles/glance/tasks/precheck.yml
Normal file
1
ansible/roles/glance/tasks/precheck.yml
Normal file
@ -0,0 +1 @@
|
||||
---
|
1
ansible/roles/gnocchi/tasks/precheck.yml
Normal file
1
ansible/roles/gnocchi/tasks/precheck.yml
Normal file
@ -0,0 +1 @@
|
||||
---
|
1
ansible/roles/grafana/tasks/precheck.yml
Normal file
1
ansible/roles/grafana/tasks/precheck.yml
Normal file
@ -0,0 +1 @@
|
||||
---
|
1
ansible/roles/haproxy/tasks/precheck.yml
Normal file
1
ansible/roles/haproxy/tasks/precheck.yml
Normal file
@ -0,0 +1 @@
|
||||
---
|
1
ansible/roles/heat/tasks/precheck.yml
Normal file
1
ansible/roles/heat/tasks/precheck.yml
Normal file
@ -0,0 +1 @@
|
||||
---
|
1
ansible/roles/horizon/tasks/precheck.yml
Normal file
1
ansible/roles/horizon/tasks/precheck.yml
Normal file
@ -0,0 +1 @@
|
||||
---
|
1
ansible/roles/influxdb/tasks/precheck.yml
Normal file
1
ansible/roles/influxdb/tasks/precheck.yml
Normal file
@ -0,0 +1 @@
|
||||
---
|
1
ansible/roles/ironic/tasks/precheck.yml
Normal file
1
ansible/roles/ironic/tasks/precheck.yml
Normal file
@ -0,0 +1 @@
|
||||
---
|
1
ansible/roles/iscsi/tasks/precheck.yml
Normal file
1
ansible/roles/iscsi/tasks/precheck.yml
Normal file
@ -0,0 +1 @@
|
||||
---
|
1
ansible/roles/keystone/tasks/precheck.yml
Normal file
1
ansible/roles/keystone/tasks/precheck.yml
Normal file
@ -0,0 +1 @@
|
||||
---
|
1
ansible/roles/kibana/tasks/precheck.yml
Normal file
1
ansible/roles/kibana/tasks/precheck.yml
Normal file
@ -0,0 +1 @@
|
||||
---
|
1
ansible/roles/kuryr/tasks/precheck.yml
Normal file
1
ansible/roles/kuryr/tasks/precheck.yml
Normal file
@ -0,0 +1 @@
|
||||
---
|
1
ansible/roles/magnum/tasks/precheck.yml
Normal file
1
ansible/roles/magnum/tasks/precheck.yml
Normal file
@ -0,0 +1 @@
|
||||
---
|
1
ansible/roles/manila/tasks/precheck.yml
Normal file
1
ansible/roles/manila/tasks/precheck.yml
Normal file
@ -0,0 +1 @@
|
||||
---
|
1
ansible/roles/mariadb/tasks/precheck.yml
Normal file
1
ansible/roles/mariadb/tasks/precheck.yml
Normal file
@ -0,0 +1 @@
|
||||
---
|
1
ansible/roles/memcached/tasks/precheck.yml
Normal file
1
ansible/roles/memcached/tasks/precheck.yml
Normal file
@ -0,0 +1 @@
|
||||
---
|
1
ansible/roles/mistral/tasks/precheck.yml
Normal file
1
ansible/roles/mistral/tasks/precheck.yml
Normal file
@ -0,0 +1 @@
|
||||
---
|
1
ansible/roles/mongodb/tasks/precheck.yml
Normal file
1
ansible/roles/mongodb/tasks/precheck.yml
Normal file
@ -0,0 +1 @@
|
||||
---
|
1
ansible/roles/multipathd/tasks/precheck.yml
Normal file
1
ansible/roles/multipathd/tasks/precheck.yml
Normal file
@ -0,0 +1 @@
|
||||
---
|
1
ansible/roles/murano/tasks/precheck.yml
Normal file
1
ansible/roles/murano/tasks/precheck.yml
Normal file
@ -0,0 +1 @@
|
||||
---
|
1
ansible/roles/neutron/tasks/precheck.yml
Normal file
1
ansible/roles/neutron/tasks/precheck.yml
Normal file
@ -0,0 +1 @@
|
||||
---
|
1
ansible/roles/nova/tasks/precheck.yml
Normal file
1
ansible/roles/nova/tasks/precheck.yml
Normal file
@ -0,0 +1 @@
|
||||
---
|
1
ansible/roles/prechecks/tasks/precheck.yml
Normal file
1
ansible/roles/prechecks/tasks/precheck.yml
Normal file
@ -0,0 +1 @@
|
||||
---
|
1
ansible/roles/rabbitmq/tasks/precheck.yml
Normal file
1
ansible/roles/rabbitmq/tasks/precheck.yml
Normal file
@ -0,0 +1 @@
|
||||
---
|
1
ansible/roles/rally/tasks/precheck.yml
Normal file
1
ansible/roles/rally/tasks/precheck.yml
Normal file
@ -0,0 +1 @@
|
||||
---
|
1
ansible/roles/sahara/tasks/precheck.yml
Normal file
1
ansible/roles/sahara/tasks/precheck.yml
Normal file
@ -0,0 +1 @@
|
||||
---
|
1
ansible/roles/searchlight/tasks/precheck.yml
Normal file
1
ansible/roles/searchlight/tasks/precheck.yml
Normal file
@ -0,0 +1 @@
|
||||
---
|
1
ansible/roles/senlin/tasks/precheck.yml
Normal file
1
ansible/roles/senlin/tasks/precheck.yml
Normal file
@ -0,0 +1 @@
|
||||
---
|
1
ansible/roles/swift/tasks/precheck.yml
Normal file
1
ansible/roles/swift/tasks/precheck.yml
Normal file
@ -0,0 +1 @@
|
||||
---
|
1
ansible/roles/telegraf/tasks/precheck.yml
Normal file
1
ansible/roles/telegraf/tasks/precheck.yml
Normal file
@ -0,0 +1 @@
|
||||
---
|
1
ansible/roles/tempest/tasks/precheck.yml
Normal file
1
ansible/roles/tempest/tasks/precheck.yml
Normal file
@ -0,0 +1 @@
|
||||
---
|
1
ansible/roles/vmtp/tasks/precheck.yml
Normal file
1
ansible/roles/vmtp/tasks/precheck.yml
Normal file
@ -0,0 +1 @@
|
||||
---
|
1
ansible/roles/watcher/tasks/precheck.yml
Normal file
1
ansible/roles/watcher/tasks/precheck.yml
Normal file
@ -0,0 +1 @@
|
||||
---
|
@ -13,6 +13,12 @@
|
||||
- setup:
|
||||
tags: always
|
||||
|
||||
- hosts:
|
||||
- all
|
||||
roles:
|
||||
- role: prechecks
|
||||
when: action == "precheck"
|
||||
|
||||
- hosts:
|
||||
- ceph-mon
|
||||
- ceph-osd
|
||||
|
@ -148,7 +148,7 @@ case "$1" in
|
||||
|
||||
(prechecks)
|
||||
ACTION="Pre-deployment checking"
|
||||
PLAYBOOK="${BASEDIR}/ansible/prechecks.yml"
|
||||
EXTRA_OPTS="$EXTRA_OPTS -e action=precheck"
|
||||
;;
|
||||
(mariadb_recovery)
|
||||
ACTION="Attempting to restart mariadb cluster"
|
||||
|
Loading…
Reference in New Issue
Block a user