From ca4ed90b5a18150cd165195e6d3cae39e07a4a0b Mon Sep 17 00:00:00 2001 From: Shipilov Denis Date: Mon, 23 Apr 2018 15:46:40 +0300 Subject: [PATCH] fix for "amplify.api_key variable does not exist" issue (https://github.com/jdauphant/ansible-role-nginx/issues/219) (#220) --- tasks/amplify.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tasks/amplify.yml b/tasks/amplify.yml index 874696c..53732ed 100644 --- a/tasks/amplify.yml +++ b/tasks/amplify.yml @@ -17,7 +17,7 @@ - name: Run Amplify Agent install.sh script command: "sh /tmp/install-amplify-agent.sh -y" environment: - API_KEY: "{{ amplify.api_key }}" + API_KEY: "{{ nginx_amplify_api_key }}" become: true become_user: root become_method: sudo @@ -42,4 +42,5 @@ name: amplify-agent state: started enabled: true - tags: [service] \ No newline at end of file + tags: [service] +