https://github.com/springerpe/ansible-cloudfoundry
Ansible Cloud Foundry automation for users, security groups, quotas, feature flags, environment variables, organizations and spaces
https://github.com/springerpe/ansible-cloudfoundry
Last synced: 7 months ago
JSON representation
Ansible Cloud Foundry automation for users, security groups, quotas, feature flags, environment variables, organizations and spaces
- Host: GitHub
- URL: https://github.com/springerpe/ansible-cloudfoundry
- Owner: SpringerPE
- License: mit
- Created: 2016-10-17T14:05:05.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-02-02T18:21:08.000Z (about 9 years ago)
- Last Synced: 2025-01-14T04:44:39.200Z (over 1 year ago)
- Homepage:
- Size: 57.6 KB
- Stars: 10
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ansible-cloudfoundry
Cloud Foundry resource automation using Ansible
Have a look at the repository with the role:
https://github.com/SpringerPE/ansible-cloudfoundry-role/
to see how to define the resources: feature flags, domains, security groups, quotas,
environment variables, users, organizations and spaces.
Install the role with ansible-galaxy by typing:
```
ansible-galaxy install -p ./roles -r requirements.yml
```
You can manage different Cloud Foundry environments by using inventory
files like this one: `inventory/cf.ini`
It makes possible to define some common global configuration variables by splitting
them in different files (Ansible superpower!)
Once the CF credentials are defined in the inventory and the resources in the manifest,
just run ansible:
```
ansible-playbook -i inventory/cf.ini cf.yml
```
and done!
# Components
### `roles`
Ansible roles to use in the playbooks.
### `inventory`
Folder with the variables needed to set-up on each CF environment.
Have a look at the [Readme in the folder](https://github.com/SpringerPE/ansible-cloudfoundry/blob/master/inventory/Readme.md), to see how to operate.
### `cf.yml`
Ansible playbook to run.
```
ansible-playbook -i inventory/test.ini cf.yml
```
## Author
José Riguera López, jose.riguera@springer-sbm.com
SpringerNature Platform Engineering
Copyright 2017 Springer Nature