Skip to content

Commit

Permalink
fix ubuntu, update meta file with jessie support
Browse files Browse the repository at this point in the history
  • Loading branch information
teadur committed Sep 24, 2015
1 parent 28a5c29 commit af8a836
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions meta/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions tasks/Debian.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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'
Expand Down

0 comments on commit af8a836

Please sign in to comment.