mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
tinkering with lineinfile
This commit is contained in:
parent
e32244d032
commit
345a1e7a90
1 changed files with 2 additions and 1 deletions
|
@ -135,7 +135,8 @@
|
||||||
- name: Change the mongodb port to 27018
|
- name: Change the mongodb port to 27018
|
||||||
lineinfile:
|
lineinfile:
|
||||||
path: /etc/mongod.conf
|
path: /etc/mongod.conf
|
||||||
regexp: '^port:'
|
regexp: '^port:$'
|
||||||
|
backrefs: yes
|
||||||
line: ' port: 27018'
|
line: ' port: 27018'
|
||||||
|
|
||||||
# end block
|
# end block
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue