Skip to content

Commit

Permalink
is_debian-8 & is_debian-9 (#129)
Browse files Browse the repository at this point in the history
  • Loading branch information
jvonau authored and georgejhunt committed Jul 17, 2017
1 parent fb858ac commit 3358b72
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 6 deletions.
4 changes: 2 additions & 2 deletions roles/2-common/tasks/packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,11 @@

- name: Download usbmount -- not in debian-9
command: wget {{ iiab_download_url }}/usbmount_0.0.14.1_all.deb -P {{ downloads_dir }}
when: is_debian and ansible_distribution_major_version == "9"
when: is_debian-9

- name: Install usbmount for debian-9
command: apt install -y {{ downloads_dir }}/usbmount_0.0.14.1_all.deb
when: is_debian and ansible_distribution_major_version == "9"
when: is_debian-9

- name: Install packages for Debian
package: name={{ item }}
Expand Down
3 changes: 2 additions & 1 deletion vars/debian-8.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
is_debian: True
is_debuntu: True
is_debian: True
is_debian-8: True
dns_service: bind9
dns_user: bind
proxy: squid3
Expand Down
3 changes: 2 additions & 1 deletion vars/debian-9.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
is_debian: True
is_debuntu: True
is_debian: True
is_debian-9: True
dns_service: bind9
dns_user: bind
proxy: squid
Expand Down
9 changes: 7 additions & 2 deletions vars/default_vars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -311,10 +311,15 @@ xovis_chart_heading: "My School: Usage Data Visualization"

# Platforms - turn all off and let <OS>.yml turn on as appropriate
nodocs: False
is_rpi: False
is_debian: False

# wide to narrow
is_debuntu: False
is_ubuntu: False
is_debian: False
is_debian-9: False
is_debian-8: False
is_rpi: False

is_redhat: False
is_fedora: False
is_centos: False

0 comments on commit 3358b72

Please sign in to comment.