Explorar o código

updated file for lint issues

Signed-off-by: Bhagyashree-shetty <Bhagyashree_Shetty@dellteam.com>
Bhagyashree-shetty %!s(int64=3) %!d(string=hai) anos
pai
achega
eb6153bc50
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  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