netgen / vagrant-ansible-ezpublish

Vagrant setup with Ansible provisioner configured for running eZ Publish projects
https://netgen.io
MIT License
23 stars 12 forks source link

Enable apache on boot #29

Closed Mrkisha closed 7 years ago

Mrkisha commented 7 years ago

Little fix for apache to start on system boot.

emodric commented 7 years ago

Hi @Mrkisha! Doesn't apache already start on boot?

Mrkisha commented 7 years ago

It does not. Check ansible doc under enabled, that is how you make sure it will run on boot.

vranac commented 7 years ago

It should, either enabled or state should be present to ensure running on boot, but I will test and see

emodric commented 7 years ago

@Mrkisha I just tested the provision, and Apache is started both after the first provision and after boot.

Mrkisha commented 7 years ago

@emodric ok. I will keep for myself enabled=yes as I've seen it other playbooks have it as well.

emodric commented 7 years ago

@vranac I have no problem with merging this, if it can do no harm.

vranac commented 7 years ago

👍

emodric commented 7 years ago

Thanks @Mrkisha !