Build environment

One Time Setup

Following needs to be installed on the ansible_server_provisioner

  1. Install Python - latest version of Python (2.7 minimum) if you do not already have it.

  2. 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)]
    
  3. AWS Setup

    1. Create an Amazon AWS account
    2. 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
    1. Install boto, boto3 , netaddr and passlib on the ansible_server_provisioner

      pip install boto boto3 netaddr passlib
      
    2. 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
      
  4. Clone the workshop repo on the ansible_server_provisioner

    git clone https://github.com/f5alliances/f5_provisioner.git
    cd f5_provisioner/provisioner
    
  5. Make sure you have subscribed to the right marketplace AMI (Amazon Machine Image).