new collector-dev node

This commit is contained in:
Tommaso Piccioli 2016-09-08 14:18:52 +02:00
parent ac7d99d78c
commit 01489f1874
1 changed files with 9 additions and 5 deletions

View File

@ -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' ]