added env based cred loading for deploy
This commit is contained in:
parent
a87fe24f04
commit
0b293d0550
1 changed files with 4 additions and 1 deletions
|
@ -1,5 +1,8 @@
|
|||
- name: cbax dev deploy
|
||||
hosts: containers
|
||||
hosts:
|
||||
containers:
|
||||
ansible_user: '{{ lookup("env", "ANSIBLE_USER") }}'
|
||||
ansible_password: '{{ lookup("env", "ANSIBLE_PASSWORD") }}'
|
||||
tasks:
|
||||
- name: Copy files
|
||||
ansible.posix.synchronize:
|
||||
|
|
Loading…
Reference in a new issue