Skip to content
Snippets Groups Projects
Commit c390da97 authored by Felix Schäfer's avatar Felix Schäfer :construction_worker:
Browse files

Weird ansible/ansible-lint doc error

parent 38ddff2d
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment