mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
change the port
This commit is contained in:
parent
dd07064648
commit
c081eb57a9
1 changed files with 6 additions and 0 deletions
|
@ -131,6 +131,12 @@
|
||||||
- mongodb-org-server
|
- mongodb-org-server
|
||||||
state: present
|
state: present
|
||||||
|
|
||||||
|
- name: Change the mongodb port to 27018
|
||||||
|
lineinfile:
|
||||||
|
path: /etc/mongod.conf
|
||||||
|
regexp: '^port:'
|
||||||
|
line: ' port: 27018'
|
||||||
|
|
||||||
# end block
|
# end block
|
||||||
when: (ansible_architecture == "aarch64") or (ansible_architecture == "amd64")
|
when: (ansible_architecture == "aarch64") or (ansible_architecture == "amd64")
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue