system-config/playbooks/clouds_layouts.yml
Ricardo Carrillo Cruz 8bf9da6944 Move declaration of openstackci/openstackzuul user roles to admin clouds
Only admin can associate roles, so we need to run that from admin cloud.

Change-Id: I7229d85e5a35a2826ae06752b882b6cb54eadcbd
2016-09-30 12:05:22 +02:00

153 lines
4.0 KiB
YAML

# This file is not a playbook, is a YAML file containing the resources layouts
# for all the OpenStack Infra clouds.
# It is meant to be passed as an argument to the the Ansible cloud launcher.
profiles:
# Profile to launch AFS server for nodepool.
- name: openstackci-projects
projects:
- name: openstackci
description: OpenStack CI project
domain: default
- name: openstackzuul
description: OpenStack zuul project
domain: default
- name: openstackci-security
security_groups:
- name: default
description: Default security group
security_groups_rules:
- security_group: default
ethertype: IPv4
remote_group: default
state: absent
- security_group: default
ethertype: IPv6
remote_group: default
state: absent
- security_group: default
ethertype: IPv4
remote_ip_prefix: 0.0.0.0/0
- security_group: default
ethertype: IPv6
remote_ip_prefix: ::/0
- name: openstackci-flavors
flavors:
- name: nodepool
ram: 8192
vcpus: 8
disk: 80
- name: mirror
ram: 8192
vcpus: 4
disk: 100
- name: openstackci-images
images:
- name: ubuntu-trusty
download_image_url: https://cloud-images.ubuntu.com/trusty/current/trusty-server-cloudimg-amd64-disk1.img
download_image_dest: /tmp/ubuntu-trusty.img
filename: /tmp/ubuntu-trusty.img
- name: admin-roles
roles:
- name: Member
- name: openstackci-user-roles
user_roles:
- role: Member
user: openstackci
project: openstackci
- name: openstackzuul-user-roles
user_roles:
- role: Member
user: openstackzuul
project: openstackzuul
clouds:
# bluebox-sjc1
- name: admin-bluebox
profiles:
- openstackci-projects
- openstackci-flavors
- name: openstackci-bluebox
profiles:
- openstackci-security
- name: openstackzuul-bluebox
profiles:
- openstackci-security
# osic-cloud1
- name: openstackci-osic-cloud1
profiles:
- openstackci-security
- name: openstackjenkins-osic-cloud1
profiles:
- openstackci-security
# osic-cloud8
- name: openstackci-osic-cloud8
profiles:
- openstackci-security
- name: openstackzuul-osic-cloud8
profiles:
- openstackci-security
# internap
- name: openstackci-internap-mtl01
oscc_cloud: openstackci-internap
region_name: mtl01
profiles:
- openstackci-security
- name: openstackci-internap-nyj01
oscc_cloud: openstackci-internap
region_name: nyj01
profiles:
- openstackci-security
- name: openstackjenkins-internap-mtl01
oscc_cloud: openstackjenkins-internap
region_name: mtl01
profiles:
- openstackci-security
- name: openstackjenkins-internap-nyj01
oscc_cloud: openstackjenkins-internap
region_name: nyj01
profiles:
- openstackci-security
# tripleo-test-cloud-rh1
- name: openstackci-tripleo-test-cloud-rh1
profiles:
- openstackci-security
- name: openstackzuul-tripleo-test-cloud-rh1
profiles:
- openstackci-security
# infracloud-vanilla
- name: admin-infracloud-vanilla
profiles:
- openstackci-projects
- openstackci-flavors
- admin-roles
- openstackci-user-roles
- openstackzuul-user-roles
- name: openstackci-infracloud-vanilla
profiles:
- openstackci-security
- openstackci-images
- name: openstackzuul-infracloud-vanilla
profiles:
- openstackci-security
# infracloud-chocolate
- name: admin-infracloud-chocolate
profiles:
- openstackci-projects
- openstackci-flavors
- admin-roles
- openstackci-user-roles
- openstackzuul-user-roles
- name: openstackci-infracloud-chocolate
profiles:
- openstackci-security
- openstackci-images
- name: openstackzuul-infracloud-chocolate
profiles:
- openstackci-security