paste: move certificate to group variable

Similar to Id98768e29a06cebaf645eb75b39e4dc5adb8830d, move the
certificate variables to the group definition file, so that we don't
have to duplicate handlers or definitions for the testing host.

Change-Id: I6650f5621a4969582f40700232a596d84e2b4a06
changes/17/848917/3
Ian Wienand 5 months ago
parent e70c1e581c
commit 5ba37ced60
  1. 5
      inventory/service/group_vars/paste.yaml
  2. 5
      inventory/service/host_vars/paste01.opendev.org.yaml
  3. 5
      playbooks/roles/letsencrypt-create-certs/handlers/main.yaml
  4. 5
      playbooks/zuul/templates/host_vars/paste99.opendev.org.yaml.j2
  5. 3
      zuul.d/infra-prod.yaml

@ -1,3 +1,8 @@
letsencrypt_certs:
paste-opendev-org-main:
- '{{ inventory_hostname }}'
- paste.opendev.org
- paste.openstack.org
borg_backup_excludes_extra:
# live db; dumped with mysqldump
- /var/lib/lodgeit

@ -1,5 +0,0 @@
letsencrypt_certs:
paste01-opendev-org-main:
- paste01.opendev.org
- paste.opendev.org
- paste.openstack.org

@ -165,10 +165,7 @@
# paste
- name: letsencrypt updated paste01-opendev-org-main
include_tasks: roles/letsencrypt-create-certs/handlers/restart_apache.yaml
- name: letsencrypt updated paste99-opendev-org-main
- name: letsencrypt updated paste-opendev-org-main
include_tasks: roles/letsencrypt-create-certs/handlers/restart_apache.yaml
# review

@ -1,7 +1,2 @@
lodgeit_secret_key: secretkey
lodgeit_db_password: password
letsencrypt_certs:
paste99-opendev-org-main:
- paste99.opendev.org
- paste.opendev.org
- paste.openstack.org

@ -281,8 +281,7 @@
files:
- inventory/base
- playbooks/service-paste.yaml
- inventory/service/host_vars/paste01.opendev.org.yaml
- inventory/service/group_vars/paste
- inventory/service/group_vars/paste.yaml
- playbooks/roles/install-docker/
- playbooks/roles/pip3/
- playbooks/roles/lodgeit/

Loading…
Cancel
Save