Capitalize task names

We capitalize the first word in task names in general - and when you
follow a log and suddenly see a single lower-case one flying along...

Fix those names that I could find and that are not variables etc.

Change-Id: I9ccde577413270d49fd790c41767b859366dc2f6
This commit is contained in:
Andreas Jaeger 2020-05-16 17:27:04 +02:00
parent a8f234113f
commit 7e04128a8b
7 changed files with 10 additions and 10 deletions

View File

@ -1,4 +1,4 @@
- name: remove bindep temp dir - name: Remove bindep temp dir
file: file:
path: "{{ bindep_temp_dir }}" path: "{{ bindep_temp_dir }}"
state: absent state: absent

View File

@ -1,16 +1,16 @@
- name: create temp dir for bindep - name: Create temp dir for bindep
tempfile: tempfile:
state: directory state: directory
prefix: bindep prefix: bindep
register: bindep_temp_dir register: bindep_temp_dir
notify: notify:
- remove bindep temp dir - Remove bindep temp dir
- name: Ensure we have pip dependencies - name: Ensure we have pip dependencies
include_role: include_role:
name: ensure-pip name: ensure-pip
- name: install bindep into temporary venv - name: Install bindep into temporary venv
pip: pip:
name: bindep name: bindep
virtualenv_command: '{{ ensure_pip_virtualenv_command }}' virtualenv_command: '{{ ensure_pip_virtualenv_command }}'

View File

@ -1,4 +1,4 @@
- name: gather needed facts - name: Gather needed facts
when: ansible_pkg_mgr is not defined when: ansible_pkg_mgr is not defined
setup: setup:
gather_subset: pkg_mgr gather_subset: pkg_mgr

View File

@ -1,9 +1,9 @@
- name: set zypper base package repository (openSUSE Leap) - name: Set zypper base package repository (openSUSE Leap)
set_fact: set_fact:
opensuse_repo_baseurl: "{{ package_mirror }}/distribution/leap/$releasever/repo/oss/" opensuse_repo_baseurl: "{{ package_mirror }}/distribution/leap/$releasever/repo/oss/"
when: ansible_distribution is not search("Tumbleweed") when: ansible_distribution is not search("Tumbleweed")
- name: set zypper base package repository (openSUSE Tumbleweed) - name: Set zypper base package repository (openSUSE Tumbleweed)
set_fact: set_fact:
opensuse_repo_baseurl: "{{ package_mirror }}/tumbleweed/repo/oss/" opensuse_repo_baseurl: "{{ package_mirror }}/tumbleweed/repo/oss/"
when: ansible_distribution is search("Tumbleweed") when: ansible_distribution is search("Tumbleweed")

View File

@ -1,4 +1,4 @@
- name: find all .md files - name: Find all .md files
find: find:
paths: "{{ zuul_work_dir }}" paths: "{{ zuul_work_dir }}"
pattern: "*.md" pattern: "*.md"

View File

@ -1,7 +1,7 @@
- name: Remove ssh key - name: Remove ssh key
command: "shred ~/.ssh/id_rsa" command: "shred ~/.ssh/id_rsa"
- name: remove host key information from known hosts - name: Remove host key information from known hosts
known_hosts: known_hosts:
name: "{{ ssh_key.fqdn }}" name: "{{ ssh_key.fqdn }}"
key: "{{ ssh_key.ssh_known_hosts }}" key: "{{ ssh_key.ssh_known_hosts }}"

View File

@ -16,7 +16,7 @@
set_fact: set_fact:
zuul_log_path: "{{ zuul.pipeline }}/{{ zuul.project.canonical_name }}/{{ zuul.branch }}/{{ zuul.job }}/{{ zuul.build[:7] }}" zuul_log_path: "{{ zuul.pipeline }}/{{ zuul.project.canonical_name }}/{{ zuul.branch }}/{{ zuul.job }}/{{ zuul.build[:7] }}"
- name: object store friendly log path specifications - name: Object store friendly log path specifications
when: zuul_log_path_shard_build when: zuul_log_path_shard_build
block: block:
- name: Set log path for a change - name: Set log path for a change