Fix -n option to not reset submodule
This commit is contained in:
parent
670232a135
commit
d9f8719fef
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ sudo /bin/true
|
||||||
if "$UPDATE" ; then
|
if "$UPDATE" ; then
|
||||||
git pull
|
git pull
|
||||||
fi
|
fi
|
||||||
if "$UPDATE" || [ ! -f roles/.git ]; then
|
if "$UPDATE" || [ ! -f playbooks/roles/.git ]; then
|
||||||
git submodule update --init --recursive
|
git submodule update --init --recursive
|
||||||
fi
|
fi
|
||||||
if ! rpm -q ansible > /dev/null; then
|
if ! rpm -q ansible > /dev/null; then
|
||||||
|
|
Loading…
Add table
Reference in a new issue