https://github.com/dhellmann/presentation-ansible-openstack
Using OpenStack via Ansible
https://github.com/dhellmann/presentation-ansible-openstack
Last synced: 3 months ago
JSON representation
Using OpenStack via Ansible
- Host: GitHub
- URL: https://github.com/dhellmann/presentation-ansible-openstack
- Owner: dhellmann
- Created: 2017-01-17T16:30:56.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2022-09-16T19:33:51.000Z (over 3 years ago)
- Last Synced: 2025-06-13T20:50:24.589Z (12 months ago)
- Language: JavaScript
- Size: 1.55 MB
- Stars: 4
- Watchers: 2
- Forks: 5
- Open Issues: 8
-
Metadata Files:
- Readme: README.rst
Awesome Lists containing this project
README
============================
OpenStack ATL Ansible Demo
============================
This repository contains ansible playbooks to demonstrate how to
configure a cloud server to prepare it to run devstack or ZNC.
Running the Devstack Demo
=========================
1. Check out the repository.
2. Change directory to the 'ansible' subdir.
3. Create a virtualenv::
$ virtualenv venv
4. Activate the virtualenv::
$ source venv/bin/activate
5. Install ansible and the other dependencies::
$ pip install -r requirements.txt
6. Install the ansible roles::
$ ansible-galaxy install -r requirements.yml
7. Edit 'keys.yml' to set the ssh key information to use for the
server.
8. Set up your 'clouds.yaml' file and 'OS_CLOUD' environment variable.
9. Verify that authentication is working properly by running an
openstack command::
$ openstack server list
10. Edit clouddev.yml to set the private key file to one matching your
cloud.
11. Run the playbook::
$ ansible-playbook ./clouddev.yml
12. Note the IP address of the server in the output of ansible-playbook.
13. Use ssh to login to the server, using the private key specified
and the user 'ubuntu'.
14. Run devstack::
$ cd ~/devstack
$ ./stack.sh