December 2017
Intermediate to advanced
364 pages
7h 30m
English
Imagine that we have five web servers behind a load balancer. What we would like to do is a zero downtime upgrade of our web application. Using certain keywords available in Ansible, we can make this happen.
In our example, we want to achieve the following:
The first keyword for us to look at is serial. Let's see this example from Ansible documentation:
- name: test play hosts: webservers serial: 1
The example is from http://docs.ansible.com/ansible/latest/playbooks_delegation.html#rolling-update-batch-size.
This ensures that the execution of the ...
Read now
Unlock full access