Playbook for setting the infracloud jenkins project quotas

We are only deploying West for now, so just doing West.
When we get East in production, we would update this playbook.
Unfortunate there is no Ansible module or Puppet resources to set
quotas per-project, thus using regular shell module in Ansible.

Change-Id: Ib884508bebedc9f88fac242711af98fc0c4d95ec
This commit is contained in:
Ricardo Carrillo Cruz 2016-02-23 22:42:00 +01:00
parent 5b32424d99
commit 7679a0bcb5

View File

@ -0,0 +1,9 @@
---
- hosts: localhost
connection: local
gather_facts: false
tasks:
- shell: 'openstack quota set openstackjenkins --cores 800 --ram 800000 --instances 100'
environment:
REQUESTS_CA_BUNDLE: '/etc/openstack/infracloud_west_cacert.pem'
OS_CLOUD: openstackjenkins-infracloud-west