diff --git a/tasks/main.yml b/tasks/main.yml index d7dc6e6..cff5b20 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -11,7 +11,15 @@ group: "{{ neogo__group }}" mode: '0750' -- name: Ensure configuration directory exists +- name: Create configuration directory parent + ansible.builtin.file: + state: directory + path: "{{ neogo__conf_dir | realpath | dirname }}" + owner: 'root' + group: 'root' + mode: '0755' + +- name: Create configuration directory ansible.builtin.file: state: directory path: "{{ neogo__conf_dir }}"