Skip to content

Create Automation Passwordstate List

Go to Automation

View in GitLab

Description

This playbook creates a new Passwordstate password list and a corresponding system account for automation purposes. It generates a secure password, creates the password list in Passwordstate, creates the system account in Active Directory, saves the credentials to Passwordstate, and configures permissions. The playbook also adds the credentials to Ansible Controller for use in automation.

Credentials

  • sys_ps_aaplists

Input

Variable Description
automation_name Name of the automation for which to create the list and account
description Description for the password list and account
pws_user Passwordstate API username
pws_password Passwordstate API password
ou_path Active Directory OU path for the account
ansible_host Ansible Controller host URL
ansible_username Ansible Controller username
ansible_password Ansible Controller password
ansible_url Ansible Controller web URL

Output

Variable Description
credential_name Name of the created credential in Ansible
credential_id ID of the created credential in Ansible
credential_link URL to the credential in Ansible Controller

Dependencies