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