From aac5f31ef391501dd17b0740444d6cfaca0c965b Mon Sep 17 00:00:00 2001 From: nazunalika Date: Thu, 1 Apr 2021 19:58:09 -0700 Subject: [PATCH] do it for the lint --- ansible/playbooks/tasks/noggin.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/ansible/playbooks/tasks/noggin.yml b/ansible/playbooks/tasks/noggin.yml index 759eb2d..edabf74 100644 --- a/ansible/playbooks/tasks/noggin.yml +++ b/ansible/playbooks/tasks/noggin.yml @@ -40,11 +40,11 @@ state: absent - name: Noggin installation - shell: - cmd: "/home/noggin/.local/bin/poetry install --no-dev --extras deploy" - chdir: "/opt/noggin/noggin" + command: "/home/noggin/.local/bin/poetry install --no-dev --extras deploy" become: true become_user: noggin + args: + chdir: "/opt/noggin/noggin" - name: Get the noggin poetry virtualenv shell: @@ -52,6 +52,7 @@ chdir: "/opt/noggin/noggin" become: true become_user: noggin + changed_when: "1 != 1" register: virtualenv_location - name: Deploy start up script