فهرست منبع

updated file for lint issues

Signed-off-by: Bhagyashree-shetty <Bhagyashree_Shetty@dellteam.com>
Bhagyashree-shetty 3 سال پیش
والد
کامیت
eb6153bc50
1فایلهای تغییر یافته به همراه2 افزوده شده و 1 حذف شده
  1. 2 1
      roles/login_node/tasks/configure_sshd.yml

+ 2 - 1
roles/login_node/tasks/configure_sshd.yml

@@ -16,6 +16,7 @@
 - name: Check if AllowUsers entry exixts
   shell: cat "{{ sshd_conf_file }}"
   register: file_content
+  changed_when: false
 
 - name: Check if user is specified
   debug:
@@ -67,4 +68,4 @@
         - file_content.stdout.find('DenyUsers') != -1
 
   when:
-    - user | length > 1
+    - user | length > 1