updated to use cache role
diff --git a/configuration/update_cache.yml b/configuration/update_cache.yml deleted file mode 100644 index 89271d9..0000000 --- a/configuration/update_cache.yml +++ /dev/null
@@ -1,15 +0,0 @@ ---- -- name: Update full cache - hosts: planet - gather_facts: no - vars_files: - - ~/.apigee/credentials.yml - pre_tasks: - - setup: - - - ec2_facts: - when: "{{ ansible_bios_version | lower | search('amazon') }}" - - roles: - - apigee-opdk-setup-default-settings -
diff --git a/installation.yml b/installation.yml index 0869006..cb77904 100644 --- a/installation.yml +++ b/installation.yml
@@ -1,8 +1,11 @@ --- -- name: Update local cache - include: configuration/update_cache.yml - tags: - - cache +- name: Update the ansible cache + hosts: planet + tags: ['cache'] + vars_files: + - ~/.apigee/credentials.yml + roles: + - apigee-opdk-setup-default-settings - name: Setup OS include: configuration/opdk-setup-os.yml
diff --git a/requirements.yml b/requirements.yml index a92459f..018077d 100644 --- a/requirements.yml +++ b/requirements.yml
@@ -80,3 +80,5 @@ - src: https://github.com/carlosfrias/apigee-opdk-setup-qpid-add.git - src: https://github.com/carlosfrias/apigee-opdk-setup-postgresql-add.git + +- src: https://github.com/carlosfrias/apigee-opdk-cache-update.git