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:
parent
5b32424d99
commit
7679a0bcb5
9
playbooks/set_infracloud_project_quotas.yml
Normal file
9
playbooks/set_infracloud_project_quotas.yml
Normal 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
|
Loading…
Reference in New Issue
Block a user