mirror of
https://github.com/iiab/iiab.git
synced 2025-02-13 11:42:08 +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: "{{ mongodb_db_path }}" }
|
||||||
- { path: '/var/log/mongodb' }
|
- { path: '/var/log/mongodb' }
|
||||||
|
|
||||||
- name: Position /etc/mongod.conf and mongodb.service
|
- name: Populate & position /etc/mongod.conf, /etc/systemd/system/mongodb.service
|
||||||
template:
|
template:
|
||||||
src: "{{ item.src }}"
|
src: "{{ item.src }}"
|
||||||
dest: "{{ item.dest }}"
|
dest: "{{ item.dest }}"
|
||||||
|
@ -27,8 +27,8 @@
|
||||||
group: root
|
group: root
|
||||||
mode: 0644
|
mode: 0644
|
||||||
with_items:
|
with_items:
|
||||||
- { src: 'mongodb.service' , dest: '/etc/systemd/system/' }
|
- { src: 'mongodb.service.j2' , dest: '/etc/systemd/system/' }
|
||||||
- { src: 'mongod.conf' , dest: '/etc/mongod.conf'}
|
- { src: 'mongod.conf.j2' , dest: '/etc/mongod.conf'}
|
||||||
|
|
||||||
- name: Restart service if enabled
|
- name: Restart service if enabled
|
||||||
service:
|
service:
|
||||||
|
|
Loading…
Reference in a new issue