code-snippets/infra/ansible/deploy-playbook.yml
Liam Pietralla cd669cd4d6
All checks were successful
Build, Test & Publish / Build (pull_request) Successful in 18s
Build, Test & Publish / Build and Publish Container Image (pull_request) Has been skipped
Build, Test & Publish / Deploy to Infrastructure (pull_request) Has been skipped
update ci
2024-09-05 14:07:14 +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') }}"