The process of updating data of a function is similary to the software upgrade process. It differs according to what is updated and frequency it can executed. The correctness and validity of the data provided is much more important for this process than the correct functionality of the software used. The methods and mechanisms are manifold and are described by the corresponding function role.
The data update process can be started by running the playbook
updatedata.yml as follows:
for a single host:
ansible-playbook updatadata.yml -e "host=<inventory hostname>"
for a group of hosts:
ansible-playbook updatadata.yml -e "hostgroup=<inventory hostgroup>"
The update process cannot be generalized and depends on the function and its data. The
function specific variables
function_update_run_once help to control the flow and limit the access to infrastructure. The following sequence diagrams show some possible processes in detail: