The pullsecret is copied in config_file_path in setup_mirror_registry, and this copy can be modified in that role. This role is usually executed prior to populate_mirror_registry, so we need to check if the pullsecret is present there or not.
We have cases using DCI where we don't execute the setup_mirror_registry role, but we run populate_mirror_registry/prerequisites to download binaries. For this case, where it may happen that the pullsecret is not placed in config_file_path, we have to ensure that.
The pullsecret is copied in
config_file_path
insetup_mirror_registry
, and this copy can be modified in that role. This role is usually executed prior topopulate_mirror_registry
, so we need to check if the pullsecret is present there or not.We have cases using DCI where we don't execute the
setup_mirror_registry
role, but we runpopulate_mirror_registry/prerequisites
to download binaries. For this case, where it may happen that the pullsecret is not placed inconfig_file_path
, we have to ensure that.