roles/yum: Use YAML styled options.
This commit is contained in:
parent
38001e5be7
commit
42e22437ed
@ -2,5 +2,5 @@
|
||||
|
||||
- name: Restart yum-cron
|
||||
service:
|
||||
name=yum-cron
|
||||
state=restarted
|
||||
name: yum-cron
|
||||
state: restarted
|
||||
|
@ -42,7 +42,9 @@
|
||||
when: ansible_os_family == 'RedHat'
|
||||
|
||||
- name: Yum | Install yum-cron (CentOS)
|
||||
yum: name=yum-cron state=present
|
||||
yum:
|
||||
name: yum-cron
|
||||
state: present
|
||||
when: ansible_os_family == 'RedHat'
|
||||
|
||||
- name: Replace | Enable update applying for yum-cron (CentOS)
|
||||
@ -55,5 +57,8 @@
|
||||
- Restart yum-cron
|
||||
|
||||
- name: Service | Enable yum-cron (CentOS)
|
||||
service: name=yum-cron state=started enabled=yes
|
||||
service:
|
||||
name: yum-cron
|
||||
state: started
|
||||
enabled: yes
|
||||
when: ansible_os_family == 'RedHat'
|
||||
|
Loading…
Reference in New Issue
Block a user