Good indent
This commit is contained in:
@@ -25,7 +25,7 @@ Creation of file /root/.ssh/authorized_keys:
|
||||
{% set all_users = salt['user.list_users']() %}
|
||||
{% set monuser='iwan' %}
|
||||
{% if monuser in all_users %}
|
||||
{% set userpath='/home/'+monuser %}
|
||||
{% set userpath='/home/'+monuser %}
|
||||
Creation of directory {{userpath}}/.ssh:
|
||||
file.directory:
|
||||
- name: {{userpath}}/.ssh
|
||||
|
||||
Reference in New Issue
Block a user