1
0
Fork 0
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:
Jerry Vonau 2020-08-25 21:17:53 -05:00
parent e32244d032
commit 345a1e7a90

View file

@ -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