From 0b293d0550770c80f1bbab3fbff92f9db6623c7a Mon Sep 17 00:00:00 2001 From: cbax Date: Wed, 23 Oct 2024 20:11:00 +0000 Subject: [PATCH] added env based cred loading for deploy --- deploy.playbook.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/deploy.playbook.yml b/deploy.playbook.yml index 6582815..9f063f8 100644 --- a/deploy.playbook.yml +++ b/deploy.playbook.yml @@ -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: