diff --git a/resources/solar_bootstrap/actions/run.yaml b/resources/solar_bootstrap/actions/run.yaml new file mode 100644 index 0000000..24edaf6 --- /dev/null +++ b/resources/solar_bootstrap/actions/run.yaml @@ -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 diff --git a/resources/solar_bootstrap/meta.yaml b/resources/solar_bootstrap/meta.yaml new file mode 100644 index 0000000..d89f224 --- /dev/null +++ b/resources/solar_bootstrap/meta.yaml @@ -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