IBM / ansible-for-i

the tool is to provide several customized modules for Ansible to manage IBM i systems.
GNU General Public License v3.0
54 stars 52 forks source link

ibmi_fix - save_file_object parameter required? #155

Closed ShibuyaHao closed 11 months ago

ShibuyaHao commented 1 year ago

Hi, the documentation says save_file_object parameter is not required: save_file_object The object name of the save file to be installed.

required: false type: str

But I get: "msg": "operation is load_only but all of the following are missing: save_file_object"} when I tried it without the parameter.

Is there a way to load and apply without specifying the save file?

jpehrson commented 1 year ago

@ShibuyaHao - The ibmi_fix module supports several different operations, which don't require the "save_file_object" parameter. Hence, why it is not required. For example, the apply_only, remove, and query operations do not require the "save_file_object" parameter. However, the load_and_apply and load_only operations do require the "save_file_object" parameter. So, it will depend on the operation parameter value you specify when calling the ibmi_fix module.

operation: description:

ShibuyaHao commented 11 months ago

OK thanks.