Fix file path
This commit is contained in:
parent
8effcf063c
commit
13d5fe663f
@ -41,7 +41,6 @@
|
|||||||
|
|
||||||
- name: Copy new files and directories
|
- name: Copy new files and directories
|
||||||
ansible.builtin.copy:
|
ansible.builtin.copy:
|
||||||
#src: "files/{{ item }}"
|
|
||||||
src: "{{ item }}"
|
src: "{{ item }}"
|
||||||
dest: "~/{{ item }}"
|
dest: "~/{{ item }}"
|
||||||
loop:
|
loop:
|
||||||
@ -55,9 +54,8 @@
|
|||||||
|
|
||||||
- name: Copy new files and directories (root)
|
- name: Copy new files and directories (root)
|
||||||
ansible.builtin.copy:
|
ansible.builtin.copy:
|
||||||
#src: "files/{{ item }}"
|
|
||||||
src: "{{ item }}"
|
src: "{{ item }}"
|
||||||
dest: "~/{{ item }}"
|
dest: "/{{ item }}"
|
||||||
loop:
|
loop:
|
||||||
- "etc"
|
- "etc"
|
||||||
become: true
|
become: true
|
||||||
@ -67,7 +65,7 @@
|
|||||||
src: "{{ item }}"
|
src: "{{ item }}"
|
||||||
dest: "/etc/pacman.conf"
|
dest: "/etc/pacman.conf"
|
||||||
loop:
|
loop:
|
||||||
- "/etc/pacman-x86_64.conf"
|
- "etc/pacman-x86_64.conf"
|
||||||
when: ansible_architecture == "x86_64"
|
when: ansible_architecture == "x86_64"
|
||||||
become: true
|
become: true
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user