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 become: true
command: fips-mode-setup --enable 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 become: true
shell: | shell: |
set -o pipefail set -o pipefail
@ -25,7 +25,7 @@
register: test_grep register: test_grep
failed_when: false 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 become: true
lineinfile: lineinfile:
path: /etc/default/grub path: /etc/default/grub

View File

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

View File

@ -2,7 +2,7 @@
generate_all_known_hosts: generate_all_known_hosts:
hostvars: "{{ hostvars }}" hostvars: "{{ hostvars }}"
- name: add default known_host record for every user - name: Add default known_host record for every user
become: true become: true
known_hosts: known_hosts:
name: "{{ zj_known_host.name }}" 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: wait_for_connection:
- name: Run start-zuul-console role - name: Run start-zuul-console role
include_role: include_role:
name: start-zuul-console name: start-zuul-console
- name: confirm that dns is up - name: Confirm that dns is up
command: "nslookup -retry=60 {{ nslookup_target }}" command: "nslookup -retry=60 {{ nslookup_target }}"

View File

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

View File

@ -36,7 +36,7 @@
no_log: "{{ not zuul_log_verbose }}" no_log: "{{ not zuul_log_verbose }}"
# After this point there are no more logs # 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 delegate_to: localhost
archive: archive:
path: "{{ zuul.executor.log_root }}/{{ zj_log }}" path: "{{ zuul.executor.log_root }}/{{ zj_log }}"

View File

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