Merge branch 'master' of ssh://git_opytex/lafrite/Ansible_workstation

This commit is contained in:
Bertrand Benjamin 2019-04-01 09:55:33 +02:00
commit 90734e6ee5
4 changed files with 10 additions and 2 deletions

View File

@ -10,7 +10,7 @@
tasks:
# - include: tasks/test.yml
- include: tasks/arch_CLI_packages.yml
- include: tasks/zsh.yml
- include: tasks/prompt.yml
- include: tasks/users.yml
- include: tasks/sudo.yml
- include: tasks/ssh.yml

View File

@ -9,6 +9,7 @@
password: "{{ item.password }}"
uid: "{{ item.uid }}"
shell: "{{ prompt_place['stdout'] }}"
state: present
with_items: "{{ deploy_users }}"
tags:
- first_deployement
@ -18,7 +19,8 @@
name: "{{ item.username }}"
password: "{{ item.password }}"
uid: "{{ item.uid }}"
shell: "{{ prompt_place['stdout'] }}"
# shell: "{{ prompt_place['stdout'] }}"
state: present
with_items: "{{ me }}"
when: not minimal or not server
tags:

View File

@ -12,6 +12,11 @@
# force: yes
# backup: yes
- name: Install base CLI packages
pacman:
name: zsh
state: present
- name: Set shell for root to zsh
user:
name: root

View File

@ -1,4 +1,5 @@
---
prompt: fish
deploy_public_key: id_ed25519_home.pub