forked from CCCHH/ansible-infra
ansible_pull(role): ensure SOPS is installed
Also add the SOPS community collection as a requirement for this repo.
This commit is contained in:
parent
9afbc71801
commit
dea66771e0
2 changed files with 13 additions and 4 deletions
|
|
@ -3,3 +3,6 @@ collections:
|
|||
- name: debops.debops
|
||||
version: ">=3.1.0"
|
||||
source: https://galaxy.ansible.com
|
||||
- name: community.sops
|
||||
version: ">=2.2.4"
|
||||
source: https://galaxy.ansible.com
|
||||
|
|
|
|||
|
|
@ -1,8 +1,14 @@
|
|||
- name: ensure dependencies are installed
|
||||
ansible.builtin.apt:
|
||||
name: virtualenv
|
||||
state: present
|
||||
become: true
|
||||
block:
|
||||
- name: ensure apt dependencies are installed
|
||||
ansible.builtin.apt:
|
||||
name: virtualenv
|
||||
state: present
|
||||
become: true
|
||||
|
||||
- name: ensure SOPS is installed
|
||||
ansible.builtin.include_role:
|
||||
name: community.sops.install
|
||||
|
||||
# https://docs.ansible.com/ansible/latest/installation_guide/intro_installation.html#installing-and-upgrading-ansible-with-pip
|
||||
# https://www.redhat.com/en/blog/python-venv-ansible
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue