The purpose of this project is to help configure Ansible for the use of Apigee OPDK roles. The Apigee OPDK roles follow conventions in the naming of files and where those files are located. This project sets up those locations and performs the git clone to setup your environment with the templates that should be customized for your use.
Set up your a workspace at ~/apigee-workspace/ if you already have git and pip installed:
ansible-playbook setup-base.yml
This playbook will perform the following activities:
Scaffold required folders
Git clone of Ansible configuration file templates
Git clone of inventory file templates. [Updating your Inventory File] (inventory.md)
Create credentials.yml template file
Required system packages can be installed with
ansible-playbook install-system-packages.yml -K
The default workspace folders can be modified by updating workspace-folders.yml.
The github repositories that you include can be modified by updating workspace-github-repos.yml
A full description of inventory semantics.
This playbook will create the following folders for you:
Sample configuration templates for single and multi-dc planets
Sample configuration inventory template files that model the required group semantics used.
Folder to contain credentials, downloaded logs, configs and maintain the edge license.txt file.
Starter templates for playbooks. Use these playbooks as accelerators for your own.
Workspace containing the roles used by the playbooks.
The minimum setup must be completed prior to configuring the EC2 managed setup. The EC2 managed setup will update perform the following activities:
Please follow the usage instructions:
ansible-playbook setup-ec2.yml \ -e secure_aws_region={{ secure_aws_region }} \ -e aws_access_key_id={{ aws_access_key_id }} \ -e aws_secret_access_key={{ aws_secret_access_key }}
Variable Name | Description |
---|---|
secure_aws_region | Please provide your ec2_region. |
aws_access_key_id | Please provide your AWS Access Key ID. |
aws_secret_access_key | Please provide your AWS Secret Access Key. |