From e3ab322c67db0e319344d7bc65acdc9c68b63b34 Mon Sep 17 00:00:00 2001 From: Dawid Dziurla Date: Sun, 22 Mar 2020 12:16:15 +0100 Subject: [PATCH] playbook: variable host and user --- playbook.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/playbook.yml b/playbook.yml index fa20c3e..65ab7f7 100644 --- a/playbook.yml +++ b/playbook.yml @@ -1,5 +1,6 @@ - name: Test Action - hosts: all + hosts: "{{ host }}" + remote_user: "{{ user }}" tasks: - name: Copy action.yml copy: