been able to do simple ad-hoc commands but now trying to run a relatively 
simple playbook

# ansible-playbook -C /etc/ansible/playbooks/apache/site.yml
 [WARNING]: The version of gmp you have installed has a known issue 
regarding
timing vulnerabilities when used with pycrypto. If possible, you should 
update
it (i.e. yum update gmp).


PLAY [apply common configuration to all nodes] 
********************************

GATHERING FACTS 
***************************************************************
ok: [dbb001.stt.local]

PLAY [configure and deploy the webservers and application code] 
***************

GATHERING FACTS 
***************************************************************
ok: [dbb001.stt.local]

TASK: [web | Install http and php etc] 
****************************************
failed: [dbb001.stt.local] => (item=httpd,php55u,git) => {"changed": false, 
"failed": true, "item": "httpd,php55u,git", "rc": 0, "results": []}
msg: No Package matching 'httpd' found available, installed or updated

FATAL: all hosts have already failed -- aborting

PLAY RECAP 
********************************************************************
           to retry, use: --limit @/root/site.retry

dbb001.stt.local : ok=2    changed=0    unreachable=0    failed=1

# ansible --version
 [WARNING]: The version of gmp you have installed has a known issue 
regarding
timing vulnerabilities when used with pycrypto. If possible, you should 
update
it (i.e. yum update gmp).

ansible 1.8.2
  configured module search path = None

# cat playbooks/apache/site.yml
---
# This playbook deploys the whole application stack in this site.

- name: apply common configuration to all nodes
  hosts: dbb001.stt.local
  remote_user: rundeck

  roles:
    - common

- name: configure and deploy the webservers and application code
  hosts: dbb001.stt.local
  remote_user: rundeck

  roles:
    - web

Why is it saying there is 'No Package matching 'httpd' found available? 
 RHEL 6.6

Thanks
Craig

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/7cb499d4-1708-49fa-9f43-a7a60972aee7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to