mirror of
https://github.com/morten-olsen/configs.git
synced 2026-02-08 00:46:24 +01:00
Add arch support
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
- name: Copy config
|
||||
tags:
|
||||
- config
|
||||
become: "{{ use_become }}"
|
||||
ansible.builtin.file:
|
||||
mode: "{{ item.mode }}"
|
||||
path: "{{ home }}/{{ item.path }}"
|
||||
@@ -16,6 +17,7 @@
|
||||
- name: "Copy templates"
|
||||
tags:
|
||||
- config
|
||||
become: "{{ use_become }}"
|
||||
ansible.builtin.template:
|
||||
src: "{{ item.src }}"
|
||||
dest: "{{ home }}/{{ item.path | regex_replace('\\.j2$', '') }}"
|
||||
@@ -30,6 +32,7 @@
|
||||
- name: Copy config
|
||||
tags:
|
||||
- config
|
||||
become: "{{ use_become }}"
|
||||
ansible.builtin.copy:
|
||||
src: "{{ item.src }}"
|
||||
dest: "{{ home }}/{{ item.path }}"
|
||||
|
||||
Reference in New Issue
Block a user