Allow to provide serial for lxc_hosts

There might be cases, where you intentionally want to run playbooks
against lxc_hosts but in a serial manner.
As example, when you want to update packages and restart LXC containers
but only host-by-host.

Change-Id: I2ac022a85683c76410b3eb6ee12e9e59f4b0340d
This commit is contained in:
Dmitriy Rabotyagov 2022-07-26 18:17:18 +02:00
parent 2fa9832388
commit f29db95faa

View File

@ -23,6 +23,7 @@
hosts: "{{ lxc_host_group | default('lxc_hosts') }}"
user: root
gather_facts: false
serial: "{{ lxc_hosts_serial | default(['100%']) }}"
vars_files:
- defaults/repo_packages/openstack_services.yml
- "defaults/{{ install_method }}_install.yml"