toansible: Finish git installation with ansible-vault for secrets

This commit is contained in:
flyingscorpio@clevo 2022-02-22 14:21:33 +01:00
parent 3459a67850
commit c45597d088
2 changed files with 7 additions and 6 deletions

View file

@ -24,12 +24,6 @@ grub:
sudo sed -i -E 's/^#?GRUB_DISABLE_SUBMENU.+/GRUB_DISABLE_SUBMENU=y/' /etc/default/grub &&
sudo grub-mkconfig -o /boot/grub/grub.cfg
git:
- run:
- . ./secrets &&
git config --global user.name "${USER}@$(uname -n)";
git config --global user.email "$GIT_EMAIL";
etckeeper:
- install:
- etckeeper

7
roles/git/vars/main.yml Normal file
View file

@ -0,0 +1,7 @@
$ANSIBLE_VAULT;1.1;AES256
38326165366666616534663164346435396663323863626639643737393634663935316232383735
3461396663343930393934343864663264313261633830650a373738653365376438653066623239
62653566353865306665396664663866633565616332626463343037396234373839373165363732
6162333836386136390a336438386461356330666562373864333835363932643965633162316237
39306363666638646439343566303230376262643364343833626338396463353031666131653263
3334376339653266333432353162346431663538343064373936