Last active
August 29, 2019 00:14
-
-
Save JimmyJamTQBD/a7576523158e22f6491cb60207261ae9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- hosts: localhost | |
tasks: | |
- name: Logon to CyberArk Vault using PAS Web Services SDK - Not use_shared_logon_authentication | |
cyberark_authentication: | |
api_base_url: "https://components.cyberark.local" | |
username: "administrator" | |
password: "Cyberark1" | |
use_shared_logon_authentication: no | |
register: {{ cyberark_session }} | |
- name: Disable user | |
cyberark_user: | |
username: bizdev | |
disabled: yes | |
state: absent | |
cyberark_session: '{{ cyberark_session }}' | |
- name: Logoff from CyberArk Vault | |
cyberark_authentication: | |
state: absent | |
cyberark_session: '{{ cyberark_session }}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment