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 @@ ...@@ -20,12 +20,11 @@
path: /srv/AKPlanning/AKPlanning/settings_production.py path: /srv/AKPlanning/AKPlanning/settings_production.py
register: akplanning_settings 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: lineinfile:
path: /srv/AKPlanning/AKPlanning/settings_production.py path: /srv/AKPlanning/AKPlanning/settings_production.py
line: " 'HOST': 'localhost'," line: " 'HOST': 'localhost',"
regexp: "^ 'HOST':" regexp: "^ 'HOST':"
mode: preserve
when: akplanning_settings.stat.exists when: akplanning_settings.stat.exists
notify: restart akplanning notify: restart akplanning
...@@ -49,13 +48,12 @@ ...@@ -49,13 +48,12 @@
home: /srv/AKPlanning/ home: /srv/AKPlanning/
system: yes system: yes
- name: Give akplanning to user django - name: Give akplanning to user django # noqa 208
file: file:
path: /srv/AKPlanning/ path: /srv/AKPlanning/
state: directory state: directory
owner: django owner: django
group: django group: django
mode: preserve
recurse: yes recurse: yes
- name: Install python dependencies - name: Install python dependencies
...@@ -85,12 +83,11 @@ ...@@ -85,12 +83,11 @@
group: django group: django
notify: restart akplanning notify: restart akplanning
- name: Set the correct db host - name: Set the correct db host # noqa 208
lineinfile: lineinfile:
path: /srv/AKPlanning/AKPlanning/settings_production.py path: /srv/AKPlanning/AKPlanning/settings_production.py
line: " 'HOST': 'instance'," line: " 'HOST': 'instance',"
regexp: "^ 'HOST':" regexp: "^ 'HOST':"
mode: preserve
notify: restart akplanning notify: restart akplanning
- name: AKPlanning migrate and stuff - 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