From 26b0f46e13f193bc93be97047b619e2ceaefb9f2 Mon Sep 17 00:00:00 2001 From: Mischa ter Smitten Date: Fri, 20 Dec 2024 14:43:54 +0100 Subject: [PATCH] Cs fixes --- tasks/main.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/tasks/main.yml b/tasks/main.yml index 83171c0..00a51c6 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -27,17 +27,22 @@ - autossh-tunnel-client-configure - name: service - block: - - name: service-initd - ansible.builtin.import_tasks: service-initd.yml when: is_docker_guest tags: - configuration - autossh-tunnel-client - autossh-tunnel-client-service - autossh-tunnel-client-service-initd + block: + - name: service-initd + ansible.builtin.import_tasks: service-initd.yml - name: service + when: not is_docker_guest + tags: + - configuration + - autossh-tunnel-client + - autossh-tunnel-client-service block: - name: service upstart ansible.builtin.import_tasks: service-upstart.yml @@ -50,11 +55,6 @@ when: ansible_service_mgr == 'systemd' tags: - autossh-tunnel-client-service-systemd - when: not is_docker_guest - tags: - - configuration - - autossh-tunnel-client - - autossh-tunnel-client-service - name: start and enable service ansible.builtin.service: