0.3.8
This commit is contained in:
parent
cf078ee42a
commit
00164bd3b5
32 changed files with 3101 additions and 1229 deletions
|
|
@ -10,14 +10,13 @@ deploy:
|
|||
- pip install ansible --quiet
|
||||
- git clone https://git.fudiggity.nl/ansible/newsreader.git deployment --branch master
|
||||
- cd deployment
|
||||
- ansible-galaxy install -r roles/requirements.yml
|
||||
- ansible-galaxy install -r requirements.yml
|
||||
- mkdir /root/.ssh && echo "$DEPLOY_HOST_KEY" > /root/.ssh/known_hosts
|
||||
- echo "$DEPLOY_KEY" > deploy_key && chmod 0600 deploy_key
|
||||
- echo "$VAULT_PASSWORD" > vault
|
||||
script:
|
||||
- >
|
||||
ansible-playbook playbook.yml
|
||||
--inventory inventory.yml
|
||||
--private-key deploy_key
|
||||
--vault-password-file vault
|
||||
--extra-vars "app_branch=$CI_COMMIT_TAG"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue