Fixed limit override, now appends

This commit is contained in:
Jordan Hayes 2022-03-09 11:59:10 -08:00
parent f2e011a3b4
commit 4b884ab567
2 changed files with 4 additions and 2 deletions

View File

@ -22,6 +22,8 @@ if [[ ! -f $SCRIPT_HOME/../semaphore.simg ]]; then
else
# Build RPM
module load singularity || echo 'Not using modules'
cd ${SEMAPHORE_HOME} && singularity exec semaphore.simg task release
cd ${SEMAPHORE_HOME} && singularity exec $SCRIPT_HOME/../semaphore.simg task release
chmod a+rx ${SEMAPHORE_HOME}/bin
chmod a+r ${SEMAPHORE_HOME}/bin/*
fi

View File

@ -672,7 +672,7 @@ func (t *TaskRunner) getPlaybookArgs() (args []string, err error) {
if t.task.Limit != "" {
t.Log("--limit="+t.task.Limit)
args = append(taskExtraArgs, "--limit="+t.task.Limit)
taskExtraArgs = append(taskExtraArgs, "--limit="+t.task.Limit)
}
args = append(args, templateExtraArgs...)