mirror of
https://github.com/linuxserver/docker-jenkins-builder.git
synced 2026-02-20 02:13:29 +08:00
10 lines
187 B
Bash
Executable File
10 lines
187 B
Bash
Executable File
#! /bin/bash
|
|
|
|
if [[ -z "${CI_RUN}" ]]; then
|
|
cd /ansible
|
|
ansible-playbook generate.yml ${EXTRA_PLAYBOOK_PARAM}
|
|
else
|
|
echo '[ls.io-init] done.'
|
|
python3 /ansible/server.py
|
|
fi
|