Fix ansible-lint failures

This commit is contained in:
Ivo C.S. Wingelaar 2024-10-13 11:40:12 +02:00
parent 33a9eef0fa
commit 07dcb47e14
Signed by: ivo
GPG key ID: ABBED434F58D0AA3
6 changed files with 7 additions and 2 deletions

View file

@ -16,11 +16,12 @@
ansible.builtin.template:
src: nft.service.j2
dest: /etc/systemd/system/{{ sce_nft_table_filename }}.service
mode: "0644"
notify: Reload systemd daemon
# Must be placed here to ensure proper ordering of events
- name: Flush handlers
meta: flush_handlers
ansible.builtin.meta: flush_handlers
- name: Ensure nft SCE port mapping service is started and enabled
ansible.builtin.systemd_service:

View file

@ -5,3 +5,4 @@
scope: user
become_method: community.general.machinectl
become_user: podman
become: true

View file

@ -38,7 +38,7 @@
# Must be placed here to ensure proper ordering of events
- name: Flush handlers
meta: flush_handlers
ansible.builtin.meta: flush_handlers
- name: Ensure certbot timer unit is enabled and started
ansible.builtin.systemd_service:

View file

@ -3,3 +3,4 @@
ansible.builtin.import_tasks: machinectl.yml
become_method: community.general.machinectl
become_user: podman
become: true

View file

@ -5,3 +5,4 @@
scope: user
become_method: community.general.machinectl
become_user: podman
become: true

View file

@ -30,3 +30,4 @@
ansible.builtin.import_tasks: machinectl.yml
become_method: community.general.machinectl
become_user: podman
become: true