Verified Commit ce98a026 authored by Evangelos Foutras's avatar Evangelos Foutras 🐱
Browse files

Fix schema violations in custom task environments

As reported by ansible-lint 6.2.1:

schema: [{'PYTHONPATH': '.'}] is not of type 'object' (schema[tasks])
roles/aurweb/tasks/main.yml:1

schema: [{'SHELL': '/bin/bash'}] is not of type 'object' (schema[tasks])
roles/dbscripts/tasks/main.yml:1
parent 26ad4106
......@@ -137,7 +137,7 @@
args:
chdir: "{{ aurweb_dir }}"
environment:
- PYTHONPATH: .
PYTHONPATH: .
become: true
become_user: "{{ aurweb_user }}"
when: release.changed or db_created.changed
......
......@@ -284,7 +284,7 @@
- name: configure svntogit pull upstream branch
command: git pull --set-upstream public master chdir=/srv/svntogit/repos/{{ item }}
environment:
- SHELL: /bin/bash
SHELL: /bin/bash
with_items:
- community
- packages
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment