Copy file to git_config
This commit is contained in:
parent
e9e34ec689
commit
d09c29cebf
3
files/gitconfig
Normal file
3
files/gitconfig
Normal file
@ -0,0 +1,3 @@
|
||||
[user]
|
||||
name = Bertrand Benjamin
|
||||
email = benjamin.bertrand@opytex.org
|
@ -1,20 +1,4 @@
|
||||
---
|
||||
- name: git config name
|
||||
git_config:
|
||||
name: user.name
|
||||
scope: global
|
||||
value: "{{ item.name }}"
|
||||
become_user: "{{ item.name }}"
|
||||
with_items: "{{ me }}"
|
||||
|
||||
- email: git config email
|
||||
git_config:
|
||||
email: user.email
|
||||
scope: global
|
||||
value: "{{ item.mail }}"
|
||||
become_user: "{{ item.name }}"
|
||||
with_items: "{{ me }}"
|
||||
|
||||
- name: Copy urxvt Xdefault
|
||||
template:
|
||||
src: files/Xdefaults
|
||||
@ -107,3 +91,10 @@
|
||||
owner: "{{ item.username }}"
|
||||
with_items: "{{ me }}"
|
||||
|
||||
- name: Copy gitconfig
|
||||
template:
|
||||
src: files/gitconfig
|
||||
dest: /home/{{ item.username }}/.gitconfig
|
||||
owner: "{{ item.username }}"
|
||||
with_items: "{{ me }}"
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
---
|
||||
|
||||
me:
|
||||
- { username: 'lafrite', password: '$6$OnPrZgotbSWZlh0T$VSyF8lUhD/N881d1GsggE7jDFt0uAzls2r.pqgDV6XQKbTqZWfv0X4QWd/3wivUDyzaSjP4LQWVfne7KYR6Vv1', uid: '1000', name: "Benjamin Bertrand", mail: "benjamin.bertrand@opytex.org"}
|
||||
- { username: 'lafrite', password: '$6$OnPrZgotbSWZlh0T$VSyF8lUhD/N881d1GsggE7jDFt0uAzls2r.pqgDV6XQKbTqZWfv0X4QWd/3wivUDyzaSjP4LQWVfne7KYR6Vv1', uid: '1000'}
|
||||
|
||||
deploy_users:
|
||||
- { username: 'waha', password: '$6$tQLlZ3lI/NDcT3.C$VCBzrpNxDgOK7b2que2/BnAYWl.zKVugZrQEPxtsq3iWcskEzQ1NvytZRXkB4GCDa/xEohxiodyCaZyFnhxby1', uid: '999'}
|
||||
|
Loading…
Reference in New Issue
Block a user