https://github.com/resmo/ansible-cloudstack-example
Example project for using ansible and cloudstack
https://github.com/resmo/ansible-cloudstack-example
ansible cloudstack docker example-project
Last synced: 5 months ago
JSON representation
Example project for using ansible and cloudstack
- Host: GitHub
- URL: https://github.com/resmo/ansible-cloudstack-example
- Owner: resmo
- Created: 2014-12-25T18:00:09.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2019-11-19T12:16:47.000Z (about 6 years ago)
- Last Synced: 2025-03-16T20:23:38.473Z (10 months ago)
- Topics: ansible, cloudstack, docker, example-project
- Language: Makefile
- Homepage:
- Size: 19.5 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# CloudStack Example Playbook
[](https://www.youtube.com/watch?v=cFC0dNvRaf4)
## What:
Installs yacy search engine on Exoscale.
## Cloud Credentionals
~~~
$ cat $HOME/.cloudstack.ini
[cloudstack]
endpoint = https://api.exoscale.ch/compute
key = cloudstack api key
secret = cloudstack api secret
~~~
## Instal by venv
~~~
$ git clone https://github.com/resmo/ansible-cloudstack-example.git
$ cd ansible-cloudstack-example
$ python3 -m venv .venv
$ source .venv/bin/activate
$ pip install -r requirements.txt
$ ansible-playbook playbooks/site.yml
~~~
## Install by virtualenv
~~~
$ git clone https://github.com/resmo/ansible-cloudstack-example.git
$ cd ansible-cloudstack-example
$ virtualenv app && source app/bin/activate
$ pip install -r requirements.txt
$ ansible-playbook playbooks/site.yml
~~~
## Install and run with Docker
~~~
$ git clone https://github.com/resmo/ansible-cloudstack-example.git
$ cd ansible-cloudstack-example
$ make build
$ make run
# Cleanup
$ make clean
~~~