40 lines
1003 B
YAML
40 lines
1003 B
YAML
---
|
|
###########################################################################
|
|
#
|
|
# This is the top level playbook for the 'sops' and 'age' roles.
|
|
#
|
|
# This role will install and configure sops and age to the target host.
|
|
#
|
|
###########################################################################
|
|
#
|
|
# This playbook can be run using the following command line;
|
|
#
|
|
# ansible-playbook -i <inventory file | IP,> sops-age.yml
|
|
#
|
|
# ie,
|
|
# ansible-playbook -i 192.168.1.123, sops-age.yml
|
|
#
|
|
###########################################################################
|
|
#
|
|
# Set the variables as per the required versions from the following URLs;
|
|
#
|
|
# - https://github.com/mozilla/sops/releases
|
|
# - https://github.com/FiloSottile/age/releases
|
|
#
|
|
###########################################################################
|
|
|
|
- hosts: all
|
|
gather_facts: true
|
|
user: root
|
|
|
|
vars:
|
|
# Set the following variables as required
|
|
sops_ver: "3.7.1"
|
|
age_ver: "1.0.0"
|
|
|
|
roles:
|
|
- role: sops
|
|
- role: age
|
|
|
|
# EOF
|