added openssh to publish
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
5932feccc4
commit
977eec9e9d
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ pipeline:
|
||||||
environment:
|
environment:
|
||||||
- ANSIBLE_HOST_KEY_CHECKING=False
|
- ANSIBLE_HOST_KEY_CHECKING=False
|
||||||
commands:
|
commands:
|
||||||
- apk add --update ansible rsync
|
- apk add --update ansible rsync openssh
|
||||||
- printf "$SSH_KEY" > privateKey
|
- printf "$SSH_KEY" > privateKey
|
||||||
- chmod 600 privateKey
|
- chmod 600 privateKey
|
||||||
- ansible-playbook --user igor --inventory hosts.ini --private-key privateKey main.yaml
|
- ansible-playbook --user igor --inventory hosts.ini --private-key privateKey main.yaml
|
||||||
|
|
Loading…
Reference in a new issue