agarthetiger / agarthetiger.onepassword / 0.1.1 / inventory / onepassword 1Password dynamic inventory source Authors: Andrew Garner <@agarthetiger> preview | supported by communityagarthetiger.onepassword.onepassword (0.1.1) — inventory
Install with ansible-galaxy collection install agarthetiger.onepassword:==0.1.1
collections: - name: agarthetiger.onepassword version: 0.1.1
C(onepassword) wraps the C(op) command line utility to fetch hostnames/IPs from 1Password.
Uses onepassword-inventory.(yml|yaml) YAML configuration file to set parameter values
vault: description: Vault containing the servers to retrieve (case-insensitive). If absent will search all vaults. required: false type: string plugin: choices: - onepassword description: Token that ensures this is a source file for the 'onepassword' plugin. required: true username: description: The username used to sign in. Only required when signing in for the first time and never signed in via the C(op) CLI. required: false type: string subdomain: description: The 1Password subdomain to authenticate against. Only required when signing in for the first time and never signed in via the C(op) CLI. required: false type: string secret_key: description: The secret key used when performing an initial sign in. Only required when signing in for the first time and never signed in via the C(op) CLI. required: false type: string master_password: description: The password used to unlock the specified vault. Only required when not already signed in via the C(op) CLI. required: false type: string