code-snippets/infra/ansible/deploy-playbook.yml
Liam Pietralla 6f9fa79394
Some checks failed
Build, Test & Publish / Build (push) Successful in 18s
Build, Test & Publish / Build and Publish Container Image (push) Failing after 9s
Build, Test & Publish / Deploy to Infrastructure (push) Has been skipped
update ci (#1)
Reviewed-on: #1
2024-09-05 14:08:24 +10:00

11 lines
248 B
YAML

---
- name: Configure App Server
hosts: app
remote_user: root
become: yes # sudo
roles:
- app
vars:
registry_username: "{{ lookup('env', 'REGISTRY_USERNAME') }}"
registry_password: "{{ lookup('env', 'REGISTRY_PASSWORD') }}"