--- - import_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml" vars: myhosts: "debuginfod:debuginfod_stg" - name: Make the box be real hosts: debuginfod:debuginfod_stg user: root gather_facts: true vars_files: - /srv/web/infra/ansible/vars/global.yml - "/srv/private/ansible/vars.yml" - /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml pre_tasks: - import_tasks: "{{ tasks_path }}/yumrepos.yml" roles: - base - rkhunter - nagios_client - zabbix/zabbix_agent - hosts - ipa/client - collectd/base - role: nfs/client mount_stg: true mnt_dir: '/mnt/fedora_koji_prod' nfs_src_dir: "fedora_koji" tasks: - name: install debuginfod ansible.builtin.package: name=elfutils-debuginfod state=present tags: debuginfod - name: Install sqlite for diagnostics ansible.builtin.package: name=sqlite state=present tags: debuginfod - name: Install sqlite-analyzer for diagnostics ansible.builtin.package: name=sqlite-analyzer state=present tags: debuginfod - name: Install sqlite for diagnostics ansible.builtin.package: name=sqlite state=present tags: debuginfod - name: Install rsync for data backups ansible.builtin.package: name=rsync state=present tags: debuginfod - name: Install debuginfod configuration ansible.builtin.copy: src="{{ files }}/debuginfod/sysconfig.debuginfod" dest=/etc/sysconfig/debuginfod owner=root group=root mode=644 tags: debuginfod notify: - Restart debuginfod - name: Ensure systemd drop-in directory exists ansible.builtin.file: > dest=/etc/systemd/system/debuginfod.service.d state=directory tags: debuginfod - name: Install debuginfod systemd drop-in tags: debuginfod ansible.builtin.copy: src="{{ files }}/debuginfod/debuginfod.service.d" dest=/etc/systemd/system/debuginfod.service.d/override.conf owner=root group=root mode=644 notify: - Restart debuginfod - name: Ensure debuginfod is enabled and started service: name: debuginfod state: started enabled: yes tags: debuginfod handlers: - import_tasks: "{{ handlers_path }}/restart_services.yml"