docs: def install_ansible_support(from_ppa=True, ppa_location='ppa:rquillo/ansible'):
      """Installs the ansible package.
  
      By default it is installed from the `PPA`_ linked from
      the ansible `website`_ or from a ppa specified by a charm config..
  
      .. _PPA: https://launchpad.net/~rquillo/+archive/ansible
      .. _website: http://docs.ansible.com/intro_installation.html#latest-releases-via-apt-ubuntu
  
      If from_ppa is empty, you must ensure that the package is available
      from a configured repository.
      """
      if from_ppa:
          charmhelpers.fetch.add_source(ppa_location)
          charmhelpers.fetch.apt_update(fatal=True)
      charmhelpers.fetch.apt_install('ansible')
      with open(ansible_hosts_path, 'w+') as hosts_file:
          hosts_file.write('localhost ansible_connection=local ansible_remote_tmp=/root/.ansible/tmp')