This commit is contained in:
parent
b8e3015849
commit
43c6fc208b
1 changed files with 2 additions and 0 deletions
|
@ -7,11 +7,13 @@ pipeline:
|
|||
- ANSIBLE_HOST_KEY_CHECKING=False
|
||||
commands:
|
||||
# - apt-get update && apt-get install ansible -y
|
||||
- apt-get update && apt-get install file -y
|
||||
- echo $${SSH_KEY} > /tmp/privateKey
|
||||
- chmod 600 /tmp/privateKey
|
||||
- sha256sum /tmp/privateKey
|
||||
- cat /tmp/privateKey
|
||||
- file /tmp/privateKey
|
||||
- wc -l /tmp/privateKey
|
||||
- ansible-playbook --user igor --inventory hosts.ini --private-key /tmp/privateKey main.yml
|
||||
|
||||
publish:
|
||||
|
|
Loading…
Reference in a new issue