Commit 2139ae7f authored by nanahira's avatar nanahira

fix install ansible

parent da8516ae
Pipeline #569 canceled with stages
in 2 minutes and 50 seconds
...@@ -19,8 +19,11 @@ deploy: ...@@ -19,8 +19,11 @@ deploy:
stage: deploy stage: deploy
tags: tags:
- linux - linux
image: python
script: script:
- apt update && apt -y install openssh-client coreutils - apt update && apt -y install openssh-client coreutils
- pip install -U ansible
- ansible --version
- mkdir ~/.ssh - mkdir ~/.ssh
- chmod 700 ~/.ssh - chmod 700 ~/.ssh
- echo $SSH_KEY | base64 --decode > ~/.ssh/id_rsa - echo $SSH_KEY | base64 --decode > ~/.ssh/id_rsa
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment