linters: minor cosmetic updates
Make sure all blocks are named, and fix up whitespace around jinja filters. Change-Id: Iaaeca20d53a927fab660f45b5bb9b552a15146e2
This commit is contained in:
parent
45d96f730e
commit
3d766af7e9
@ -18,7 +18,7 @@
|
||||
- name: Run tox with output redirected to a file
|
||||
args:
|
||||
chdir: "{{ zuul_work_dir }}"
|
||||
environment: "{{ tox_environment|combine(tox_constraints_env|default({})) }}"
|
||||
environment: "{{ tox_environment | combine(tox_constraints_env | default({})) }}"
|
||||
shell: |
|
||||
echo "Running {{ tox_executable }} -e {{ tox_pdf_envlist }} -vv > {{ ansible_user_dir }}/zuul-output/logs/sphinx-build-pdf.log 2>&1"
|
||||
echo "Output is redirected to a file as it tends to be quite verbose."
|
||||
|
@ -6,7 +6,8 @@
|
||||
set_fact:
|
||||
swap_required: "{{ configure_swap_size - ansible_memory_mb['swap']['total'] | int }}"
|
||||
|
||||
- block:
|
||||
- name: Get root filesystem
|
||||
block:
|
||||
- name: Get root filesystem
|
||||
shell: df --output='fstype' /root | tail -1
|
||||
register: root_fs
|
||||
|
@ -4,7 +4,8 @@
|
||||
body_format: json
|
||||
register: service_types
|
||||
|
||||
- block:
|
||||
- name: Set service_type_data fact
|
||||
block:
|
||||
- name: Set service_type_data fact
|
||||
set_fact:
|
||||
service_type_data: "{{ service_types['json']['primary_service_by_project'][zuul.project.short_name] }}"
|
||||
|
Loading…
Reference in New Issue
Block a user