debuginfod: yamllint compliance

This commit is contained in:
Frank Ch. Eigler 2023-05-01 21:13:27 -04:00
parent 3b73ff3ac4
commit 358f8efece

View file

@ -3,12 +3,12 @@
- name: make the box be real - name: make the box be real
hosts: debuginfod:debuginfod_stg hosts: debuginfod:debuginfod_stg
user: root user: root
gather_facts: True gather_facts: true
vars_files: vars_files:
- /srv/web/infra/ansible/vars/global.yml - /srv/web/infra/ansible/vars/global.yml
- "/srv/private/ansible/vars.yml" - "/srv/private/ansible/vars.yml"
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml - /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
pre_tasks: pre_tasks:
- import_tasks: "{{ tasks_path }}/yumrepos.yml" - import_tasks: "{{ tasks_path }}/yumrepos.yml"
@ -20,7 +20,7 @@
- hosts - hosts
- ipa/client - ipa/client
- collectd/base - collectd/base
- role: nfs/client - role: nfs/client
mount_stg: true mount_stg: true
mnt_dir: '/mnt/fedora_koji_prod' mnt_dir: '/mnt/fedora_koji_prod'
@ -28,7 +28,7 @@
tasks: tasks:
- import_tasks: "{{ tasks_path }}/motd.yml" - import_tasks: "{{ tasks_path }}/motd.yml"
- name: install debuginfod - name: install debuginfod
tag: debuginfod tag: debuginfod
package: name=elfutils-debuginfod state=present package: name=elfutils-debuginfod state=present
@ -40,7 +40,7 @@
- name: install rsync for data backups - name: install rsync for data backups
tag: debuginfod tag: debuginfod
package: name=rsync state=present package: name=rsync state=present
- name: install debuginfod configuration - name: install debuginfod configuration
tag: debuginfod tag: debuginfod
copy: src="{{ files }}/debuginfod/sysconfig.debuginfod" dest=/etc/sysconfig/debuginfod owner=root group=root mode=644 copy: src="{{ files }}/debuginfod/sysconfig.debuginfod" dest=/etc/sysconfig/debuginfod owner=root group=root mode=644
@ -50,10 +50,10 @@
file: > file: >
dest=/etc/systemd/system/debuginfod.service.d dest=/etc/systemd/system/debuginfod.service.d
state=directory state=directory
- name: install debuginfod systemd drop-in - name: install debuginfod systemd drop-in
tag: debuginfod tag: debuginfod
copy: src="{{ files }}/debuginfod/debuginfod.service.d" dest=/etc/systemd/system/debuginfod.service.d/override.conf owner=root group=root mode=644 copy: src="{{ files }}/debuginfod/debuginfod.service.d" dest=/etc/systemd/system/debuginfod.service.d/override.conf owner=root group=root mode=644
- name: ensure debuginfod is enabled and started - name: ensure debuginfod is enabled and started
tag: debuginfod tag: debuginfod
@ -61,6 +61,6 @@
name: debuginfod name: debuginfod
state: started state: started
enabled: yes enabled: yes
handlers: handlers:
- import_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handlers_path }}/restart_services.yml"