11 lines
248 B
YAML
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') }}"
|
|
|