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] +