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/handlers/main.yml | 2 -- roles/lacme/tasks/main.yml | 20 +++++--------------- 2 files changed, 5 insertions(+), 17 deletions(-) delete mode 100644 roles/lacme/handlers/main.yml (limited to 'roles/lacme') diff --git a/roles/lacme/handlers/main.yml b/roles/lacme/handlers/main.yml deleted file mode 100644 index 0b9ddfc..0000000 --- a/roles/lacme/handlers/main.yml +++ /dev/null @@ -1,2 +0,0 @@ -- name: Install lacme - apt: deb=/tmp/lacme_0.2-1_all.deb 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