Revert "Fix linting issues found via project-config"

This has syntax errors.

This reverts commit d3128dab95.

Change-Id: Ida6569d384f50095cc228625c7d6e73e154270ae
This commit is contained in:
James E. Blair 2017-09-14 13:10:07 -06:00
parent 2fe2910b5f
commit dcd89b2686
4 changed files with 33 additions and 46 deletions

View File

@ -3,9 +3,6 @@
- name: Update apt cache
become: yes
command: apt-get update
# skip linting for above comment
tags:
- skip_ansible_lint
- name: Update dnf cache
become: yes

View File

@ -1,5 +1,4 @@
- name: include the log path role
include_role:
- include_role:
name: set-zuul-log-path-fact
- debug:

View File

@ -1,17 +1,9 @@
- name: Allow pushing to non-bare repo
git_config:
scope: local
name: receive.denyCurrentBranch
value: ignore
repo: "{{ ansible_user_dir }}/{{ item.src_dir}}"
command: "git config --local receive.denyCurrentBranch ignore"
args:
chdir: "{{ ansible_user_dir }}/{{ item.src_dir}}"
with_items: "{{ zuul.projects }}"
- block:
# Do not lint these tasks, gets confused by git actions that cannot be done
# by git modules
tags:
- skip_ansible_lint
- name: Synchronize src repos to workspace directory
command: "git push --mirror git+ssh://{{ ansible_user }}@{{ ansible_host }}/{{ ansible_user_dir }}/{{ item.src_dir}}"
args:

View File

@ -1,5 +1,4 @@
- name: include the log path role
include_role:
- include_role:
name: set-zuul-log-path-fact
- name: Create log directories