From 085812ed1d25f8eb1769623115b90a217e8da872 Mon Sep 17 00:00:00 2001 From: Emiliano Vavassori Date: Sat, 20 Feb 2016 21:54:20 +0100 Subject: [PATCH] Tentative fix for ansible - overriding PATH. --- local.yml | 2 +- roles/remote-control/tasks/main.yml | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/local.yml b/local.yml index ba4816c..91935ac 100644 --- a/local.yml +++ b/local.yml @@ -12,4 +12,4 @@ - { role: remote-control, when: 'ansible_local.checksum.needs_repo_run | bool' } - { role: domain, when: 'ansible_local.checksum.needs_repo_run | bool' } environment: - DEBIAN_FRONTEND: noninteractive + PATH: "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" diff --git a/roles/remote-control/tasks/main.yml b/roles/remote-control/tasks/main.yml index 3878f68..04beb08 100644 --- a/roles/remote-control/tasks/main.yml +++ b/roles/remote-control/tasks/main.yml @@ -5,9 +5,6 @@ apt: name: tightvncserver state: present - become: yes - environment: - DEBIAN_FRONTEND: noninteractive - name: Configuring a password for tightvnc copy: