feat(common): create common default directories
This commit is contained in:
parent
c6670c1c5f
commit
27cd98274c
1 changed files with 12 additions and 0 deletions
|
@ -126,6 +126,18 @@
|
|||
cache_valid_time: 3600
|
||||
pkg: "{{ common_apt_packages }}"
|
||||
|
||||
- name: setup default directories
|
||||
become: true
|
||||
ansible.builtin.file:
|
||||
path: '{{ item.path }}'
|
||||
owner: '{{ item.owner | default("root", true) }}'
|
||||
group: '{{ item.group | default("root", true) }}'
|
||||
mode: '{{ item.mode | default("u=rwX,g=rX,o=", true) }}'
|
||||
state: directory
|
||||
loop:
|
||||
- path: /srv/git
|
||||
mode: "u=rwx,g=rx,o=rx"
|
||||
|
||||
- include_tasks: home_setup.yml
|
||||
|
||||
- include_tasks: shell_customization.yml
|
||||
|
|
Loading…
Add table
Reference in a new issue