diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2023-08-11 19:40:46 +0200 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2023-08-11 19:42:52 +0200 |
commit | 2640e0c08751d5784908f2bcdc6e4f1426ccbcae (patch) | |
tree | a1c055aba6790f575f70de345f45905b221b7999 /roles/systemd_edit/tasks/main.yml | |
parent | v0.0.9 (diff) | |
download | infra-ansible-2640e0c08751d5784908f2bcdc6e4f1426ccbcae.tar.gz infra-ansible-2640e0c08751d5784908f2bcdc6e4f1426ccbcae.zip |
fix some ansible-lint warnings
Diffstat (limited to '')
-rw-r--r-- | roles/systemd_edit/tasks/main.yml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/roles/systemd_edit/tasks/main.yml b/roles/systemd_edit/tasks/main.yml index 06a0a8a..8a08e6d 100644 --- a/roles/systemd_edit/tasks/main.yml +++ b/roles/systemd_edit/tasks/main.yml @@ -5,6 +5,9 @@ ansible.builtin.file: path: '/etc/systemd/system/{{ service_name }}.service.d' state: directory + owner: root + group: root + mode: '755' - name: 'Set up override: {{ service_name }}' community.general.ini_file: @@ -13,6 +16,9 @@ option: '{{ service_option }}' values: '{{ service_values }}' no_extra_spaces: true + owner: root + group: root + mode: '644' register: overridden - name: 'Restart service: {{ service_name }}' |