Build environment¶
One Time Setup¶
Following needs to be installed on the ansible_server_provisioner
Install Python - latest version of Python (2.7 minimum) if you do not already have it.
Install Ansible version 2.8.0 minimum:
If you run Ansible by using virtualenv/pip, please refer to Install ansible by using virtualenv.
After installation run the following command to verify ansible installation
# ansible --version ansible 2.8.5 config file = None configured module search path = ['/Users/test/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /Users/test/myansible/lib/python3.7/site-packages/ansible executable location = /Users/test/myansible/bin/ansible python version = 3.7.3 (default, Jun 19 2019, 07:40:11) [Clang 9.0.0 (clang-900.0.39.2)]
AWS Setup
- Create an Amazon AWS account
- Create an Access Key ID and Secret Access Key. Save the ID and key for later.
- New to AWS and not sure what this step means? Click here
Install boto, boto3 , netaddr and passlib on the ansible_server_provisioner
pip install boto boto3 netaddr passlib
Set your Access Key ID and Secret Access Key from Step B under ~/.aws/credentials in the ansible_server_provisioner
[root@centos ~]# cat ~/.aws/credentials [default] aws_access_key_id = ABCDEFGHIJKLMNOP aws_secret_access_key = ABCDEFGHIJKLMNOP/ABCDEFGHIJKLMNOP
Clone the workshop repo on the ansible_server_provisioner
git clone https://github.com/f5alliances/f5_provisioner.git cd f5_provisioner/provisioner
Make sure you have subscribed to the right marketplace AMI (Amazon Machine Image).
- F5 BIG-IP Click here to subscribe