Actions
Bug #622
closedhttpd package shoud be installed first
Start date:
2018-04-24
Due date:
% Done:
100%
Estimated time:
Patch Available:
Confirmed:
No
Branch:
Entity:
DuckCorp
Security:
Help Needed:
Description
1. httpd_package
is installed in roles/httpd/tasks/common.yml
2. but tasks in this playbook aren't called first
3. indeed, playbooks/tenants/duckcorp/web.yml
uses dc-web
role first
4. and dc-web
expects apache2
service to be already installed (since handlers notified by security.yml
playbook try to restart apache2
service).
$ ansible-playbook -l Toushirou -i hosts.yml -u root -v playbooks/tenants/duckcorp/web.yml Using duckcorp-infra/ansible/ansible.cfg as config file PLAY [web_servers] *** TASK [dc-web : Install Apache general config parts] *** changed: [Toushirou] => (item=security.conf) => {"changed": true, [...] } TASK [dc-web : Install Apache modules config parts] *** changed: [Toushirou] => (item=ssl.conf) => {"changed": true, [...] } RUNNING HANDLER [dc-web : Reload Apache Service] ************************************************************************************************************* fatal: [Toushirou]: FAILED! => {"changed": false, "msg": "Could not find the requested service apache2: host"}
Actions