Skip to content
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

Added update_secrets parameter for notification_template module #15826

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

Conversation

kk-at-redhat
Copy link

@kk-at-redhat kk-at-redhat commented Feb 8, 2025

SUMMARY

related #15825

ISSUE TYPE

New or Enhanced Feature

COMPONENT NAME

Collection

AWX VERSION
4.6.7
ADDITIONAL INFORMATION

Testing

ansible -m ansible.controller.notification_template --args="name='Slack B' organization='B' notification_type=slack notification_configuration={'token':'aaaaaa','channels':['vvvvvv']}" localhost

localhost | CHANGED => {
    "changed": true,
    "id": 8,
    "name": "Slack B"
}

ansible -m ansible.controller.notification_template --args="name='Slack B' organization='B' notification_type=slack update_secrets=false notification_configuration={'token':'$encrypted$','channels':['vvvvvv']}" localhost

localhost | SUCCESS => {
    "changed": false,
    "id": 8
}

ansible -m ansible.controller.notification_template --args="name='Slack B' organization='B' notification_type=slack update_secrets=false notification_configuration={'token':'dfdfdfg','channels':['vvvvvv']}" localhost

localhost | SUCCESS => {
    "changed": false,
    "id": 8
}

ansible -m ansible.controller.notification_template --args="name='Slack B' organization='B' notification_type=slack notification_configuration={'token':'$encrypted$','channels':['vvvvvv']}" localhost

localhost | CHANGED => {
    "changed": true,
    "id": 8
}

@github-actions github-actions bot added component:awx_collection issues related to the collection for controlling AWX community labels Feb 8, 2025
Copy link

sonarqubecloud bot commented Feb 8, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community component:awx_collection issues related to the collection for controlling AWX
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant