This commit is contained in:
@@ -22,9 +22,8 @@ steps:
|
||||
image: alpine:latest
|
||||
depends_on: [clone-repo]
|
||||
commands:
|
||||
- git clone https://gitea.akshun-lab.cc/aggarwalakshun/ansible.git /repo
|
||||
- echo -e "${{ ANSIBLE_PRIVATE_KEY }}" > /repo/default-key
|
||||
- echo "${{ ANSIBLE_BECOME_PASS }}" > /repo/become-pass.txt
|
||||
- echo -e "$ANSIBLE_PRIVATE_KEY" > /repo/default-key
|
||||
- echo "$ANSIBLE_BECOME_PASS" > /repo/become-pass.txt
|
||||
- chmod 600 /repo/default-key
|
||||
volumes:
|
||||
- name: repo
|
||||
|
||||
Reference in New Issue
Block a user