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:
parent
4e0fc10017
commit
77416f4d52
1 changed files with 3 additions and 3 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue