Create more parent directories
This commit is contained in:
parent
b91f816fe1
commit
73c80be545
2 changed files with 29 additions and 28 deletions
51
tasks/i3.yml
51
tasks/i3.yml
|
@ -1,34 +1,29 @@
|
||||||
- copy:
|
|
||||||
src: ./files/i3.conf
|
|
||||||
dest: "{{ home }}/.config/i3/config"
|
|
||||||
mode: 0644
|
|
||||||
owner: "{{ user }}"
|
|
||||||
group: users
|
|
||||||
|
|
||||||
- copy:
|
|
||||||
src: ./files/i3status.conf
|
|
||||||
dest: "{{ home }}/.config/i3status/config"
|
|
||||||
mode: 0644
|
|
||||||
owner: "{{ user }}"
|
|
||||||
group: users
|
|
||||||
|
|
||||||
- copy:
|
|
||||||
src: ./files/compton.conf
|
|
||||||
dest: "{{ home }}/.config/compton.conf"
|
|
||||||
mode: 0644
|
|
||||||
owner: "{{ user }}"
|
|
||||||
group: users
|
|
||||||
|
|
||||||
- copy:
|
|
||||||
src: ./files/dunst.conf
|
|
||||||
dest: "{{ home }}/.config/dunst/dunstrc"
|
|
||||||
mode: 0644
|
|
||||||
owner: "{{ user }}"
|
|
||||||
group: users
|
|
||||||
|
|
||||||
- template:
|
- template:
|
||||||
src: ./files/i3status-rust.toml
|
src: ./files/i3status-rust.toml
|
||||||
dest: "{{ home }}/.config/i3/status.toml"
|
dest: "{{ home }}/.config/i3/status.toml"
|
||||||
mode: 0644
|
mode: 0644
|
||||||
owner: "{{ user }}"
|
owner: "{{ user }}"
|
||||||
group: users
|
group: users
|
||||||
|
|
||||||
|
- set_fact:
|
||||||
|
i3_config_files:
|
||||||
|
- { src: "i3.conf", dest: "{{ home }}/.config/i3/config" }
|
||||||
|
- { src: "i3status.conf", dest: "{{ home }}/.config/i3status/config" }
|
||||||
|
- { src: "compton.conf", dest: "{{ home }}/.config/compton.conf" }
|
||||||
|
- { src: "dunst.conf", dest: "{{ home }}/.config/dunst/dunstrc" }
|
||||||
|
|
||||||
|
- name: "Create i3 config file directories"
|
||||||
|
with_items: "{{ user_config_files }}"
|
||||||
|
file:
|
||||||
|
path: '{{ item.dest | dirname }}'
|
||||||
|
state: directory
|
||||||
|
owner: "{{ user }}"
|
||||||
|
mode: 0755
|
||||||
|
|
||||||
|
- name: "Copy i3 config files"
|
||||||
|
with_items: "{{ user_config_files }}"
|
||||||
|
copy:
|
||||||
|
src: './files/{{ item.src }}'
|
||||||
|
dest: '{{ item.dest }}'
|
||||||
|
mode: 0644
|
||||||
|
owner: "{{ user }}"
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
- file:
|
||||||
|
path: '{{ home }}/.config/Code/User'
|
||||||
|
state: directory
|
||||||
|
owner: "{{ user }}"
|
||||||
|
mode: 0755
|
||||||
|
|
||||||
- copy:
|
- copy:
|
||||||
src: ./files/vscode-settings.json
|
src: ./files/vscode-settings.json
|
||||||
dest: "{{ home }}/.config/Code/User/settings.json"
|
dest: "{{ home }}/.config/Code/User/settings.json"
|
||||||
|
|
Loading…
Reference in a new issue