Created
April 21, 2018 08:34
-
-
Save evrardjp/de4e6f2370e61a04c900b51140cac7f3 to your computer and use it in GitHub Desktop.
cloud init
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apt_mirror: http://mirror.rackspace.com/ubuntu/ | |
package_upgrade: true | |
packages: | |
- git-core | |
runcmd: | |
- export ANSIBLE_FORCE_COLOR=true | |
- export PYTHONUNBUFFERED=1 | |
- export REPO=https://github.com/openstack/openstack-ansible | |
- export BRANCH=stable/mitaka | |
- git clone -b ${BRANCH} ${REPO} /opt/openstack-ansible | |
- cd /opt/openstack-ansible && sudo scripts/bootstrap-ansible.sh | |
- cd /opt/openstack-ansible && sudo scripts/bootstrap-aio.sh | |
- cd /opt/openstack-ansible && sudo scripts/run-playbooks.sh | |
output: { all: '| tee -a /var/log/cloud-init-output.log' } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment