blob: 448b1eb61aa2f00a32ba728301d8915227d3f56c [file] [log] [blame]
---
# tasks file for apigee-opdk-setup-default-settings
- 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'
value: 'ansible_{{ ansible_default_ipv4.interface }}'
- include_tasks: private_address.yml
- include_tasks: public_address.yml
- include_tasks: local_mgmt_ip.yml
# local_mgmt_ip.yml must run before ldap
- include_tasks: ldap.yml
- include_tasks: public_mgmt_ip.yml
- include_tasks: region.yml
- include_tasks: cache.yml
- include_tasks: postgres.yml
- include_tasks: devportal_postgres.yml
- name: Load Custom Properties
include_vars: "{{ item }}"
with_items: "{{ custom_property_files }}"
when: custom_property_files is defined