community.general.pagerduty_user – Manage a user account on PagerDuty¶
Note
This plugin is part of the community.general collection (version 1.3.6).
To install it use: ansible-galaxy collection install community.general
.
To use it in a playbook, specify: community.general.pagerduty_user
.
New in version 1.3.0: of community.general
Requirements¶
The below requirements are needed on the host that executes this module.
pdpyras python module = 4.1.1
PagerDuty API Access
Parameters¶
Examples¶
- name: Create a user account on PagerDuty
community.general.pagerduty_user:
access_token: 'Your_Access_token'
pd_user: user_full_name
pd_email: user_email
pd_role: user_pd_role
pd_teams: user_pd_teams
state: "present"
- name: Remove a user account from PagerDuty
community.general.pagerduty_user:
access_token: 'Your_Access_token'
pd_user: user_full_name
pd_email: user_email
state: "absent"
Authors¶
Zainab Alsaffar (@zanssa)