Skip to content

Commit af0d013

Browse files
committed
Generate backend TLS files for network hosts
We sometimes deploy API services on network hosts to provide then with external connectivity. Where this is the case, backend TLS files need to be generated for these hosts.
1 parent f4f30e4 commit af0d013

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

etc/kayobe/ansible/vault-generate-backend-tls.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
22
# Required for uri module to work with self-signed certificates and for systems to trust
33
# the self-signed CA
4-
- name: Install CA on controllers
5-
hosts: controllers
4+
- name: Install CA
5+
hosts: controllers:network
66
tasks:
77
- name: Copy the intermediate CA
88
copy:
@@ -16,7 +16,7 @@
1616
shell: "{{ 'update-ca-trust' if ansible_facts.os_family == 'RedHat' else 'update-ca-certificates' }}"
1717

1818
- name: Generate backend API certificates
19-
hosts: controllers
19+
hosts: controllers:network
2020
vars:
2121
vault_api_addr: "https://{{ kolla_internal_fqdn }}:8200"
2222
vault_intermediate_ca_name: "OS-TLS-INT"
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
issues:
3+
- |
4+
Generate backend TLS files for network hosts. This fixes backend TLS
5+
configuration for deployments where some API services are running on
6+
network hosts.

0 commit comments

Comments
 (0)