cleaning up alpine code

This commit is contained in:
Radar231 2022-01-06 21:37:14 -05:00
parent 66f6438d53
commit 692a607af0
1 changed files with 0 additions and 21 deletions

View File

@ -26,16 +26,6 @@
group: root
when: ansible_os_family == "Debian" and ansible_architecture == "x86_64"
#######################################
- name: Retrieve the mozilla sops linux binary file from github (Alpine)
get_url:
url: "https://github.com/mozilla/sops/releases/download/v{{ sops_ver }}/sops-v{{ sops_ver }}.linux"
dest: "/usr/local/bin/sops-v{{ sops_ver }}.linux"
mode: "0755"
owner: root
group: root
when: ansible_distribution == "Alpine" and ansible_architecture == "x86_64"
#######################################
- name: Install sops deb package (Debian based distro)
apt:
@ -43,15 +33,4 @@
state: present
when: ansible_os_family == "Debian" and ansible_architecture == "x86_64"
#######################################
- name: create symlink for sops binary (Alpine)
file:
src: "/usr/local/bin/sops-v{{ sops_ver }}.linux"
dest: "/usr/local/bin/sops"
owner: root
group: root
mode: "0755"
state: link
when: ansible_distribution == "Alpine" and ansible_architecture == "x86_64"
# EOF