Add arch support

This commit is contained in:
Morten Olsen
2024-10-09 21:25:58 +02:00
parent f8c6ffee46
commit c860e8babb
33 changed files with 527 additions and 23 deletions

View File

@@ -13,6 +13,7 @@
tags:
- git
- config
become: "{{ use_become }}"
ansible.builtin.file:
mode: "{{ item.mode }}"
path: "{{ home }}/{{ item.path }}"
@@ -28,6 +29,7 @@
tags:
- git
- config
become: "{{ use_become }}"
ansible.builtin.copy:
src: "{{ item.src }}"
dest: "{{ home }}/{{ item.path }}"
@@ -43,6 +45,7 @@
tags:
- git
- config
become: "{{ use_become }}"
ansible.builtin.template:
src: "../templates/gitconfig.j2"
dest: "{{ home }}/.gitconfig"

View File

@@ -2,6 +2,7 @@
tags:
- git
- config
become: "{{ use_become }}"
ansible.builtin.template:
src: "../templates/gitconfig.context.j2"
dest: "{{ context.path }}/.gitconfig"
@@ -16,6 +17,7 @@
tags:
- git
- config
become: "{{ use_become }}"
ansible.builtin.file:
path: "{{ context.path }}"
state: directory
@@ -26,6 +28,7 @@
tags:
- git
- config
become: "{{ use_become }}"
ansible.builtin.template:
src: "../templates/sshconfig.context.j2"
dest: "{{ home }}/.ssh/config.d/git-{{ name }}"
@@ -39,6 +42,7 @@
tags:
- git
- config
become: "{{ use_become }}"
ansible.builtin.file:
path: "{{ home }}/.ssh/keys"
state: directory
@@ -49,6 +53,7 @@
tags:
- git
- config
become: "{{ use_become }}"
ansible.builtin.copy:
content: "{{ context.git.signing_key }}"
dest: "{{ home }}/.ssh/keys/github-{{ name }}.pub"