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

New module - meraki_webhook #57855

Merged
merged 2 commits into from
Jul 31, 2019
Merged

Conversation

kbreit
Copy link
Contributor

@kbreit kbreit commented Jun 14, 2019

SUMMARY

The module will allow for configuring and testing webhooks within the Meraki API.

ISSUE TYPE
  • New Module Pull Request
COMPONENT NAME

meraki_webhook

ADDITIONAL INFORMATION
  - name: Update webhook with id
    meraki_webhook:
      auth_key: '{{auth_key}}'
      state: present
      org_name: '{{test_org_name}}'
      net_name: '{{test_net_name}}'
      webhook_id: '{{webhook_id}}'
      name: Test_Hook
      url: https://webhook.site/8eb5b76f-b167-4cb8-9fc4-42621b724244
      shared_secret: shhhdonttellanyonehereid
    delegate_to: localhost

TASK [meraki_webhooks : Query one webhook with id] *****************************
ok: [localhost -> localhost]

TASK [meraki_webhooks : debug] *************************************************
ok: [localhost] =>
  query_one_id:
    changed: false
    data:
      id: aHR0cHM6Ly93ZWJob29rLnNpdGUvOGViNWI3NmYtYjE2Ny00Y2I4LTlmYzQtNDI2MjFiNzI0MjQ0
      name: Test_Hook
      networkId: N_624874448297679281
      sharedSecret: shhhdonttellanyone
      url: https://webhook.site/8eb5b76f-b167-4cb8-9fc4-42621b724244
    failed: false
    response: OK (unknown bytes)
    status: 200

@ansibot ansibot added affects_2.9 This issue/PR affects Ansible v2.9 cisco Cisco technologies meraki Cisco Meraki community module This issue/PR relates to a module. needs_revision This PR fails CI tests or a maintainer has requested a review/revision of the PR. needs_triage Needs a first human triage before being processed. networking Network category new_module This PR includes a new module. new_plugin This PR includes a new plugin. support:community This issue/PR relates to code supported by the Ansible community. test This PR relates to tests. community_review In order to be merged, this PR must follow the community review workflow. and removed needs_revision This PR fails CI tests or a maintainer has requested a review/revision of the PR. labels Jun 14, 2019
@ansibot ansibot added the stale_ci This PR has been tested by CI more than one week ago. Close and re-open this PR to get it retested. label Jun 28, 2019
@ansibot ansibot added has_issue and removed needs_triage Needs a first human triage before being processed. stale_ci This PR has been tested by CI more than one week ago. Close and re-open this PR to get it retested. labels Jul 19, 2019
@pabelanger pabelanger requested a review from Qalthos July 26, 2019 15:41
@Qalthos Qalthos merged commit b09fbc3 into ansible:devel Jul 31, 2019
@ansible ansible locked and limited conversation to collaborators Aug 28, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
affects_2.9 This issue/PR affects Ansible v2.9 cisco Cisco technologies community_review In order to be merged, this PR must follow the community review workflow. has_issue meraki Cisco Meraki community module This issue/PR relates to a module. networking Network category new_module This PR includes a new module. new_plugin This PR includes a new plugin. support:community This issue/PR relates to code supported by the Ansible community. test This PR relates to tests.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants