Open christopher-hopper opened 8 years ago
I need help with this one. For now, I've been manually starting the Apache daemon when I bring the box up using:
sudo service httpd start
Not sure how to solve this. Help Wanted
Not sure if this is relevant, but I also notice this failure happens earlier when running playbooks/local_up.yml
for TASK [local actions | check that ~/.ssh/config exists on host machine]
==> vlad: Executing command "ansible-playbook -i 192.168.100.120, /home/chopper/Projects/vlad/vlad_guts/playbooks/local_up.yml --extra-vars local_ip_address=192.168.100.120 --extra-vars vlad_local_inventory_dir=/home/chopper/Projects/vlad/vlad_guts"...
==> vlad:
==> vlad: PLAY ***************************************************************************
==> vlad:
==> vlad: TASK [local actions | check local ip address is defined] ***********************
==> vlad: skipping: [192.168.100.120]
==> vlad:
==> vlad: TASK [local actions | set local inventory directory] ***************************
==> vlad: ok: [192.168.100.120 -> 127.0.0.1]
==> vlad:
==> vlad: TASK [local actions | create local host.ini file] ******************************
==> vlad: ok: [192.168.100.120 -> 127.0.0.1]
==> vlad:
==> vlad: TASK [local actions | establish current username on host machine] **************
==> vlad: ok: [192.168.100.120 -> 127.0.0.1]
==> vlad:
==> vlad: TASK [local actions | check that ~/.ssh/config exists on host machine] *********
==> vlad: fatal: [192.168.100.120 -> 127.0.0.1]: FAILED! => {"changed": false, "failed": true, "failed_when_result": true, "stat": {"exists": false}}
==> vlad:
==> vlad: NO MORE HOSTS LEFT *************************************************************
==> vlad: to retry, use: --limit @/home/chopper/Projects/vlad/vlad_guts/playbooks/local_up.retry
==> vlad:
==> vlad: PLAY RECAP *********************************************************************
==> vlad: 192.168.100.120 : ok=3 changed=0 unreachable=0 failed=1
Problem
The Apache daemon (httpd) does not start on boot using
vagrant up
with a CentOS 6 Vlad box.Steps to Reproduce
Set the
vlad_os
tocentos67
in the Vlad settings filevlad_guts/vlad_settings.yml
vagrant up
vagrant ssh
At the command line check the status of the Apache daemon
Expected Result
The Apache daemon is running.
Actual Result
The Apache daemon is not running. This is what I see:
I also get this output from vagrant, which indicates the vlad
local_up_services
playbook fails.I've tried running this ansible playbook manually, but it doesn't work, even though I can ssh to the server manually. This works:
This fails: