- Install ansible required roles
This commit is contained in:
Sonny Bakker 2020-12-19 21:52:25 +01:00
parent 04af0f9c5d
commit db25e240e3

View file

@ -9,6 +9,7 @@ deploy:
before_script:
- pip install ansible --quiet
- git clone https://git.fudiggity.nl/ansible/newsreader.git deployment --branch master
- ansible-galaxy install -r deployment/roles/requirements.yml
- mkdir /root/.ssh && echo "$DEPLOY_HOST_KEY" > /root/.ssh/known_hosts
- echo "$DEPLOY_KEY" > deployment/deploy_key && chmod 0600 deployment/deploy_key
- echo "$VAULT_PASSWORD" > deployment/vault