Fix name[casing] ansible-lint issues

fix 1900 failures of the following case issue:

`name[casing]: All names should start with an uppercase letter.`

Signed-off-by: Ryan Lerch <rlerch@redhat.com>
This commit is contained in:
Ryan Lercho 2025-01-14 20:18:57 +10:00
parent 01030eaf26
commit 691adee6ee
299 changed files with 1935 additions and 1935 deletions

View file

@ -5,13 +5,13 @@
# it checks more than perms), and various other roles can then use it in cron
# jobs, triggered by fedmsg, etc...
- name: install the needed packages
- name: Install the needed packages
package: name=git state=present
tags:
- git
- git/checks
- name: install the script
- name: Install the script
copy: >
src=check-perms.py dest=/usr/local/bin/git-check-perms
owner=root group=root mode=0755
@ -19,7 +19,7 @@
- git
- git/checks
- name: install post-receive check script
- name: Install post-receive check script
copy: >
src=distgit_check_hook.py dest=/usr/local/bin/distgit_check_hook.py
owner=root group=root mode=0755

View file

@ -1,7 +1,7 @@
---
# tasklist for setting up git mail hooks
- name: install needed packages
- name: Install needed packages
package:
state: present
name:
@ -17,7 +17,7 @@
- packages
- name: install the git hooks
- name: Install the git hooks
copy: src={{item}} dest=/usr/share/git-core/ mode=0755
with_items:
- post-receive-chained
@ -28,7 +28,7 @@
- git
- git/hooks
- name: install the git mail hooks
- name: Install the git mail hooks
copy: src={{item}} dest=/usr/share/git-core/mail-hooks/ mode=0755
with_items:
- util.py

View file

@ -1,25 +1,25 @@
---
# tasklist for setting up the Git checkout seed
- name: make sure packages needed are installed
- name: Make sure packages needed are installed
package: name={{ item }} state=present
with_items:
- tar
- python2
- name: create the destination directory
- name: Create the destination directory
file: dest=/srv/git_seed owner=root group=root mode=0755 state=directory
when: env != 'staging'
- name: install the production version of the script and schedule its execution
- name: Install the production version of the script and schedule its execution
copy: src=make-git-checkout-seed.sh dest=/usr/local/bin/make-git-checkout-seed.sh mode=0755
when: env != 'staging'
- name: install the alternative arch report script
- name: Install the alternative arch report script
copy: src=alternative_arch_report.py dest=/usr/local/bin/alternative_arch_report.py mode=0755
when: env != 'staging'
- name: install cron job.
- name: Install cron job.
cron: >
name="make-git-checkout-seed" cron_file="ansible-make-git-checkout-seed"
minute=0 hour=2

View file

@ -1,22 +1,22 @@
---
# tasklist for setting up a git server (git:// access)
- name: install the git-daemon package
- name: Install the git-daemon package
package: name=git-daemon state=present
tags: git/server
# If NOT using xinetd
- name: delete stock git daemon config
- name: Delete stock git daemon config
file: path="/usr/lib/systemd/system/git.service" state=absent
when: ansible_distribution_major_version|int >= 7 and ansible_distribution == 'RedHat'
tags: git/server
- name: delete stock git daemon config
- name: Delete stock git daemon config
file: path="/usr/lib/systemd/system/git.service" state=absent
when: ansible_distribution_major_version|int >= 29 and ansible_distribution == 'Fedora'
tags: git/server
- name: configure git daemon
- name: Configure git daemon
template: >
src="git@.service.j2"
dest="/usr/lib/systemd/system/git@.service"
@ -24,7 +24,7 @@
when: ansible_distribution_major_version|int >= 7 and ansible_distribution == 'RedHat'
tags: git/server
- name: configure git daemon
- name: Configure git daemon
template: >
src="git@.service.j2"
dest="/usr/lib/systemd/system/git@.service"
@ -33,12 +33,12 @@
tags: git/server
# If using xinetd
- name: install xinetd
- name: Install xinetd
package: name=xinetd state=present
when: ansible_distribution_major_version|int == 6 and ansible_distribution == 'RedHat'
tags: git/server
- name: install the xinetd config file
- name: Install the xinetd config file
template: >
src="git.j2"
dest="/etc/xinetd.d/git"