Merge "Rename pki_method variable to pki_backend"
This commit is contained in:
@@ -148,8 +148,9 @@ pki_search_install_certificates_pattern: "pki_install_certificates_"
|
||||
# group: "myservice"
|
||||
# mode: "0644"
|
||||
|
||||
# method used to create the certificates
|
||||
pki_method: standalone
|
||||
# default backend used to create the certificates
|
||||
# NOTE(damiandabrowski): Remove backwards compatbility with pki_method after 2026.1
|
||||
pki_backend: "{{ pki_method | default(openstack_pki_backend | default('standalone')) }}"
|
||||
|
||||
# Handlers naming
|
||||
pki_handler_ca_changed: "ca cert changed"
|
||||
|
||||
4
releasenotes/notes/pki_backend-21f60085de5014e3.yaml
Normal file
4
releasenotes/notes/pki_backend-21f60085de5014e3.yaml
Normal file
@@ -0,0 +1,4 @@
|
||||
---
|
||||
deprecations:
|
||||
- |
|
||||
``pki_method`` was deprecated in favor of ``pki_backend``
|
||||
@@ -13,9 +13,9 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
- name: Include {{ pki_method }} CA variables
|
||||
- name: Include {{ pki_backend }} CA variables
|
||||
ansible.builtin.include_vars:
|
||||
file: "{{ pki_method ~ '_ca.yml' }}"
|
||||
file: "{{ pki_backend ~ '_ca.yml' }}"
|
||||
|
||||
- name: Create PKI directories
|
||||
ansible.builtin.file:
|
||||
@@ -31,7 +31,7 @@
|
||||
check_mode: false
|
||||
|
||||
- name: Create certificate authorities
|
||||
ansible.builtin.include_tasks: "{{ pki_method }}/create_ca.yml"
|
||||
ansible.builtin.include_tasks: "{{ pki_backend }}/create_ca.yml"
|
||||
loop: "{{ _pki_ca_defs }}"
|
||||
loop_control:
|
||||
loop_var: ca
|
||||
|
||||
@@ -13,10 +13,10 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
- name: Include {{ pki_method }} CA variables
|
||||
- name: Include {{ pki_backend }} CA variables
|
||||
ansible.builtin.include_vars:
|
||||
file: "{{ pki_method ~ '_ca.yml' }}"
|
||||
file: "{{ pki_backend ~ '_ca.yml' }}"
|
||||
|
||||
- name: Install certificate authorities
|
||||
ansible.builtin.include_tasks: "{{ pki_method }}/install_ca.yml"
|
||||
ansible.builtin.include_tasks: "{{ pki_backend }}/install_ca.yml"
|
||||
when: _pki_install_ca_defs | length > 0
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
# limitations under the License.
|
||||
|
||||
- name: Create Server certificates
|
||||
ansible.builtin.include_tasks: "{{ pki_method }}/create_cert.yml"
|
||||
ansible.builtin.include_tasks: "{{ pki_backend }}/create_cert.yml"
|
||||
loop: "{{ _pki_certificates_defs }}"
|
||||
loop_control:
|
||||
loop_var: cert
|
||||
|
||||
Reference in New Issue
Block a user