Skip to content

[Enabler][Research] Standardize module interfaces and create a guideline on designing new modules interface. #2014

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
1 task done
fernandofloresg opened this issue Mar 24, 2025 · 1 comment
Assignees
Labels
Enabler Enabler task In Plan Issue has been accepted put into a planned release

Comments

@fernandofloresg
Copy link
Collaborator

fernandofloresg commented Mar 24, 2025

Is there an existing issue for this?

  • There are no existing issues.

Enabler description

Modules have been developed by many people with different ideas, this resulted in many inconsistencies across the modules, which code wise translates into technical debt, but more user facing things translates into different options having different meanings in the same collection. So the idea of this task is to do a common interface for all modules and create a guideline on how to design a new modules interface.

Next, is the table of all modules and if their interface is complete or not.

Module Interface design Notes
zos_apf – Add or remove libraries to Authorized Program Facility (APF) Yes
zos_archive – Archive files and data sets on z/OS. Yes
zos_backup_restore – Backup and restore data sets and volumes Yes
zos_blockinfile – Manage block of multi-line textual data on z/OS Yes
zos_copy – Copy data to z/OS Yes
zos_data_set – Manage data sets Yes
zos_encode – Perform encoding operations. Yes
zos_fetch – Fetch data from z/OS Yes
zos_find – Find matching data sets Yes
zos_gather_facts – Gather z/OS system facts. Yes
zos_job_output – Display job output Yes
zos_job_query – Query job status Yes
zos_job_submit – Submit JCL Yes
zos_lineinfile – Manage textual data on z/OS Yes
zos_mount – Mount a z/OS file system. Yes
zos_mvs_raw – Run a z/OS program. Yes
zos_operator – Execute operator command Yes
zos_operator_action_query – Display messages requiring action Yes
zos_ping – Ping z/OS and check dependencies. Yes
zos_script – Run scripts in z/OS Yes
zos_stat – Retrieve facts from MVS data sets. Yes
zos_tso_command – Execute TSO commands Yes
zos_unarchive – Unarchive files and data sets in z/OS. Yes
zos_volume_init – Initialize volumes or minidisks. Yes
zos_zfs_resize Yes Basically keep the same interface.

Ansible module

No response

@fernandofloresg fernandofloresg added the Enabler Enabler task label Mar 24, 2025
@fernandofloresg fernandofloresg added this to the [Q2] [2025] Enablers milestone Mar 24, 2025
@fernandofloresg fernandofloresg added the In Plan Issue has been accepted put into a planned release label Mar 24, 2025
@fernandofloresg fernandofloresg moved this from 📗In plan to 👀 Reviewing in IBM Ansible z/OS Core Collection Apr 8, 2025
@richp405 richp405 moved this from 👀 Reviewing to 🏗 In progress in IBM Ansible z/OS Core Collection Apr 9, 2025
@fernandofloresg fernandofloresg moved this from 🏗 In progress to ✅ Done in IBM Ansible z/OS Core Collection Apr 17, 2025
@fernandofloresg
Copy link
Collaborator Author

Updated the research to dev docs repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enabler Enabler task In Plan Issue has been accepted put into a planned release
Projects
Status: Done
Development

No branches or pull requests

2 participants