mirror of
https://github.com/ansible/awx.git
synced 2026-02-01 09:38:10 -03:30
Only check if mongo is needed locally
This commit is contained in:
@@ -29,7 +29,7 @@ service_action() {
|
||||
|
||||
# Determine whether mongod is needed
|
||||
if [[ ${svc} == mongod ]]; then
|
||||
tower-manage uses_mongo 2> /dev/null >/dev/null
|
||||
tower-manage uses_mongo --local 2> /dev/null >/dev/null
|
||||
# if mongod is not required, break
|
||||
if [ $? -ne 0 ]; then
|
||||
break
|
||||
|
||||
Reference in New Issue
Block a user