Compare commits
No commits in common. "dea66771e0b928e94bf106ab9665cde6a653f346" and "1d6d1094bca24a99700d067452deccc855d13a82" have entirely different histories.
dea66771e0
...
1d6d1094bc
3 changed files with 4 additions and 16 deletions
|
|
@ -3,6 +3,3 @@ 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,14 +1,8 @@
|
|||
- name: ensure dependencies are installed
|
||||
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
|
||||
ansible.builtin.apt:
|
||||
name: virtualenv
|
||||
state: present
|
||||
become: true
|
||||
|
||||
# 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
|
||||
|
|
|
|||
|
|
@ -7,9 +7,6 @@ OnFailure=ansible-pull-failure-notify.service
|
|||
[Service]
|
||||
Type=oneshot
|
||||
Environment="SOPS_AGE_KEY_FILE=/etc/ansible_pull_secrets/age_private_key"
|
||||
ExecStartPre=/usr/bin/bash -c 'if [ ! -e /home/chaos/ansible_pull_checkout ]; then git clone --depth 1 "{{ ansible_pull__repo_url }}" /home/chaos/ansible_pull_checkout ; fi'
|
||||
ExecStartPre=/usr/local/lib/ansible_pull_venv/bin/ansible-galaxy role install -r /home/chaos/ansible_pull_checkout/requirements.yml
|
||||
ExecStartPre=/usr/local/lib/ansible_pull_venv/bin/ansible-galaxy collection install -r /home/chaos/ansible_pull_checkout/requirements.yml
|
||||
ExecStart=/usr/local/lib/ansible_pull_venv/bin/ansible-pull \
|
||||
--directory /home/chaos/ansible_pull_checkout \
|
||||
--clean \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue