This commit is contained in:
@@ -22,4 +22,4 @@
|
|||||||
loop: "{{ zsh_users }}"
|
loop: "{{ zsh_users }}"
|
||||||
loop_control:
|
loop_control:
|
||||||
loop_var: current_user
|
loop_var: current_user
|
||||||
tags: [always]
|
#tags: [always]
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
set_fact:
|
set_fact:
|
||||||
#user_home: "{{ getent_passwd[current_user] }}"
|
#user_home: "{{ getent_passwd[current_user] }}"
|
||||||
user_home: "{{ '/root' if current_user == 'root' else '/home/' ~ current_user }}"
|
user_home: "{{ '/root' if current_user == 'root' else '/home/' ~ current_user }}"
|
||||||
tags: [deploy,update]
|
tags: [always]
|
||||||
|
|
||||||
- name: "[{{ current_user }}] Меняем дефолтный shell на /bin/zsh"
|
- name: "[{{ current_user }}] Меняем дефолтный shell на /bin/zsh"
|
||||||
user:
|
user:
|
||||||
|
|||||||
Reference in New Issue
Block a user