Skip to content

Ansible-role to install mozilla/sops on a Ubuntu/Debian machine

License

Notifications You must be signed in to change notification settings

borisskert/ansible-sops

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ansible-sops

Installs mozilla/sops on a Ubuntu/Debian machine.

Requirements

CPU architecture:

  • x86_64 / amd64
  • armv7l / armhf
  • aarch64 / arm64

Operating systems:

  • Ubuntu:
    • 16.04 (xenial)
    • 18.04 (bionic)
    • 20.04 (focal)
  • Debian
    • 9 (stretch)
    • 10 (buster)

Role parameters

Variable Type Mandatory? Default Description
sops_version text no The sops version
sops_install_from_sources boolean no false Defines if sops is installed from sources

Usage

Add to requirements.yml

- name: install-sops
  src: https://github.com/borisskert/ansible-sops.git
  scm: git

example playbook.yml

- hosts: test_machine
  become: yes

  roles:
    - role: install-sops
      sops_version: v3.5.0

Testing

Requirements:

Run within docker

molecule test --all

I recommend to use pyenv for local testing. Within the Github Actions pipeline I use my molecule Docker image.

License

MIT

Author Information

About

Ansible-role to install mozilla/sops on a Ubuntu/Debian machine

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published