add echo '-e'
This commit is contained in:
@@ -19,7 +19,7 @@ jobs:
|
||||
BECOME_PASS: ${{ secrets.ANSIBLE_BECOME_PASS }}
|
||||
run: |
|
||||
apt update && apt install -y ansible && \
|
||||
echo ${SSH_KEY} > /mnt/default-key && \
|
||||
echo -e ${SSH_KEY} > /mnt/default-key && \
|
||||
echo ${BECOME_PASS} > /mnt/become-pass.txt && \
|
||||
chmod 600 /mnt/default-key && \
|
||||
ansible-playbook -i inventory.yml --vault-pass-file /mnt/become-pass.txt --key-file /mnt/default-key playbooks/update-packages.yml
|
||||
|
||||
Reference in New Issue
Block a user