added env based cred loading for deploy

This commit is contained in:
cbax 2024-10-23 20:11:00 +00:00
parent a87fe24f04
commit 0b293d0550

View file

@ -1,5 +1,8 @@
- name: cbax dev deploy - name: cbax dev deploy
hosts: containers hosts:
containers:
ansible_user: '{{ lookup("env", "ANSIBLE_USER") }}'
ansible_password: '{{ lookup("env", "ANSIBLE_PASSWORD") }}'
tasks: tasks:
- name: Copy files - name: Copy files
ansible.posix.synchronize: ansible.posix.synchronize: