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 all_users = salt['user.list_users']() %}
|
||||||
{% set monuser='iwan' %}
|
{% set monuser='iwan' %}
|
||||||
{% if monuser in all_users %}
|
{% if monuser in all_users %}
|
||||||
{% set userpath='/home/'+monuser %}
|
{% set userpath='/home/'+monuser %}
|
||||||
Creation of directory {{userpath}}/.ssh:
|
Creation of directory {{userpath}}/.ssh:
|
||||||
file.directory:
|
file.directory:
|
||||||
- name: {{userpath}}/.ssh
|
- name: {{userpath}}/.ssh
|
||||||
|
|||||||
Reference in New Issue
Block a user