Zabbix agent for releng hosts
Signed-off-by: Patrik Polakovič <patrik@alphamail.org>
This commit is contained in:
parent
67ed29bbc7
commit
7905b8295a
1 changed files with 21 additions and 21 deletions
|
@ -10,14 +10,14 @@
|
||||||
- name: Setup releng compose hosts
|
- name: Setup releng compose hosts
|
||||||
hosts: releng_compose:releng_compose_stg
|
hosts: releng_compose:releng_compose_stg
|
||||||
user: root
|
user: root
|
||||||
gather_facts: True
|
gather_facts: true
|
||||||
tags:
|
tags:
|
||||||
- releng-compose
|
- releng-compose
|
||||||
|
|
||||||
vars_files:
|
vars_files:
|
||||||
- /srv/web/infra/ansible/vars/global.yml
|
- /srv/web/infra/ansible/vars/global.yml
|
||||||
- "/srv/private/ansible/vars.yml"
|
- "/srv/private/ansible/vars.yml"
|
||||||
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
||||||
|
|
||||||
pre_tasks:
|
pre_tasks:
|
||||||
- import_tasks: "{{ tasks_path }}/yumrepos.yml"
|
- import_tasks: "{{ tasks_path }}/yumrepos.yml"
|
||||||
|
@ -28,7 +28,7 @@
|
||||||
- ipa/client
|
- ipa/client
|
||||||
- rkhunter
|
- rkhunter
|
||||||
- nagios_client
|
- nagios_client
|
||||||
- {role: zabbix/zabbix_agent, when: env == "staging"}
|
- role: zabbix/zabbix_agent
|
||||||
- collectd/base
|
- collectd/base
|
||||||
- sudo
|
- sudo
|
||||||
- role: keytab/service
|
- role: keytab/service
|
||||||
|
@ -137,36 +137,36 @@
|
||||||
|
|
||||||
- {
|
- {
|
||||||
role: "push-container-registry",
|
role: "push-container-registry",
|
||||||
cert_dest_dir: "/etc/docker/certs.d/registry.stg.fedoraproject.org",
|
cert_dest_dir: "/etc/docker/certs.d/registry.stg.fedoraproject.org",
|
||||||
cert_src: "{{private}}/files/docker-registry/staging/pki/issued/containerstable.crt",
|
cert_src: "{{private}}/files/docker-registry/staging/pki/issued/containerstable.crt",
|
||||||
key_src: "{{private}}/files/docker-registry/staging/pki/private/containerstable.key",
|
key_src: "{{private}}/files/docker-registry/staging/pki/private/containerstable.key",
|
||||||
}
|
}
|
||||||
- {
|
- {
|
||||||
role: "push-container-registry",
|
role: "push-container-registry",
|
||||||
cert_dest_dir: "/etc/docker/certs.d/registry.fedoraproject.org",
|
cert_dest_dir: "/etc/docker/certs.d/registry.fedoraproject.org",
|
||||||
cert_src: "{{private}}/files/docker-registry/{{env}}/pki/issued/containerstable.crt",
|
cert_src: "{{private}}/files/docker-registry/{{env}}/pki/issued/containerstable.crt",
|
||||||
key_src: "{{private}}/files/docker-registry/{{env}}/pki/private/containerstable.key",
|
key_src: "{{private}}/files/docker-registry/{{env}}/pki/private/containerstable.key",
|
||||||
when: env == "production"
|
when: env == "production"
|
||||||
}
|
}
|
||||||
- {
|
- {
|
||||||
role: login-registry,
|
role: login-registry,
|
||||||
candidate_registry: "candidate-registry.stg.fedoraproject.org",
|
candidate_registry: "candidate-registry.stg.fedoraproject.org",
|
||||||
candidate_registry_osbs_username: "{{candidate_registry_osbs_stg_username}}",
|
candidate_registry_osbs_username: "{{candidate_registry_osbs_stg_username}}",
|
||||||
candidate_registry_osbs_password: "{{candidate_registry_osbs_stg_password}}",
|
candidate_registry_osbs_password: "{{candidate_registry_osbs_stg_password}}",
|
||||||
when: env == "staging"
|
when: env == "staging"
|
||||||
}
|
}
|
||||||
- {
|
- {
|
||||||
role: login-registry,
|
role: login-registry,
|
||||||
candidate_registry: "candidate-registry.fedoraproject.org",
|
candidate_registry: "candidate-registry.fedoraproject.org",
|
||||||
candidate_registry_osbs_username: "{{candidate_registry_osbs_prod_username}}",
|
candidate_registry_osbs_username: "{{candidate_registry_osbs_prod_username}}",
|
||||||
candidate_registry_osbs_password: "{{candidate_registry_osbs_prod_password}}",
|
candidate_registry_osbs_password: "{{candidate_registry_osbs_prod_password}}",
|
||||||
when: env == "production"
|
when: env == "production"
|
||||||
}
|
}
|
||||||
- {
|
- {
|
||||||
role: login-registry,
|
role: login-registry,
|
||||||
candidate_registry: "quay.io",
|
candidate_registry: "quay.io",
|
||||||
candidate_registry_osbs_username: "{{quay_io_username}}",
|
candidate_registry_osbs_username: "{{quay_io_username}}",
|
||||||
candidate_registry_osbs_password: "{{quay_io_password}}",
|
candidate_registry_osbs_password: "{{quay_io_password}}",
|
||||||
when: env == "production"
|
when: env == "production"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue