Fix: Add groups to me and deploy_users
This commit is contained in:
@@ -15,18 +15,19 @@
|
||||
with_items: "{{ me }}"
|
||||
|
||||
- name: Install tmuxinator (Archlinux)
|
||||
aur:
|
||||
# aur:
|
||||
# name: tmuxinator
|
||||
# use: makepkg
|
||||
# skip_installed: true
|
||||
# become: yes
|
||||
# become_user: aur_builder
|
||||
# when: ansible_distribution != 'Debian'
|
||||
gem:
|
||||
name: tmuxinator
|
||||
use: makepkg
|
||||
skip_installed: true
|
||||
state: latest
|
||||
become: yes
|
||||
become_user: aur_builder
|
||||
when: ansible_distribution != 'Debian'
|
||||
|
||||
# gem:
|
||||
# name: tmuxinator
|
||||
# state: latest
|
||||
# when: not minimal and not server
|
||||
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
|
||||
|
||||
|
Reference in New Issue
Block a user