소스 검색

Remove duplicate slurp of session_secrets

This commit removes duplicate task.
Michael Gugino 7 년 전
부모
커밋
5604d39d9c
1개의 변경된 파일1개의 추가작업 그리고 7개의 파일을 삭제
  1. 1 7
      roles/openshift_control_plane/tasks/generate_session_secrets.yml

+ 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