diff --git a/roles/common/tasks/main.yml b/roles/common/tasks/main.yml index 26896bc..746fab0 100644 --- a/roles/common/tasks/main.yml +++ b/roles/common/tasks/main.yml @@ -35,13 +35,15 @@ vars: ansible_become: no -- name: Create auto update scripts directory +- name: Create scripts directories file: - path: "{{ update_scripts_directory }}" + path: "{{ item }}" state: directory owner: root group: root mode: "u=rwx,g=rx,o=" + loop: + - "{{ update_scripts_directory }}" - name: Create backups directories file: