move enable to end of the tasks
This commit is contained in:
parent
8562a31119
commit
7d7f9ccf76
1 changed files with 5 additions and 7 deletions
|
@ -22,12 +22,6 @@
|
|||
- collectd
|
||||
when: ansible_distribution_major_version|int > 24
|
||||
|
||||
# enable collectd
|
||||
- name: enable collectd svc
|
||||
service: state=running enabled=true name=collectd
|
||||
tags:
|
||||
- collectd
|
||||
|
||||
# install collected.conf
|
||||
- name: /etc/collectd.conf
|
||||
template: src=collectd.conf.j2 dest=/etc/collectd.conf
|
||||
|
@ -183,4 +177,8 @@
|
|||
|
||||
# webproxy
|
||||
|
||||
|
||||
# enable collectd
|
||||
- name: enable collectd svc
|
||||
service: state=running enabled=true name=collectd
|
||||
tags:
|
||||
- collectd
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue