linter: Use capitals for names

This is pretty trivial, but consistency is probably better in this
regard and it does guide you to writing a sentence that is human
parsable, which is the point of it.

Change-Id: Iaab9bb6aec0ad0f1d3cae10364c1f1b37d02801e
This commit is contained in:
Ian Wienand 2022-08-29 11:00:16 +10:00
parent db519e0e41
commit af3f79121a
No known key found for this signature in database
7 changed files with 9 additions and 9 deletions

View File

@ -17,7 +17,7 @@
become: true
command: fips-mode-setup --enable
- name: check if GRUB_CMDLINE_LINUX_DEFAULT exists in /etc/default/grub
- name: Check if GRUB_CMDLINE_LINUX_DEFAULT exists in /etc/default/grub
become: true
shell: |
set -o pipefail
@ -25,7 +25,7 @@
register: test_grep
failed_when: false
- name: add GRUB_CMDLINE_LINUX_DEFAULT in /etc/default/grub
- name: Add GRUB_CMDLINE_LINUX_DEFAULT in /etc/default/grub
become: true
lineinfile:
path: /etc/default/grub

View File

@ -4,7 +4,7 @@
# creates, and thus the xenial packaged virtualenv can not create a
# working environment. We pre-run ensure-pip there to bring in our
# backported pip9 and make this work.
- name: ensure-pip for Xenial
- name: Use ensure-pip for Xenial
include_role:
name: ensure-pip
when: ansible_distribution_release == 'xenial'

View File

@ -2,7 +2,7 @@
generate_all_known_hosts:
hostvars: "{{ hostvars }}"
- name: add default known_host record for every user
- name: Add default known_host record for every user
become: true
known_hosts:
name: "{{ zj_known_host.name }}"

View File

@ -1,10 +1,10 @@
---
- name: check if node is available for ssh
- name: Check if node is available for ssh
wait_for_connection:
- name: Run start-zuul-console role
include_role:
name: start-zuul-console
- name: confirm that dns is up
- name: Confirm that dns is up
command: "nslookup -retry=60 {{ nslookup_target }}"

View File

@ -10,7 +10,7 @@
block:
# Use chmod instead of file because ansible 2.5 file with recurse and
# follow can't really handle symlinks to .
- name: debug var
- name: Debug log_root
debug:
msg: "log_root {{ zuul.executor.log_root }}"

View File

@ -36,7 +36,7 @@
no_log: "{{ not zuul_log_verbose }}"
# After this point there are no more logs
- name: gzip console log and json output
- name: Compress console log and json output
delegate_to: localhost
archive:
path: "{{ zuul.executor.log_root }}/{{ zj_log }}"

View File

@ -25,7 +25,7 @@
src: templates/host-info.j2
mode: 0644
- name: zuul_debug_info block
- name: Run zuul_debug_info and collect output
block:
- name: Collect information about zuul worker
zuul_debug_info: