Skip to content

Commit

Permalink
Add support for systemd service in Ubuntu Xenial
Browse files Browse the repository at this point in the history
  • Loading branch information
danlamanna committed Sep 2, 2016
1 parent 1d99288 commit cac9cb6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tasks/install.xenial.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
- name: install systemd service
copy:
src=mongod.service
dest=/etc/systemd/system/mongod.service
3 changes: 3 additions & 0 deletions tasks/mongodb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
- include: install.deb.yml
when: ansible_os_family == 'Debian' and mongodb_install

- include: install.xenial.yml
when: ansible_os_family == 'Debian' and ansible_distribution_release == 'xenial'

- include: configure.yml
when: mongodb_install

Expand Down

0 comments on commit cac9cb6

Please sign in to comment.