From a89e16c44ee6d038e4f4cf435902e66558cc5cf4 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Fri, 1 Sep 2023 00:26:13 +0200 Subject: sort module args, add missing state args, etc. --- roles/apt_repo/tasks/main.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'roles/apt_repo/tasks') diff --git a/roles/apt_repo/tasks/main.yml b/roles/apt_repo/tasks/main.yml index 3e87d38..ef34bf5 100644 --- a/roles/apt_repo/tasks/main.yml +++ b/roles/apt_repo/tasks/main.yml @@ -10,13 +10,17 @@ - name: Create keys directory ansible.builtin.file: path: '{{ apt_repo_keys_dir }}' - mode: '755' state: directory + owner: root + group: root + mode: '755' - name: 'Add key: {{ apt_repo_name }}' ansible.builtin.get_url: url: '{{ apt_repo_key_url }}' dest: '{{ key_path }}' + owner: root + group: root mode: '644' notify: apt_repo_update -- cgit v1.2.3