1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-13 03:32:12 +00:00

Update main.yml

This commit is contained in:
A Holt 2018-07-17 12:55:25 -04:00 committed by GitHub
parent 4e0fc10017
commit 77416f4d52
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -19,7 +19,7 @@
- { path: "{{ mongodb_db_path }}" }
- { path: '/var/log/mongodb' }
- name: Position /etc/mongod.conf and mongodb.service
- name: Populate & position /etc/mongod.conf, /etc/systemd/system/mongodb.service
template:
src: "{{ item.src }}"
dest: "{{ item.dest }}"
@ -27,8 +27,8 @@
group: root
mode: 0644
with_items:
- { src: 'mongodb.service' , dest: '/etc/systemd/system/' }
- { src: 'mongod.conf' , dest: '/etc/mongod.conf'}
- { src: 'mongodb.service.j2' , dest: '/etc/systemd/system/' }
- { src: 'mongod.conf.j2' , dest: '/etc/mongod.conf'}
- name: Restart service if enabled
service: