This commit is contained in:
@@ -9,13 +9,13 @@
|
|||||||
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: [always]
|
tags: [always]
|
||||||
|
|
||||||
- name: "[{{ current_user }}] Меняем дефолтный shell на /bin/zsh"
|
- name: "[{{ current_user }}] Меняем дефолтный shell на /bin/zsh"
|
||||||
user:
|
user:
|
||||||
name: "{{ current_user }}"
|
name: "{{ current_user }}"
|
||||||
shell: /bin/zsh
|
shell: /bin/zsh
|
||||||
#tags: [deploy]
|
tags: [deploy]
|
||||||
|
|
||||||
# ==========================================
|
# ==========================================
|
||||||
# БЛОК 1: ПЕРВИЧНАЯ РАСКАТКА (БЫСТРЫЙ CLONE)
|
# БЛОК 1: ПЕРВИЧНАЯ РАСКАТКА (БЫСТРЫЙ CLONE)
|
||||||
|
|||||||
Reference in New Issue
Block a user