3.2.3. Lab 3: Making modifications to the service graphΒΆ

Playbook modify_parameters.yaml - this playbook will perform the following task

  • Changes the load balancing method to the desired load balancing method (input taken from the variable file)
  1. Open the variable file placed under /root/playbooks/variable_file.yaml and change the lb_method parameter from round-robin to fastest-node

    Before modification:

    image22

    image23

  2. To execute the playbook run command

    ansible-playbook --step playbooks/ modify_parameters.yaml

    After running the playbook for modification:

    image24

    image25