Merge "Cleanup graphite01"
This commit is contained in:
commit
04cfc9fac3
@ -228,7 +228,7 @@ cacti_hosts:
|
||||
- gitea07.opendev.org
|
||||
- gitea08.opendev.org
|
||||
- grafana.openstack.org
|
||||
- graphite01.opendev.org
|
||||
- graphite02.opendev.org
|
||||
- health.openstack.org
|
||||
- jvb01.opendev.org
|
||||
- kdc03.openstack.org
|
||||
|
@ -230,13 +230,6 @@ all:
|
||||
region_name: DFW
|
||||
public_v4: 198.101.251.7
|
||||
public_v6: 2001:4800:7821:102:be76:4eff:fe04:3bad
|
||||
graphite01.opendev.org:
|
||||
ansible_host: 162.209.77.51
|
||||
location:
|
||||
cloud: openstackci-rax
|
||||
region_name: DFW
|
||||
public_v4: 162.209.77.51
|
||||
public_v6: 2001:4800:7818:103:be76:4eff:fe04:763e
|
||||
graphite02.opendev.org:
|
||||
ansible_host: 104.239.240.167
|
||||
location:
|
||||
|
@ -72,11 +72,7 @@ groups:
|
||||
grafana_opendev:
|
||||
- grafana[0-9]*.opendev.org
|
||||
graphite:
|
||||
- graphite*.open*.org
|
||||
# NOTE(ianw) : to be cleaned up once the half-puppet
|
||||
# graphite01.opendev.org is gone.
|
||||
graphite_opendev:
|
||||
- graphite02.opendev.org
|
||||
- graphite*.opendev.org
|
||||
health:
|
||||
- health[0-9]*.openstack.org
|
||||
jvb:
|
||||
@ -141,10 +137,6 @@ groups:
|
||||
- ethercalc[0-9]*.open*.org
|
||||
- firehose[0-9]*.open*.org
|
||||
- grafana[0-9]*.open*.org
|
||||
# TODO(ianw) : this is a weird one we half-converted and moved
|
||||
# into opendev.org in the early days of opendev. remove when
|
||||
# graphite02 up.
|
||||
- graphite01.opendev.org
|
||||
- health[0-9]*.openstack.org
|
||||
- kdc[0-9]*.open*.org
|
||||
- lists*.katacontainers.io
|
||||
@ -180,7 +172,6 @@ groups:
|
||||
- ethercalc[0-9]*.open*.org
|
||||
- firehose[0-9]*.open*.org
|
||||
- grafana[0-9]*.open*.org
|
||||
- graphite01.opendev.org
|
||||
- health[0-9]*.openstack.org
|
||||
- kdc[0-9]*.open*.org
|
||||
- lists*.katacontainers.io
|
||||
@ -237,7 +228,7 @@ groups:
|
||||
- ethercalc[0-9]*.open*.org
|
||||
- etherpad[0-9]*.open*.org
|
||||
- grafana[0-9]*.open*.org
|
||||
- graphite*.open*.org
|
||||
- graphite*.opendev.org
|
||||
- health[0-9]*.openstack.org
|
||||
- nb[0-9]*.opendev.org
|
||||
- nl[0-9]*.open*.org
|
||||
|
@ -1,4 +0,0 @@
|
||||
letsencrypt_certs:
|
||||
graphite01-main:
|
||||
- graphite01.opendev.org
|
||||
- graphite.opendev.org
|
@ -37,21 +37,6 @@ node /^cacti\d+\.open.*\.org$/ {
|
||||
}
|
||||
}
|
||||
|
||||
# Node-OS: xenial
|
||||
node /^graphite\d*\.open.*\.org$/ {
|
||||
class { 'openstack_project::server': }
|
||||
|
||||
class { '::graphite':
|
||||
graphite_admin_user => hiera('graphite_admin_user', 'username'),
|
||||
graphite_admin_email => hiera('graphite_admin_email', 'email@example.com'),
|
||||
graphite_admin_password => hiera('graphite_admin_password'),
|
||||
# NOTE(ianw): installed on the host via ansible
|
||||
ssl_cert_file => '/etc/letsencrypt-certs/graphite01.opendev.org/graphite01.opendev.org.cer',
|
||||
ssl_key_file => '/etc/letsencrypt-certs/graphite01.opendev.org/graphite01.opendev.org.key',
|
||||
ssl_chain_file => '/etc/letsencrypt-certs/graphite01.opendev.org/ca.cer',
|
||||
}
|
||||
}
|
||||
|
||||
# Node-OS: xenial
|
||||
node /^lists\d*\.open.*\.org$/ {
|
||||
class { 'openstack_project::server': }
|
||||
|
@ -18,12 +18,9 @@ results:
|
||||
- puppet
|
||||
- puppet4
|
||||
|
||||
graphite01.opendev.org:
|
||||
- puppet
|
||||
- puppet4
|
||||
graphite02.opendev.org:
|
||||
- graphite
|
||||
- letsencrypt
|
||||
- puppet
|
||||
- webservers
|
||||
|
||||
lists.katacontainers.io:
|
||||
|
@ -11,9 +11,6 @@
|
||||
# ("include_tasks" is okay).
|
||||
# https://docs.ansible.com/ansible/latest/porting_guides/porting_guide_2.8.html#imports-as-handlers
|
||||
|
||||
- name: letsencrypt updated graphite01-main
|
||||
include_tasks: roles/letsencrypt-create-certs/handlers/restart_apache.yaml
|
||||
|
||||
- name: letsencrypt updated graphite02-main
|
||||
include_tasks: roles/letsencrypt-create-certs/handlers/restart_graphite.yaml
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
- hosts: "graphite_opendev:!disabled"
|
||||
- hosts: "graphite:!disabled"
|
||||
name: "Base: configure graphite"
|
||||
roles:
|
||||
- iptables
|
||||
|
Loading…
Reference in New Issue
Block a user