title: /bin/sh: apt: command not found", "stderr_lines": ["/bin/sh: apt: command not found"], "stdout": "", "stdout_lines in awx
body: <p>If Im trying to install any packages from awx console using ansible playbook ,which pull it from git.</p>
  
  <p>But its giving the below error in local ubuntu machine.</p>
  
  <p>/bin/sh: apt: command not found", "stderr_lines": ["/bin/sh: apt: command not found"], "stdout": "", "stdout_lines</p>
  
  <p>or sometimes.</p>
  
  <p>changed": false, "cmd": "apt-get update", "msg": "[Errno 2] No such file or directory", "rc</p>
  
  <p>its working with yum package but not with opt package ,what might be the reason , please help on this.</p>
  
  <p>If Im trying to install any packages from awx console using ansible playbook ,which pulls it from github.</p>
  
  <hr>
  
  <ul>
  <li>hosts: all
  become: yes
  become_method: sudo
  tasks: 
  
  <ul>
  <li>name: ensure apache is at the latest version 
  apt: name={{ item }} update_cache=yes
  with_items:
  
  <ul>
  <li>apache2</li>
  </ul></li>
  </ul></li>
  </ul>
  
  <p>/bin/sh: apt: command not found", "stderr_lines": ["/bin/sh: apt: command not found"], "stdout": "", "stdout_lines</p>