Cleaned up role
diff --git a/README.md b/README.md
index 4e4b968..b7e1abc 100644
--- a/README.md
+++ b/README.md
@@ -393,7 +393,7 @@
Carlos Frias
<!-- BEGIN Google Required Disclaimer -->
-# Required Disclaimer
+# Not Google Product Clause
This is not an officially supported Google product.
<!-- END Google Required Disclaimer -->
\ No newline at end of file
diff --git a/meta/main.yml b/meta/main.yml
index 7254967..765e90a 100644
--- a/meta/main.yml
+++ b/meta/main.yml
@@ -12,6 +12,4 @@
galaxy_tags:
- apigee
- opdk
-dependencies:
-- apigee-opdk-modules
-- apigee-opdk-cache-update
+dependencies: []
\ No newline at end of file
diff --git a/tasks/main.yml b/tasks/main.yml
index de3928e..a57f895 100644
--- a/tasks/main.yml
+++ b/tasks/main.yml
@@ -3,6 +3,10 @@
- name: Setup module
setup:
+- name: Update cache with AWS facts if running on AWS
+ ec2_metadata_facts:
+ when: ansible_bios_version | lower | search('amazon')
+
- name: Normalized network interface name
cache:
key: 'interface_name'