diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2023-09-01 00:26:13 +0200 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2023-09-01 00:26:13 +0200 |
commit | a89e16c44ee6d038e4f4cf435902e66558cc5cf4 (patch) | |
tree | 745201ec1b6b2e6f5239cf4feaf790fb4a138654 /roles/apt_repo/tasks/main.yml | |
parent | apt: don't remove after autoremoving dependencies (diff) | |
download | infra-ansible-a89e16c44ee6d038e4f4cf435902e66558cc5cf4.tar.gz infra-ansible-a89e16c44ee6d038e4f4cf435902e66558cc5cf4.zip |
sort module args, add missing state args, etc.
Diffstat (limited to 'roles/apt_repo/tasks/main.yml')
-rw-r--r-- | roles/apt_repo/tasks/main.yml | 6 |
1 files changed, 5 insertions, 1 deletions
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 |