mirror of
https://github.com/ansible/awx.git
synced 2026-04-14 14:39:26 -02:30
Only check if mongo is needed locally
This commit is contained in:
@@ -29,7 +29,7 @@ service_action() {
|
|||||||
|
|
||||||
# Determine whether mongod is needed
|
# Determine whether mongod is needed
|
||||||
if [[ ${svc} == mongod ]]; then
|
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 mongod is not required, break
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
break
|
break
|
||||||
|
|||||||
Reference in New Issue
Block a user