diff --git a/inventory/host_vars/209.132.184.49 b/inventory/host_vars/209.132.184.49 new file mode 100644 index 0000000000..7ba751c865 --- /dev/null +++ b/inventory/host_vars/209.132.184.49 @@ -0,0 +1,22 @@ +--- +instance_type: m1.xlarge +flavor_id: 2 +# image: "{{ f20_qcow_id }}" +image: "86422ca2-6eeb-435c-87e8-402b3c7c3b7b" +keypair: fas +security_group: ssh-anywhere-coprdev,default +OS_TENANT_ID: "566a072fb1694950998ad191fee3833b" +OS_TENANT_NAME: "coprdev" +zone: nova +hostbase: copr-be-dev2- +public_ip: 209.132.184.49 +root_auth_users: bkabrda msuchy tradej pingou vgologuz +description: copr dispatcher and repo server - dev instance +tcp_ports: ['22', '80', '443'] +cloud_networks: + - net-id: "53fb02fd-6e97-4cfc-b298-a2ff867daa52" + - net-id: "6797b4e3-28a0-4a14-9689-e506d0cca90d" + +# Copr vars +copr_hostbase: copr-be-dev +_copr_be_conf: copr-be.conf-dev diff --git a/inventory/inventory b/inventory/inventory index 72980e60e5..73d0d0a071 100644 --- a/inventory/inventory +++ b/inventory/inventory @@ -816,6 +816,7 @@ copr-fe-dev.cloud.fedoraproject.org [copr-back-stg] copr-be-dev.cloud.fedoraproject.org copr-be-dev2.cloud.fedoraproject.org +209.132.184.49 [copr-keygen-stg] 209.132.184.124 diff --git a/playbooks/groups/copr-backend.yml b/playbooks/groups/copr-backend.yml index e0024560a4..99f73477b5 100644 --- a/playbooks/groups/copr-backend.yml +++ b/playbooks/groups/copr-backend.yml @@ -1,5 +1,6 @@ - name: check/create instance - hosts: copr-be-dev2.cloud.fedoraproject.org + hosts: 209.132.184.49 + #hosts: copr-be-dev2.cloud.fedoraproject.org #hosts: copr-back:copr-back-stg #hosts: copr-back-stg user: root @@ -10,14 +11,6 @@ - "/srv/private/ansible/vars.yml" vars: OS_AUTH_URL: "https://fed-cloud09.cloud.fedoraproject.org:5000/v2.0" - # With the addition of Keystone we have standardized on the term **tenant** - # # as the entity that owns the resources. - # OS_TENANT_ID: "566a072fb1694950998ad191fee3833b" - # OS_TENANT_NAME: "coprdev" - # - # # In addition to the owning entity (tenant), openstack stores the entity - # # performing the action as the **user**. - # OS_USERNAME: "user" vars_prompt: - name: "OS_USERNAME" @@ -35,7 +28,8 @@ - include: "{{ tasks }}/growroot_cloud.yml" - name: cloud basic setup - hosts: copr-be-dev2.cloud.fedoraproject.org + hosts: 209.132.184.49 + #hosts: copr-be-dev2.cloud.fedoraproject.org #hosts: copr-back:copr-back-stg #hosts: copr-back-stg vars_files: @@ -46,7 +40,8 @@ - include: "{{ tasks }}/cloud_setup_basic.yml" - name: provision instance - hosts: copr-be-dev2.cloud.fedoraproject.org + hosts: 209.132.184.49 + #hosts: copr-be-dev2.cloud.fedoraproject.org #hosts: copr-back:copr-back-stg #hosts: copr-back-stg user: root