Make ~/data and ~/data/opt

This commit is contained in:
Anthony Rose 2022-08-14 22:07:36 +01:00
parent d6bd981f40
commit 89c181ee07

View file

@ -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: