From 2495327985da791891b579bd05b3cda1f41dfda7 Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Mon, 3 Dec 2018 03:04:22 +0100 Subject: Upgrade baseline to Debian Stretch. --- roles/lacme/tasks/main.yml | 20 +++++--------------- 1 file changed, 5 insertions(+), 15 deletions(-) (limited to 'roles/lacme/tasks') diff --git a/roles/lacme/tasks/main.yml b/roles/lacme/tasks/main.yml index 6dcf6ec..9ff88c2 100644 --- a/roles/lacme/tasks/main.yml +++ b/roles/lacme/tasks/main.yml @@ -1,19 +1,9 @@ -- name: Install dependencies for lacme - apt: pkg={{ item }} - with_items: - - libjson-perl - - libjson-xs-perl - - libconfig-tiny-perl - - libwww-perl +- name: Install lacme + apt: pkg={{ packages }} install_recommends=no + vars: + packages: - liblwp-protocol-https-perl - - libnet-ssleay-perl - -- name: Copy lacme - copy: src=deb/lacme_0.2-1_all.deb - dest=/tmp - notify: Install lacme - -- meta: flush_handlers + - lacme - name: Create a user 'lacme' user: name=lacme system=yes -- cgit v1.2.3