This commit is contained in:
parent
321ec086dc
commit
378d17bf94
1 changed files with 3 additions and 2 deletions
|
@ -10,10 +10,11 @@ pipeline:
|
||||||
- echo $${ANSIBLE_PRIVATE_KEY} > /tmp/privateKey_a
|
- echo $${ANSIBLE_PRIVATE_KEY} > /tmp/privateKey_a
|
||||||
- echo $${SSH_KEY} > /tmp/privateKey
|
- echo $${SSH_KEY} > /tmp/privateKey
|
||||||
- chmod 600 /tmp/privateKey
|
- chmod 600 /tmp/privateKey
|
||||||
- echo $${SSH_KEY}|sha256sum
|
- chmod 600 /tmp/privateKey
|
||||||
- echo $${ANSIBLE_PRIVATE_KEY}|sha256sum
|
|
||||||
- sha256sum /tmp/privateKey_a
|
- sha256sum /tmp/privateKey_a
|
||||||
|
- cat /tmp/privateKey_a
|
||||||
- sha256sum /tmp/privateKey
|
- sha256sum /tmp/privateKey
|
||||||
|
- cat /tmp/privateKey
|
||||||
- ansible-playbook --user igor --inventory hosts.ini --private-key /tmp/privateKey main.yml
|
- ansible-playbook --user igor --inventory hosts.ini --private-key /tmp/privateKey main.yml
|
||||||
|
|
||||||
publish:
|
publish:
|
||||||
|
|
Loading…
Reference in a new issue