common: Generalized creating directories for scripts

dehydrated
Felix Stupp 5 years ago
parent 8303d0126e
commit 5b253fd6b6
Signed by: zocker
GPG Key ID: 93E1BD26F6B02FB7

@ -35,13 +35,15 @@
vars: vars:
ansible_become: no ansible_become: no
- name: Create auto update scripts directory - name: Create scripts directories
file: file:
path: "{{ update_scripts_directory }}" path: "{{ item }}"
state: directory state: directory
owner: root owner: root
group: root group: root
mode: "u=rwx,g=rx,o=" mode: "u=rwx,g=rx,o="
loop:
- "{{ update_scripts_directory }}"
- name: Create backups directories - name: Create backups directories
file: file:

Loading…
Cancel
Save