forked from ISTI-ansible-roles/ansible-roles
new collector-dev node
This commit is contained in:
parent
ac7d99d78c
commit
01489f1874
|
@ -8,11 +8,15 @@
|
|||
tags: [ 'gcoreboot' ]
|
||||
|
||||
- name: Enable the gcore boot script
|
||||
file: src=/etc/init.d/{{ item }} dest=/etc/rc2.d/S95gcore state=link
|
||||
file: src=/etc/init.d/{{ item }} dest=/etc/rc3.d/S95gcore state=link
|
||||
file: src=/etc/init.d/{{ item }} dest=/etc/rc0.d/K25gcore state=link
|
||||
file: src=/etc/init.d/{{ item }} dest=/etc/rc1.d/K25gcore state=link
|
||||
with_items: 'gcore'
|
||||
file:
|
||||
src=/etc/init.d/{{ item.path }}
|
||||
dest=/etc/{{ item.dest }}
|
||||
state=link
|
||||
with_items:
|
||||
- { path: 'gcore', dest: 'rc2.d/S95gcore' }
|
||||
- { path: 'gcore', dest: 'rc3.d/S95gcore' }
|
||||
- { path: 'gcore', dest: 'rc0.d/K25gcore.d' }
|
||||
- { path: 'gcore', dest: 'rc1.d/K25gcore' }
|
||||
when:
|
||||
- gcoreboot_install
|
||||
tags: [ 'gcoreboot' ]
|
||||
|
|
Loading…
Reference in New Issue