2 Commits

Author SHA1 Message Date
Dawid Dziurla
c667c001c3 main: replace all newlines 2020-05-03 12:50:24 +02:00
Dawid Dziurla
013642b2f2 workflows: more options test 2020-05-03 12:45:56 +02:00
2 changed files with 8 additions and 1 deletions

View File

@@ -28,6 +28,13 @@ jobs:
inventory: |
[all]
localhost
options: |
-e docker_image=docker_url
-e docker_username=${{github.actor}}
-e docker_password=${{github.token}}
-e db_name=db_name
-e db_user=db_user
-e db_pass=db_pass
test-local:
runs-on: ubuntu-latest
steps:

View File

@@ -16,7 +16,7 @@ async function main() {
let cmd = ["ansible-playbook", playbook]
if (options) {
cmd.push(options.replace("\n", " "))
cmd.push(options.replace(/\n/g, " "))
}
if (directory) {