copr-be-dev-aws: disable services for the beginning

This commit is contained in:
Pavel Raiskup 2020-02-19 21:28:50 +01:00 committed by Pierre-Yves Chibon
parent 760d315fdd
commit 2a2a653b83
6 changed files with 19 additions and 0 deletions

View file

@ -0,0 +1,2 @@
---
services_disabled: true

View file

@ -0,0 +1,2 @@
---
services_disabled: true

View file

@ -15,3 +15,5 @@ messaging:
# Copr vars
copr_hostbase: copr-be-dev
_copr_be_conf: copr-be.conf-dev
datacenter: aws

View file

@ -1110,6 +1110,9 @@ copr-fe.cloud.fedoraproject.org
[copr_back]
copr-be.cloud.fedoraproject.org
[copr_back_aws]
copr-be-aws.fedorainfracloud.org
[copr_dist_git]
copr-dist-git.fedorainfracloud.org
@ -1155,9 +1158,13 @@ copr-dist-git-stg.fedorainfracloud.org
[copr:children]
copr_front
copr_back
copr_back_aws
copr_keygen
copr_dist_git
[copr_aws:children]
copr_back_aws
[copr_stg:children]
copr_front_stg
copr_back_stg
@ -1174,6 +1181,9 @@ copr_front_dev_aws
copr_keygen_dev_aws
copr_dist_git_dev_aws
[copr_dev_aws:children]
copr_back_dev_aws
[copr_hypervisors_aarch64]
virthost-aarch64-os01.fedorainfracloud.org
virthost-aarch64-os02.fedorainfracloud.org

View file

@ -272,6 +272,7 @@
- name: enable and run copr-backend services
service: name="{{ item }}" enabled=yes state=started
when: not services_disabled|bool
with_items:
- redis # TODO: .service in copr-backend should depend on redis
- copr-backend

View file

@ -20,6 +20,7 @@
- name: enable PostgreSQL service
service: state=started enabled=yes name=postgresql
when: not services_disabled|bool
- name: Create PG user
postgresql_user: name="resalloc"
@ -126,3 +127,4 @@
name: resalloc
state: started
enabled: yes
when: not services_disabled|bool