Change it to grains.host instead of grains.id

This commit is contained in:
Mike Reeves
2020-08-19 21:26:27 -04:00
committed by GitHub
parent ccc2ed4478
commit 2fce138d95

View File

@@ -145,7 +145,7 @@ rediskeyperms:
- signing_policy: filebeat - signing_policy: filebeat
- public_key: /etc/pki/filebeat.key - public_key: /etc/pki/filebeat.key
{% if grains.role == 'so-heavynode' %} {% if grains.role == 'so-heavynode' %}
- CN: {{grains.id}} - CN: {{grains.host}}
{% else %} {% else %}
- CN: {{manager}} - CN: {{manager}}
{% endif %} {% endif %}