Lab 6.4: Create UserΒΆ

Note

Estimated time to complete: 5 minutes

In this lab, we will add a new user to an existing custom role on BIG-IQ.

Note

Currently there is no Ansible playbook to create custom roles so we will add this using the BIG-IQ UI first.

  1. Login to BIG-IQ as david .
  2. Go to System > ROLE MANAGEMENT > Roles > CUSTOM ROLES > Application Roles > click Add.
../../_images/lab-4-11.png
  1. Enter in a name like testrole1 as the role name.
../../_images/lab-4-21.png
  1. Scroll down to the AS3 Templates section and select any AS3 template that you want to expose to the new user and click the arrow to get it in the Selected section. Then, click Save & Close. You can leave all other fields default.
../../_images/lab-4-31.png
  1. Next, in the AWX (Ansible Tower) window, navigate to the Templates page and review (Class5-Mod11-Lab4) Create_BIGIQ_User.
../../_images/lab-4-41.png

Make sure the PLAYBOOK lab/f5-ansible-bigiq-as3-demo/tower/onboard_tenant.yml is selected. Also confirm that the admin-iq (BIG-IQ) credentials appear in the CREDENTIALS field.

../../_images/lab-4-51.png

You can go on the GitHub repository and check review the playbooks and Jinja2 templates.

  1. Back on the Templates page, next to the (Class5-Mod11-Lab4) Create_BIGIQ_User template, click on the Start a job using this template.
../../_images/lab-4-61.png
  1. SURVEY: Enter in the required fields like below.
USER NAME username
DISPLAY NAME: (FIRST LAST) First Last
PASSWORD XXXXXXXXXXXX
EXISTING ROLE NAME testrole1
../../_images/lab-4-71.png
  1. PREVIEW: Review the summary of the template deployment, then click on LAUNCH.
../../_images/lab-4-81.png
  1. Follow the JOB deployment of the Ansible playbook.
../../_images/lab-4-91.png
  1. When the job is completed, check the PLAY RECAP and make sure there nothing failed.
../../_images/lab-4-101.png
  1. Login on BIG-IQ as admin, go to System > USER MANAGEMENT > Users. Confirm the new user exists.
../../_images/lab-4-111.png

This completes the user creation lab.