mirror of
https://github.com/iiab/iiab.git
synced 2025-02-15 04:32:11 +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
|
||||
lineinfile:
|
||||
path: /etc/mongod.conf
|
||||
regexp: '^port:'
|
||||
regexp: '^port:$'
|
||||
backrefs: yes
|
||||
line: ' port: 27018'
|
||||
|
||||
# end block
|
||||
|
|
Loading…
Reference in a new issue