workstation/roles/home-cli/tasks/dirs.yml

24 lines
573 B
YAML
Raw Normal View History

2019-10-03 20:21:08 +00:00
---
- name: Create user bin directory
file:
path: "{{ ansible_env.HOME }}/bin"
state: directory
- name: Create user opt directory
file:
path: "{{ ansible_env.HOME }}/opt"
state: directory
- name: Create systemd user directory
file:
path: "{{ ansible_env.HOME }}/.config/systemd/user"
state: directory
2019-10-05 19:33:23 +00:00
- name: Create ~/.ssh directory
file:
path: "{{ ansible_env.HOME }}/.ssh"
state: directory
mode: '0700'
2019-10-09 13:07:20 +00:00
- name: Create ~/.config directory
file:
path: "{{ ansible_env.HOME }}/.config"
state: directory
mode: '0700'