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