Skip to content

Commit

Permalink
maybe now
Browse files Browse the repository at this point in the history
  • Loading branch information
MrDoobPG authored and MrDoobPG committed Sep 7, 2019
1 parent 3b16c76 commit b686dd4
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 10 deletions.
2 changes: 1 addition & 1 deletion menu/functions/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ dependency() {
ospgversion=$(cat /var/plexguide/os.version)
if [ "$ospgversion" == "debian" ]; then
ansible-playbook /opt/plexguide/menu/dependency/dependencydeb.yml
backports="deb http://ftp.debian.org/debian $debian_version-backports main"
backports="deb http://ftp.debian.org/debian stretch-backports main contrib non-free"
if ! grep -Fxq "$backports" /etc/apt/sources.list; then
(set -x; $sh_c "echo \"$backports\" >> /etc/apt/sources.list")
fi
Expand Down
22 changes: 13 additions & 9 deletions menu/roles/dockerdeb/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,17 +26,21 @@
- software-properties-common
when: switch == "on"

- name: Docker install Debian
command: bash /opt/plexguide/menu/roles/dockerdeb/files/dockerdeb.sh
when: switch == "on"

# - name: Docker getcommands
# command: curl -fsSL https://get.docker.com -o /home/get-docker.sh
# - name: Docker install Debian
# shell: bash /opt/plexguide/menu/roles/dockerdeb/files/dockerdeb.sh
# args:
# executable: /bin/bash
# when: switch == "on"

# - name: Old way Docker install
# command: sudo bash /home/get-docker.sh
# when: switch == "on"
- name: Docker getcommands
command: curl -fsSL https://get.docker.com -o /home/get-docker.sh
when: switch == "on"

- name: Old way Docker install
shel: sudo bash /home/get-docker.sh
args:
executable: /bin/bash
when: switch == "on"

- name: Check docker daemon.json exists
stat:
Expand Down

0 comments on commit b686dd4

Please sign in to comment.