From 01489f1874f2e87d5150e6c7edd56b3aefc32e9c Mon Sep 17 00:00:00 2001 From: "tommaso.piccioli" Date: Thu, 8 Sep 2016 14:18:52 +0200 Subject: [PATCH] new collector-dev node --- ghn-gcore/ghn-gcoreboot/tasks/main.yml | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/ghn-gcore/ghn-gcoreboot/tasks/main.yml b/ghn-gcore/ghn-gcoreboot/tasks/main.yml index fd887bf3..6db433ae 100644 --- a/ghn-gcore/ghn-gcoreboot/tasks/main.yml +++ b/ghn-gcore/ghn-gcoreboot/tasks/main.yml @@ -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' ]