# PyconPH sprint - ansible error - no hosts matched or remaining

**URL:** <https://forum.ansible.com/t/pyconph-sprint-ansible-error-no-hosts-matched-or-remaining/11636>\
**Category:** Ansible Project\
**Tags:** ubuntu\
**Created:** [July 1, 2012, 6:00am UTC](https://forum.ansible.com/t/pyconph-sprint-ansible-error-no-hosts-matched-or-remaining/11636 "2012-07-01T06:00:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Runin](https://avatars.discourse-cdn.com/v4/letter/r/f04885/32.png) [@Runin](https://forum.ansible.com/u/Runin)\
**Post date:** [July 1, 2012, 6:00am UTC](https://forum.ansible.com/t/pyconph-sprint-ansible-error-no-hosts-matched-or-remaining/11636/1 "2012-07-01T06:00:10Z")

</div>

Hi,

I encountered an error when trying to install apache and running  
another command afterwards. Details are below:

I'm using Ubuntu 12.04 LTS.

COMMAND:  
ansible-playbook test.playbook -k -K

FILE test.playbook:

---

<div class="post-metadata">

**Author:** ![Michael\_DeHaan](https://avatars.discourse-cdn.com/v4/letter/m/c4cdca/32.png) [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Post date:** [July 1, 2012, 1:58pm UTC](https://forum.ansible.com/t/pyconph-sprint-ansible-error-no-hosts-matched-or-remaining/11636/2 "2012-07-01T13:58:23Z")

</div>

Review the error message, this is not an ansible problem, but mostly likely that you have gpgcheck on and something isn't signed properly.

> following packages cannot be authenticated!\n apache2.2-common  
> apache2-mpm-worker apache2

--Michael
