Browse Source

Update main.yml

Signed-off-by: abhishek-sa1 <abhishek.sa3@dell.com>
abhishek-sa1 3 years ago
parent
commit
1ac667de7b
1 changed files with 2 additions and 1 deletions
  1. 2 1
      roles/login_common/tasks/main.yml

+ 2 - 1
roles/login_common/tasks/main.yml

@@ -23,6 +23,7 @@
     - name: Update Packages
       include_tasks: update_package.yml
   when:
+    - os_leap not in ansible_distribution | lower
     - hostvars['127.0.0.1']['login_node_required']
     - hostvars['127.0.0.1']['ipa_server_ms'] and login_node_group in group_names or
-      not hostvars['127.0.0.1']['ipa_server_ms']
+      not hostvars['127.0.0.1']['ipa_server_ms']