Another attempt
This commit is contained in:
parent
fdec1efcf0
commit
99ba773b91
1 changed files with 2 additions and 2 deletions
|
|
@ -95,8 +95,8 @@ deploy:
|
|||
before_script:
|
||||
- apt-get update && apt-get install -y ansible git
|
||||
- git clone https://gitlab-ci-token:${CI_JOB_TOKEN}@git.fudiggity.nl/sonny/ansible-playbooks.git deployment
|
||||
- echo $DEPLOY_HOST > deployment/hosts.yml
|
||||
- echo $DEPLOY_KEY > deployment/deploy_key
|
||||
- echo "$DEPLOY_HOST" > deployment/hosts.yml
|
||||
- echo "$DEPLOY_KEY" > deployment/deploy_key
|
||||
script:
|
||||
- ansible-playbook deployment/playbook.yml --inventory deployment/hosts.yml --limit newsreader --user ansible --private-key deployment/deploy_key
|
||||
when: manual
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue