Compare commits
2 commits
51007dfed4
...
c0cc15961b
| Author | SHA1 | Date | |
|---|---|---|---|
| c0cc15961b | |||
| 75019c6049 |
3 changed files with 0 additions and 63 deletions
|
|
@ -24,11 +24,6 @@
|
||||||
ansible.builtin.import_tasks: 'tasks/systemd.yml'
|
ansible.builtin.import_tasks: 'tasks/systemd.yml'
|
||||||
tags: systemd
|
tags: systemd
|
||||||
|
|
||||||
# TODO: move to development playbook
|
|
||||||
- name: Git provisioning
|
|
||||||
ansible.builtin.import_tasks: 'tasks/git.yml'
|
|
||||||
tags: git
|
|
||||||
|
|
||||||
- name: Systemd timer provisioning
|
- name: Systemd timer provisioning
|
||||||
ansible.builtin.import_tasks: 'tasks/timer.yml'
|
ansible.builtin.import_tasks: 'tasks/timer.yml'
|
||||||
tags: timers
|
tags: timers
|
||||||
|
|
|
||||||
|
|
@ -1,30 +0,0 @@
|
||||||
- name: Copy git configuration
|
|
||||||
ansible.builtin.template:
|
|
||||||
src: 'templates/gitconfig.j2'
|
|
||||||
dest: '{{ ansible_env.HOME }}/.gitconfig'
|
|
||||||
mode: '0755'
|
|
||||||
|
|
||||||
- name: Copy keys
|
|
||||||
ansible.builtin.copy:
|
|
||||||
src: '{{ item.src }}'
|
|
||||||
dest: '{{ item.dest }}'
|
|
||||||
mode: '0755'
|
|
||||||
loop:
|
|
||||||
- src: 'files/personal/all/gpg/gpg_key'
|
|
||||||
dest: '{{ ansible_env.HOME }}/gpg.key'
|
|
||||||
- src: 'files/personal/all/gpg/gpg_pub'
|
|
||||||
dest: '{{ ansible_env.HOME }}/gpg.pub'
|
|
||||||
|
|
||||||
- name: Import secret key
|
|
||||||
ansible.builtin.command: 'gpg --passphrase {{ gpg_passphrase }} --import ~/gpg.key'
|
|
||||||
|
|
||||||
- name: Import public key
|
|
||||||
ansible.builtin.command: 'gpg --import ~/gpg.pub'
|
|
||||||
|
|
||||||
- name: Remove temp keys
|
|
||||||
ansible.builtin.file:
|
|
||||||
path: '{{ item }}'
|
|
||||||
state: absent
|
|
||||||
loop:
|
|
||||||
- '{{ ansible_env.HOME }}/gpg.key'
|
|
||||||
- '{{ ansible_env.HOME }}/gpg.pub'
|
|
||||||
|
|
@ -1,28 +0,0 @@
|
||||||
# {{ ansible_managed }}
|
|
||||||
#
|
|
||||||
[user]
|
|
||||||
email = sonny871@hotmail.com
|
|
||||||
name = Sonny Bakker
|
|
||||||
signingkey = {{ gpg_pub_key }}
|
|
||||||
|
|
||||||
[core]
|
|
||||||
editor = nvim
|
|
||||||
pager = delta
|
|
||||||
|
|
||||||
[interactive]
|
|
||||||
diffFilter = delta --color-only
|
|
||||||
|
|
||||||
[pull]
|
|
||||||
rebase = false
|
|
||||||
|
|
||||||
[merge]
|
|
||||||
tool = nvimdiff
|
|
||||||
conflictstyle = diff3
|
|
||||||
|
|
||||||
[diff]
|
|
||||||
colorMoved = default
|
|
||||||
|
|
||||||
[delta]
|
|
||||||
navigate = true
|
|
||||||
hyperlinks = true
|
|
||||||
line-numbers = true
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue