From af8a836e468a0d530e953e076948400367fa1ed0 Mon Sep 17 00:00:00 2001 From: georg Date: Thu, 24 Sep 2015 12:11:32 +0000 Subject: [PATCH] fix ubuntu, update meta file with jessie support --- meta/main.yml | 1 + tasks/Debian.yml | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/meta/main.yml b/meta/main.yml index 3268da1..13fc84c 100644 --- a/meta/main.yml +++ b/meta/main.yml @@ -97,6 +97,7 @@ galaxy_info: # - lenny # - squeeze - wheezy + - jessie # # Below are all categories currently available. Just as with # the platforms above, uncomment those that apply to your role. diff --git a/tasks/Debian.yml b/tasks/Debian.yml index a7bda41..a7de445 100644 --- a/tasks/Debian.yml +++ b/tasks/Debian.yml @@ -19,7 +19,7 @@ - name: Install init.d script for carbon-cache template: src=debian_carbon_service.j2 dest=/etc/init.d/carbon-cache notify: restart carbon-cache - when: ansible_distribution_release == "wheesy" + when: ansible_distribution_release == "wheesy" or ansible_distribution_release == "trusty" - name: Install systemd unit carbon-cache.service template: src=debian_carbon_service_systemd.j2 dest=/etc/systemd/system/carbon-cache.service @@ -30,7 +30,7 @@ file: path=/etc/init.d/{{ item }} mode=0755 owner=root group=root with_items: - carbon-cache - when: ansible_distribution_release == "wheesy" + when: ansible_distribution_release == "wheesy" or ansible_distribution_release == "trusty" - name: Reload systemd if unit file has changed shell: 'systemctl daemon-reload'