mirror of
https://github.com/roles-ansible/ansible_role_i3wm.git
synced 2024-08-16 10:09:53 +02:00
create config folders
This commit is contained in:
parent
4f4390a43c
commit
1972977fb6
1 changed files with 6 additions and 4 deletions
|
@ -1,6 +1,7 @@
|
||||||
---
|
---
|
||||||
# register variables
|
|
||||||
- import_tasks: variables.yml
|
- name: register variables
|
||||||
|
import_tasks: variables.yml
|
||||||
|
|
||||||
# ensure i3 packages are installed [Debian].
|
# ensure i3 packages are installed [Debian].
|
||||||
- include_tasks: setup-Debian.yml
|
- include_tasks: setup-Debian.yml
|
||||||
|
@ -17,16 +18,17 @@
|
||||||
# create i3 config file
|
# create i3 config file
|
||||||
- name: Creates directory
|
- name: Creates directory
|
||||||
file:
|
file:
|
||||||
path: '~/.config/i3'
|
path: '/home/{{ ansible_user }}/.config'
|
||||||
state: directory
|
state: directory
|
||||||
mode: 0750
|
mode: 0750
|
||||||
owner: "{{ ansible_user }}"
|
owner: "{{ ansible_user }}"
|
||||||
|
|
||||||
- name: create i3 config folder
|
- name: create i3 config folder
|
||||||
file:
|
file:
|
||||||
path: ~/.config/i3/
|
path: '/home/{{ ansible_user }}/.config/i3/'
|
||||||
state: directory
|
state: directory
|
||||||
mode: 0755
|
mode: 0755
|
||||||
|
owner: "{{ ansible_user }}"
|
||||||
|
|
||||||
- name: register i3 config file
|
- name: register i3 config file
|
||||||
action: stat path="~/.config/i3/config"
|
action: stat path="~/.config/i3/config"
|
||||||
|
|
Loading…
Reference in a new issue