RabbitMQ: deploy the new CA cert to prod too

Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
Aurélien Bompard 2025-04-23 09:49:42 +02:00
parent d1728cd3d1
commit 9aca5b724a
No known key found for this signature in database
GPG key ID: 31584CFEB9BF64AD

View file

@ -28,15 +28,6 @@
- rabbitmq_cluster
- packages
- name: Deploy CA certificate
ansible.builtin.copy: src="{{private}}/files/rabbitmq/{{env}}/pki/ca.crt"
dest=/etc/rabbitmq/ca.crt
owner=root group=root mode=0644
tags:
- rabbitmq_cluster
- config
when: "env == 'production'"
- name: Deploy CA certificate
ansible.builtin.copy:
src: "{{private}}/files/rabbitmq/{{env}}/ca-combined.crt"
@ -47,7 +38,6 @@
tags:
- rabbitmq_cluster
- config
when: "env == 'staging'"
- name: Create node cert directory
ansible.builtin.file: path=/etc/rabbitmq/nodecert/ owner=root group=root mode=0755 state=directory