From 59a669a2c03645e5e66257c23213fcc9f10e343c Mon Sep 17 00:00:00 2001 From: Adar Nimrod <nimrod@shore.co.il> Date: Thu, 1 Jun 2017 20:54:31 +0300 Subject: [PATCH] - Use the make module instead of the command module. --- tasks/main.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/tasks/main.yml b/tasks/main.yml index e4ab11f..8ac56a8 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -46,11 +46,9 @@ register: gitreceive_fetch - name: Install - when: gitreceive_fetch.changed - tags: ['skip_ansible_lint'] - command: make - args: + make: chdir: /root/gitreceive + target: install - name: Init tags: ['skip_ansible_lint'] -- GitLab