system-config/playbooks/set_infracloud_project_quotas.yml
Ricardo Carrillo Cruz 7679a0bcb5 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
2016-02-24 18:43:42 +01:00

10 lines
309 B
YAML

---
- 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