Fix: Add groups to me and deploy_users
This commit is contained in:
parent
2762748bd0
commit
6d572a178d
@ -15,18 +15,19 @@
|
||||
with_items: "{{ me }}"
|
||||
|
||||
- name: Install tmuxinator (Archlinux)
|
||||
aur:
|
||||
name: tmuxinator
|
||||
use: makepkg
|
||||
skip_installed: true
|
||||
become: yes
|
||||
become_user: aur_builder
|
||||
when: ansible_distribution != 'Debian'
|
||||
|
||||
# gem:
|
||||
# aur:
|
||||
# name: tmuxinator
|
||||
# state: latest
|
||||
# when: not minimal and not server
|
||||
# use: makepkg
|
||||
# skip_installed: true
|
||||
# become: yes
|
||||
# become_user: aur_builder
|
||||
# when: ansible_distribution != 'Debian'
|
||||
gem:
|
||||
name: tmuxinator
|
||||
state: latest
|
||||
become: yes
|
||||
become_user: "{{ me }}"
|
||||
when: not minimal and not server
|
||||
|
||||
- name: Copy .tmuxinator/
|
||||
copy:
|
||||
@ -43,7 +44,7 @@
|
||||
state: present
|
||||
when: ansible_distribution != 'Debian'
|
||||
|
||||
- name: mocp configfiles
|
||||
- name: mocp configfile
|
||||
copy:
|
||||
src: files/dotfiles/moc/
|
||||
dest: /home/{{ item.username }}/.moc/
|
||||
|
@ -7,22 +7,19 @@
|
||||
user:
|
||||
name: "{{ item.username }}"
|
||||
password: "{{ item.password }}"
|
||||
group: "{{ item.group }}"
|
||||
uid: "{{ item.uid }}"
|
||||
shell: "{{ prompt_place['stdout'] }}"
|
||||
state: present
|
||||
with_items: "{{ deploy_users }}"
|
||||
tags:
|
||||
- first_deployement
|
||||
|
||||
- name: Add me
|
||||
user:
|
||||
name: "{{ item.username }}"
|
||||
password: "{{ item.password }}"
|
||||
group: "{{ item.group }}"
|
||||
uid: "{{ item.uid }}"
|
||||
shell: "{{ prompt_place['stdout'] }}"
|
||||
state: present
|
||||
with_items: "{{ me }}"
|
||||
when: not minimal or not server
|
||||
tags:
|
||||
- first_deployement
|
||||
|
||||
|
@ -4,11 +4,14 @@ me:
|
||||
- username: 'lafrite'
|
||||
password: '$6$OnPrZgotbSWZlh0T$VSyF8lUhD/N881d1GsggE7jDFt0uAzls2r.pqgDV6XQKbTqZWfv0X4QWd/3wivUDyzaSjP4LQWVfne7KYR6Vv1'
|
||||
uid: '1000'
|
||||
group: users
|
||||
|
||||
deploy_users:
|
||||
- username: 'waha'
|
||||
password: '$6$tQLlZ3lI/NDcT3.C$VCBzrpNxDgOK7b2que2/BnAYWl.zKVugZrQEPxtsq3iWcskEzQ1NvytZRXkB4GCDa/xEohxiodyCaZyFnhxby1'
|
||||
uid: '999'
|
||||
group: wheel
|
||||
groups: sudo, adm
|
||||
|
||||
prompt: 'fish'
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user