Pour tout problème contactez-nous par mail : support@froggit.fr | La FAQ :grey_question: | Rejoignez-nous sur le Chat :speech_balloon:

Skip to content
Snippets Groups Projects
Commit 84c490ba authored by freezed's avatar freezed :mountain:
Browse files

:construction: WIP USER FIX GIT CONFIG

parent 92e79d29
No related branches found
No related tags found
No related merge requests found
...@@ -63,6 +63,8 @@ provider_b ...@@ -63,6 +63,8 @@ provider_b
[all:vars] [all:vars]
gateway=<XX.XX.XX.XX> gateway=<XX.XX.XX.XX>
git_email=<GIT_EMAIL>
git_name=<GIT_NAME>
inventory_fqdn="{{ inventory_hostname }}.domain.ltd" inventory_fqdn="{{ inventory_hostname }}.domain.ltd"
ldp_token=<LDP_TOKEN> ldp_token=<LDP_TOKEN>
ldp_zone=<LDP_ZONE> ldp_zone=<LDP_ZONE>
...@@ -79,6 +81,4 @@ timezone="Europe/Paris" ...@@ -79,6 +81,4 @@ timezone="Europe/Paris"
user_shell=/bin/zsh user_shell=/bin/zsh
[workstation:vars] [workstation:vars]
git_email=<GIT_EMAIL>
git_name=<GIT_NAME>
timezone="Europe/Paris" timezone="Europe/Paris"
...@@ -22,6 +22,7 @@ ...@@ -22,6 +22,7 @@
- name: MY USER | git config - name: MY USER | git config
become: true become: true
when: inventory_hostname in groups.station
ansible.builtin.template: ansible.builtin.template:
dest: "/home/{{ my_user }}/.gitconfig" dest: "/home/{{ my_user }}/.gitconfig"
src: templates/gitconfig.j2 src: templates/gitconfig.j2
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment