diff --git a/.woodpecker.yml b/.woodpecker.yml index bdeaf2c..a00e040 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -1,15 +1,9 @@ pipeline: test: - image: docker - secrets: [ blarp, test_key ] - commands: - - echo hello - - echo "$BLARP" - - echo $BLARP > test - - echo $TEST_KEY > testkey - - wc -c test - - cat test - - ls -la - - echo "something" >> testkey - - wc -l testkey - - cat testkey + image: plugins/ansible:3 + secrets: [ test_key ] + settings: + playbook: main.yml + inventory: hosts.ini + user: igor + private_key: $TEST_KEY