debuginfod: add tags to our tasks for focused ansible runs
This commit is contained in:
parent
152c7f3d99
commit
3b73ff3ac4
1 changed files with 7 additions and 0 deletions
|
@ -30,26 +30,33 @@
|
||||||
- import_tasks: "{{ tasks_path }}/motd.yml"
|
- import_tasks: "{{ tasks_path }}/motd.yml"
|
||||||
|
|
||||||
- name: install debuginfod
|
- name: install debuginfod
|
||||||
|
tag: debuginfod
|
||||||
package: name=elfutils-debuginfod state=present
|
package: name=elfutils-debuginfod state=present
|
||||||
|
|
||||||
- name: install sqlite for diagnostics
|
- name: install sqlite for diagnostics
|
||||||
|
tag: debuginfod
|
||||||
package: name=sqlite state=present
|
package: name=sqlite state=present
|
||||||
|
|
||||||
- name: install rsync for data backups
|
- name: install rsync for data backups
|
||||||
|
tag: debuginfod
|
||||||
package: name=rsync state=present
|
package: name=rsync state=present
|
||||||
|
|
||||||
- name: install debuginfod configuration
|
- name: install debuginfod configuration
|
||||||
|
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
|
||||||
|
|
||||||
- name: ensure systemd drop-in directory exists
|
- name: ensure systemd drop-in directory exists
|
||||||
|
tag: debuginfod
|
||||||
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
|
||||||
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
|
||||||
service:
|
service:
|
||||||
name: debuginfod
|
name: debuginfod
|
||||||
state: started
|
state: started
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue