Copy file to git_config

This commit is contained in:
2018-08-23 18:00:30 +02:00
parent e9e34ec689
commit d09c29cebf
3 changed files with 11 additions and 17 deletions

View File

@@ -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 }}"