Merge "Fix linting issues found via project-config"
This commit is contained in:
commit
2fe2910b5f
@ -3,6 +3,9 @@
|
|||||||
- name: Update apt cache
|
- name: Update apt cache
|
||||||
become: yes
|
become: yes
|
||||||
command: apt-get update
|
command: apt-get update
|
||||||
|
# skip linting for above comment
|
||||||
|
tags:
|
||||||
|
- skip_ansible_lint
|
||||||
|
|
||||||
- name: Update dnf cache
|
- name: Update dnf cache
|
||||||
become: yes
|
become: yes
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
- include_role:
|
- name: include the log path role
|
||||||
|
include_role:
|
||||||
name: set-zuul-log-path-fact
|
name: set-zuul-log-path-fact
|
||||||
|
|
||||||
- debug:
|
- debug:
|
||||||
|
@ -1,9 +1,17 @@
|
|||||||
- name: Allow pushing to non-bare repo
|
- name: Allow pushing to non-bare repo
|
||||||
command: "git config --local receive.denyCurrentBranch ignore"
|
git_config:
|
||||||
args:
|
scope: local
|
||||||
chdir: "{{ ansible_user_dir }}/{{ item.src_dir}}"
|
name: receive.denyCurrentBranch
|
||||||
|
value: ignore
|
||||||
|
repo: "{{ ansible_user_dir }}/{{ item.src_dir}}"
|
||||||
with_items: "{{ zuul.projects }}"
|
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
|
- name: Synchronize src repos to workspace directory
|
||||||
command: "git push --mirror git+ssh://{{ ansible_user }}@{{ ansible_host }}/{{ ansible_user_dir }}/{{ item.src_dir}}"
|
command: "git push --mirror git+ssh://{{ ansible_user }}@{{ ansible_host }}/{{ ansible_user_dir }}/{{ item.src_dir}}"
|
||||||
args:
|
args:
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
- include_role:
|
- name: include the log path role
|
||||||
|
include_role:
|
||||||
name: set-zuul-log-path-fact
|
name: set-zuul-log-path-fact
|
||||||
|
|
||||||
- name: Create log directories
|
- name: Create log directories
|
||||||
|
Loading…
Reference in New Issue
Block a user