Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
mwolff44 committed Apr 12, 2017
1 parent b96e445 commit 8bc302d
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 4 deletions.
8 changes: 6 additions & 2 deletions defaults/main.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
# base packages
basepackages_install: False
basepackages_install: True
basepackages_list:
- git
- unzip
Expand All @@ -11,7 +11,7 @@ basepackages_list:
- luarocks

# locales
locales_install: False
locales_install: True
locales_list:
- en_US.UTF-8
- fr_FR.UTF-8
Expand Down Expand Up @@ -76,3 +76,7 @@ munin_install: False

# sngrep
sngrep_install: False

# Upgrade kernel to 4.x using backport
upgrade_kernel: False

12 changes: 10 additions & 2 deletions tasks/setup-Debian.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,17 @@
---
# tasks file for Debian flavour

# Adjust locales
- name: Ensure proper locales
locale_gen: name={{ locales_list}} state=present
locale_gen: name={{ item }} state=present
with_items: "{{ locales_list }}"
when: locales_install

# Update kernel
- name: Update kernel to 4.x version using backport
include: upgrade_kernel4_jessie.yml
when: upgrade_kernel

# Freeswitch repo
- name: Add FreeSwitch Repo Signing key
apt_key: url=https://files.freeswitch.org/repo/deb/debian/freeswitch_archive_g0.pub state=present
Expand All @@ -24,7 +31,8 @@

# Install base packages
- name: Install base packages
apt: name={{ basepackages_list }} state=latest
apt: name={{ item }} state=latest
with_items: "{{ basepackages_list }}"
when: basepackages_install

### source of systemd-timesynd : https://github.com/debops/ansible-ntp
Expand Down

0 comments on commit 8bc302d

Please sign in to comment.