deploy yum.conf from template
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Robert Kaussow 2019-11-21 15:08:15 +01:00
parent 16b9a93c70
commit ca4067a471
2 changed files with 11 additions and 0 deletions

10
tasks/config.yml Normal file
View File

@ -0,0 +1,10 @@
---
- name: Adjust yum config file
template:
src: etc/yum.conf.j2
dest: /etc/yum.conf
owner: root
group: root
mode: 0644
become: True
become_user: root

View File

@ -1,4 +1,5 @@
---
- include_tasks: config.yml
- include_tasks: yum_cron.yml
when: yum_cron_enabled | bool
- include_tasks: repository.yml