mirror of
https://github.com/ansible/awx.git
synced 2026-01-10 15:32:07 -03:30
Only check if mongo is needed locally
This commit is contained in:
parent
81c4abfed8
commit
bca8bae508
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user