actions-marketplace-validations/ansible-playbook-with-keyvault

Execute an ansible playbook with credentials held in keyvault

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
Runtime
Deprecated runtime
namedescriptionrequireddefault
azure_credsIf azure login required, the secret containing azure credentials, i.e. output of `az ad sp create-for-rbac`no
keyvault_nameName of the azure key vaultno
keyvault_secret_name_ssh_passwordThe name of the key vault secret that holds the ssh passwordno
keyvault_secret_name_vault_passwordThe name of the key vault secret that holds the ansible vault passwordno
keyvault_secret_name_ssh_privkeyThe name of the key vault secret that holds the ssh private keyno
ssh_password_txt_filenameOptional txt filename to write the ssh password tonoansible_pass
ssh_privkey_filenameThe filename to write the ssh private key tonoansible_key
vault_password_filenameThe filename to write the vault password to.vault.txt
extra_vars_yaml_filenameThe yaml filename to write extra variables toextravars.yaml
ansible_dirDirectory containing ansible codeyes
ansible_playbookLocation of ansible playbookyes
ansible_inventoryLocation of ansible inventoryno
ansible_limitOptionally limit to comma separated set of hosts or targetsno
ansible_userThe username to use for -u, remote_user, ansible_user optionsno
ansible_varsPipe separated additional variables to pass in as -e option (via yamlfile), e.g. "foo=bar|abc=def"no
ansible_argsPipe separated ansible args e,g, "--verbose|--check|--foo barno
ansible_configLocation of ansible configno
action_settingsFor debugging the action, e.g. showCliOutput,hideAnsibleOutput,noCleanup,noAnsibleno

no outputs