Skip to content

Add support for custom attributes #123

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

spencer-cdw
Copy link

@spencer-cdw spencer-cdw commented May 21, 2025

Resolves #106

AI was used in the creation of this PR, however it has been tested and is working.

Requirements.txt

  - name: ibm_messaging.ibm_mq
    version: feature/106
    source: https://github.com/spencer-cdw/mq-ansible
    type: git

Playbook

    - name: Create a queue manager
      ibm_messaging.ibmmq.queue_manager:
        qmname: OMS_QM_POC
        data_dir: /mnt/omssoftware/mqha/WMQ/OMS_QM_POC/data
        log_dir: /mnt/omssoftware/mqha/WMQ/OMS_QM_POC/logs
        log_file_size: 8192
        log_primary: 200
        log_secondary: 200
        state: running

@spencer-cdw spencer-cdw marked this pull request as ready for review June 3, 2025 18:01
@marianavillarp
Copy link
Contributor

Hi @spencer-cdw, thank you for raising this PR and contributing to the mq-ansible open source project.
The team will aim to review and test the proposed changes as soon as possible.

@marianavillarp
Copy link
Contributor

I had a look at the code and did some tests. Most of it looks good:

  • single queue manager with most of the flags (-md, -ld, -lf, -lp, -ls)
  • multiple queue managers with most of the flags
  • single queue manager, flags specified and mqsc provided.
  • multiple queue managers, flags specified and mqsc provided.
  • Each flag work individually.

From the last test noticed that flag '-q' fails. This is due to -q not being the 'description' flag, but the default flag. Could either remove the funtionality or modify it? Thanks :)

@marianavillarp marianavillarp self-requested a review June 19, 2025 12:55
Copy link
Contributor

@marianavillarp marianavillarp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Flag '-q' fails. This is due to -q not being the 'description' flag, but the default flag. (copying the last comment as my review)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add capabilties to use crtmqm flags such as (-fs, -lp, -ls , -lc , -lf, -h, -u, -p)
2 participants