ae6cef7f00
Currently there are a few services that perform host configuration tasks. This is done in config.yml. This means that these changes are performed during 'kolla-ansible genconfig', when we might expect not to be making any changes to the remote system. This change separates out these host configuration tasks into a config-host.yml file, which is included directly from deploy.yml. One change in behaviour is that this prevents these tasks from running during genconfig. This commit also includes a follow up to the original commit, I79fcbf1efb02b7187406d3c3fccea6f200bcea69: Perform host configuration during upgrade To maintain previous behaviour, and ensure we catch any host configuration changes, we should perform host configuration during upgrade. Change-Id: I001defc75d1f1e6caa9b1e11246abc6ce17c775b Closes-Bug: #1860161 (cherry picked from commitfdea19a305
) (cherry picked from commit1d70f509e3
)
11 lines
241 B
YAML
11 lines
241 B
YAML
---
|
|
- name: Load and persist configfs module
|
|
import_role:
|
|
name: module-load
|
|
vars:
|
|
modules:
|
|
- name: configfs
|
|
when:
|
|
- inventory_hostname in groups[iscsi_services.iscsid.group]
|
|
- iscsi_services.iscsid.enabled | bool
|