Преглед на файлове

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