Bootstrap resource added
- added example-bootstrap.py - moved ansible tasks to separate dir
This commit is contained in:
parent
06e12ac78c
commit
868ffd83cb
12
resources/solar_bootstrap/actions/run.yaml
Normal file
12
resources/solar_bootstrap/actions/run.yaml
Normal file
@ -0,0 +1,12 @@
|
||||
---
|
||||
|
||||
# TODO: this shouldn't be outside of the resource directory
|
||||
- hosts: all
|
||||
sudo: yes
|
||||
tasks:
|
||||
- script: /vagrant/bootstrap/playbooks/files/ubuntu-ansible.sh
|
||||
- include: /vagrant/bootstrap/playbooks/tasks/cinder.yml
|
||||
#- include: celery.yml tags=['master'] celery_dir=/var/run/celery
|
||||
- include: /vagrant/bootstrap/playbooks/build-main.yml
|
||||
- include: /vagrant/bootstrap/playbooks/custom-configs.yml master_ip={{ master_ip }}
|
||||
- include: /vagrant/bootstrap/playbooks/celery.yml tags=slave
|
18
resources/solar_bootstrap/meta.yaml
Normal file
18
resources/solar_bootstrap/meta.yaml
Normal file
@ -0,0 +1,18 @@
|
||||
handler: ansible
|
||||
id: 'solar_bootstrap'
|
||||
input:
|
||||
ip:
|
||||
schema: str!
|
||||
value:
|
||||
ssh_key:
|
||||
schema: str!
|
||||
value:
|
||||
ssh_user:
|
||||
schema: str!
|
||||
value:
|
||||
|
||||
master_ip:
|
||||
schema: str!
|
||||
value:
|
||||
tags: []
|
||||
version: 1.0.0
|
Loading…
Reference in New Issue
Block a user