Explorar el Código

Use inventory_hostname for openshift master certs to sync.

Andrew Butcher hace 9 años
padre
commit
ae5377c921
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      roles/openshift_master_certificates/tasks/main.yml

+ 1 - 1
roles/openshift_master_certificates/tasks/main.yml

@@ -35,4 +35,4 @@
     force: true
   with_nested:
   - masters_needing_certs
-  - "{{ hostvars[openshift.common.hostname] | certificates_to_synchronize }}"
+  - "{{ hostvars[inventory_hostname] | certificates_to_synchronize }}"