Skip to content

Commit

Permalink
Remove dependency with aws_setup_credentials
Browse files Browse the repository at this point in the history
  • Loading branch information
abikouo committed Jan 9, 2024
1 parent 4ad3c54 commit 37805f4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 0 additions & 4 deletions roles/deploy_flask_app/meta/main.yaml

This file was deleted.

6 changes: 5 additions & 1 deletion roles/deploy_flask_app/tasks/main.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
---
- name: Deploy flask app.
module_defaults:
group/aws: "{{ aws_setup_credentials__output }}"
group/aws:
aws_access_key: "{{ aws_access_key | default(omit) }}"
aws_secret_key: "{{ aws_secret_key | default(omit) }}"
security_token: "{{ security_token | default(omit) }}"
region: "{{ region | default(aws_region) }}"
vars:
deploy_flask_app__resource_prefix: "{{ deploy_flask_app_vm_info.instances.0.public_dns_name | split('.') | first }}"
deploy_flask_app__group_id: "{{ deploy_flask_app_vm_info.instances.0.security_groups[0].group_id }}"
Expand Down

0 comments on commit 37805f4

Please sign in to comment.