diff --git a/tasks/dotfiles.yml b/tasks/dotfiles.yml index 4f45e88..68c5262 100644 --- a/tasks/dotfiles.yml +++ b/tasks/dotfiles.yml @@ -1,4 +1,18 @@ --- +- name: git config name + git_config: + name: user.name + scope: global + value: "{{ item.name }}" + with_items: "{{ me }}" + +- email: git config email + git_config: + email: user.email + scope: global + value: "{{ item.email }}" + with_items: "{{ me }}" + - name: Copy urxvt Xdefault template: src: files/Xdefaults diff --git a/vars/common.yml b/vars/common.yml index 97a4caf..deffb7d 100644 --- a/vars/common.yml +++ b/vars/common.yml @@ -1,7 +1,7 @@ --- me: - - { username: 'lafrite', password: '$6$OnPrZgotbSWZlh0T$VSyF8lUhD/N881d1GsggE7jDFt0uAzls2r.pqgDV6XQKbTqZWfv0X4QWd/3wivUDyzaSjP4LQWVfne7KYR6Vv1', uid: '1000'} + - { username: 'lafrite', password: '$6$OnPrZgotbSWZlh0T$VSyF8lUhD/N881d1GsggE7jDFt0uAzls2r.pqgDV6XQKbTqZWfv0X4QWd/3wivUDyzaSjP4LQWVfne7KYR6Vv1', uid: '1000', name: "Benjamin Bertrand", email: "benjamin.bertrand@opytex.org"} deploy_users: - { username: 'waha', password: '$6$tQLlZ3lI/NDcT3.C$VCBzrpNxDgOK7b2que2/BnAYWl.zKVugZrQEPxtsq3iWcskEzQ1NvytZRXkB4GCDa/xEohxiodyCaZyFnhxby1', uid: '999'}