Remove container_name reference

This commit removes the container_name var reference from
defaults/main.yml, and replaces it with ansible_hostname instead.  This
helps when installing this role on a non-OpenStack-Ansible deployment
which does not have container_name set.

Change-Id: I7da72c45b50bff5722e1e5c1900c8aa56759eb7f
This commit is contained in:
Matt Thompson 2016-11-24 10:33:13 -05:00
parent e78b80c931
commit ab268645d9

View File

@ -62,7 +62,7 @@ rabbitmq_ssl_ca_cert: /etc/rabbitmq/rabbitmq-ca.pem
# SSL certificate for RabbitMQ when this playbook runs. You can also change
# the subject of the self-signed certificate here if you prefer.
rabbitmq_ssl_self_signed_regen: false
rabbitmq_ssl_self_signed_subject: "/C=US/ST=Texas/L=San Antonio/O=IT/CN={{ container_name }}"
rabbitmq_ssl_self_signed_subject: "/C=US/ST=Texas/L=San Antonio/O=IT/CN={{ ansible_hostname }}"
# Define user-provided SSL certificates in:
# /etc/openstack_deploy/user_variables.yml