From c390da976ea2deecebce5d4ac2a3f23c70c72641 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20Sch=C3=A4fer?= <felix@thegcat.net> Date: Wed, 9 Sep 2020 16:18:20 +0200 Subject: [PATCH] Weird ansible/ansible-lint doc error https://github.com/ansible/ansible/issues/42563 --- tasks/main.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/tasks/main.yml b/tasks/main.yml index 7326db4..2713845 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -20,12 +20,11 @@ path: /srv/AKPlanning/AKPlanning/settings_production.py register: akplanning_settings -- name: Set the original db host so we can update +- name: Set the original db host so we can update # noqa 208 lineinfile: path: /srv/AKPlanning/AKPlanning/settings_production.py line: " 'HOST': 'localhost'," regexp: "^ 'HOST':" - mode: preserve when: akplanning_settings.stat.exists notify: restart akplanning @@ -49,13 +48,12 @@ home: /srv/AKPlanning/ system: yes -- name: Give akplanning to user django +- name: Give akplanning to user django # noqa 208 file: path: /srv/AKPlanning/ state: directory owner: django group: django - mode: preserve recurse: yes - name: Install python dependencies @@ -85,12 +83,11 @@ group: django notify: restart akplanning -- name: Set the correct db host +- name: Set the correct db host # noqa 208 lineinfile: path: /srv/AKPlanning/AKPlanning/settings_production.py line: " 'HOST': 'instance'," regexp: "^ 'HOST':" - mode: preserve notify: restart akplanning - name: AKPlanning migrate and stuff -- GitLab