ansible_pull(role): ensure SOPS is installed
Some checks failed
/ Ansible Lint (push) Failing after 49s

Also add the SOPS community collection as a requirement for this repo.
This commit is contained in:
June 2025-10-15 02:33:42 +02:00
commit dea66771e0
Signed by: june
SSH key fingerprint: SHA256:o9EAq4Y9N9K0pBQeBTqhSDrND5E7oB+60ZNx0U1yPe0
2 changed files with 13 additions and 4 deletions

View file

@ -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