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: