Make ~/data and ~/data/opt
This commit is contained in:
parent
d6bd981f40
commit
89c181ee07
1 changed files with 6 additions and 1 deletions
|
@ -18,13 +18,18 @@
|
|||
path: "{{ ansible_env.HOME }}"
|
||||
state: directory
|
||||
mode: '0700'
|
||||
- name: Create user data directory
|
||||
ansible.builtin.file:
|
||||
path: "{{ ansible_env.HOME }}/data"
|
||||
state: directory
|
||||
mode: '0700'
|
||||
- name: Create user bin directory
|
||||
ansible.builtin.file:
|
||||
path: "{{ ansible_env.HOME }}/.local/bin"
|
||||
state: directory
|
||||
- name: Create user opt directory
|
||||
ansible.builtin.file:
|
||||
path: "{{ ansible_env.HOME }}/opt"
|
||||
path: "{{ ansible_env.HOME }}/data/opt"
|
||||
state: directory
|
||||
- name: Create systemd user directory
|
||||
ansible.builtin.file:
|
||||
|
|
Loading…
Reference in a new issue