diff --git a/playbooks/lxc-hosts-setup.yml b/playbooks/lxc-hosts-setup.yml index 8cc0e857ee..66c77b8724 100644 --- a/playbooks/lxc-hosts-setup.yml +++ b/playbooks/lxc-hosts-setup.yml @@ -14,7 +14,18 @@ # limitations under the License. - name: Basic lxc host setup - hosts: "{{ lxc_host_group|default('hosts') }}" + hosts: > + {{ lxc_host_group | + default(' + shared-infra_hosts + :os-infra_hosts + :repo-infra_hosts + :identity_hosts + :storage-infra_hosts + :log_hosts + :network_hosts + ') + }} gather_facts: "{{ gather_facts | default(True) }}" max_fail_percentage: 20 user: root diff --git a/releasenotes/notes/lxc-hosts-limit-9784050b888ea7c8.yaml b/releasenotes/notes/lxc-hosts-limit-9784050b888ea7c8.yaml new file mode 100644 index 0000000000..153186cc0d --- /dev/null +++ b/releasenotes/notes/lxc-hosts-limit-9784050b888ea7c8.yaml @@ -0,0 +1,7 @@ +--- +upgrade: + - LXC package installation and cache preparation will now occur by default + only on hosts which will actually implement containers. +fixes: + - LXC package installation and cache preparation will now occur by default + only on hosts which will actually implement containers.