Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
Fail safe mode OS distro
  • Loading branch information
MrDoobPG authored Sep 17, 2019
1 parent 6afa5f2 commit eaf2a03
Showing 1 changed file with 33 additions and 1 deletion.
34 changes: 33 additions & 1 deletion menu/roles/mergerfs/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,38 @@
#######################################################################

---
- name: "MergerFS | Install prerequisite build tools for Debian"
apt:
name: "{{ packages }}"
vars:
packages:
- build-essential
- g++
- pkg-config
- git
- git-buildpackage
- pandoc
- debhelper
- libfuse-dev
- libattr1-dev
when: ansible_distribution == 'Debian'

- name: "MergerFS | Install prerequisite build tools for UBUNTU"
apt:
name: "{{ packages }}"
vars:
packages:
- build-essential
- g++
- pkg-config
- git
- git-buildpackage
- pandoc
- debhelper
- libfuse-dev
- libattr1-dev
when: ansible_distribution == 'Debian'

- name: "MergerFS | Get URL for latest mergerfs release"
shell: |
curl -s https://api.github.com/repos/trapexit/mergerfs/releases/latest \
Expand Down Expand Up @@ -78,4 +110,4 @@
Output of `systemctl status docker`:
{{ service_docker_status.stdout }}
{{ service_docker_status.stderr }}
when: service_docker_status | failed
when: service_docker_status | failed

0 comments on commit eaf2a03

Please sign in to comment.