Skip to content
This repository was archived by the owner on Dec 20, 2024. It is now read-only.

Github action to use ansible vault to decrypt your secrets in the CI

Notifications You must be signed in to change notification settings

anthonykgross/ansible-vault-cli-github-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ansible Vault CLI Github Action

This action is based on ubuntu:bionic image.
You can execute all Ansible Vault related actions i.e.
You can also execute standard Linux commands as base Docker image is ubuntu.

Inputs

command

Required Command to execute. Default "ansible-vault".

vault_key

Required Your vault key. Default ''.

Example usage

uses: anthonykgross/ansible-vault-cli-github-action@v1
with:
  vault_key: ${{ secrets.vault_key }}
  command: "ansible-vault decrypt foo.yml"