cleaning up alpine code
This commit is contained in:
parent
66f6438d53
commit
692a607af0
|
@ -26,16 +26,6 @@
|
||||||
group: root
|
group: root
|
||||||
when: ansible_os_family == "Debian" and ansible_architecture == "x86_64"
|
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)
|
- name: Install sops deb package (Debian based distro)
|
||||||
apt:
|
apt:
|
||||||
|
@ -43,15 +33,4 @@
|
||||||
state: present
|
state: present
|
||||||
when: ansible_os_family == "Debian" and ansible_architecture == "x86_64"
|
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
|
# EOF
|
||||||
|
|
Loading…
Reference in New Issue