From f29db95faa2e1f959d58e9b451059de88a0e1bb8 Mon Sep 17 00:00:00 2001 From: Dmitriy Rabotyagov Date: Tue, 26 Jul 2022 18:17:18 +0200 Subject: [PATCH] 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 --- playbooks/containers-lxc-host.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/playbooks/containers-lxc-host.yml b/playbooks/containers-lxc-host.yml index 19365d8068..4016304f13 100644 --- a/playbooks/containers-lxc-host.yml +++ b/playbooks/containers-lxc-host.yml @@ -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"