- Fix sorting posts by rule
This commit is contained in:
Sonny Bakker 2020-08-31 22:42:18 +02:00
parent c94158a3a6
commit 30bd140483
3 changed files with 17 additions and 6 deletions

View file

@ -9,11 +9,11 @@ deploy:
before_script:
- pip install ansible --quiet
- git clone https://git.fudiggity.nl/sonny/ansible-playbooks.git deployment
- mkdir /root/.ssh
- mkdir -p /root/.ssh
- echo "$DEPLOY_HOST_KEY" > /root/.ssh/known_hosts
- echo "$DEPLOY_KEY" > deployment/deploy_key && chmod 0600 deployment/deploy_key
- mkdir /root/.vaults
- echo "$VAULT_PASSWORD" > deployment/vault && chmod 0700 deployment/vault
- mkdir -p /root/.vaults
- echo "$VAULT_PASSWORD" > /root/.vaults/newsreader && chmod 0600 /root/.vaults/newsreader
script:
- >
ansible-playbook deployment/playbook.yml
@ -21,4 +21,4 @@ deploy:
--limit newsreader
--user ansible
--private-key deployment/deploy_key
--vault-password-file deployment/vault
--vault-password-file /root/.vaults/newsreader