Skip to content

Commit 3d855dd

Browse files
committed
Add Debian 10 support
1 parent 0a60e06 commit 3d855dd

File tree

4 files changed

+13
-3
lines changed

4 files changed

+13
-3
lines changed

Vagrantfile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,13 @@ boxes = [
5353
:cpu => "50",
5454
:ram => "256"
5555
},
56+
{
57+
:name => "debian-10",
58+
:box => "bento/debian-10",
59+
:ip => '10.0.0.18',
60+
:cpu => "50",
61+
:ram => "256"
62+
},
5663
]
5764

5865
Vagrant.configure("2") do |config|

meta/main.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ galaxy_info:
1919
- wheezy
2020
- jessie
2121
- stretch
22+
- buster
2223
galaxy_tags:
2324
- system
2425
- packaging

tasks/main.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@
1313
- apt-file-install
1414

1515
- name: run apt-file update (once)
16-
shell: >
17-
test -x /usr/bin/apt-file && /usr/bin/apt-file update
16+
shell: "{{ apt_file_update_job }}"
1817
when: _result is changed
1918
tags:
2019
- configuration
@@ -24,7 +23,7 @@
2423
- name: add (daily) cron task
2524
cron:
2625
name: "apt-file update"
27-
job: "test -x /usr/bin/apt-file && /usr/bin/apt-file update"
26+
job: "{{ apt_file_update_job }}"
2827
special_time: daily
2928
cron_file: apt-file
3029
user: root

vars/main.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,6 @@
22
---
33
apt_file_dependencies:
44
- apt-file
5+
6+
apt_file_update_job: >
7+
test -x /usr/bin/apt-file && /usr/bin/apt-file update

0 commit comments

Comments
 (0)