Forráskód Böngészése

Remove duplicate slurp of session_secrets

This commit removes duplicate task.
Michael Gugino 7 éve
szülő
commit
5604d39d9c

+ 1 - 7
roles/openshift_control_plane/tasks/generate_session_secrets.yml

@@ -7,16 +7,10 @@
     path: "{{ openshift_master_session_secrets_file }}"
   register: l_osm_session_secrets_stat
 
-- name: Determine if sessions secrets already in place
-  slurp:
-    src: "{{ openshift_master_session_secrets_file }}"
-  register: l_osm_session_secrets_slurp
-  when: l_osm_session_secrets_stat.stat.exists
-
 - name: slurp session secrets if defined
   slurp:
     src: "{{ openshift_master_session_secrets_file }}"
-  register: osm_session_secrets
+  register: l_osm_session_secrets_slurp
   no_log: true
   when: l_osm_session_secrets_stat.stat.exists