Copy file to git_config
This commit is contained in:
@@ -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 }}"
|
||||
|
||||
|
Reference in New Issue
Block a user