changed httpd name var to rely on OS
now using a dictionary with OS family as key to get the
correct name of the http daemon for Debian/RedHat.
become: yes
- name: start httpd
- service: name=httpd state=started
+ service: name={{ httpd_name[ansible_os_family] }} state=started
become: yes
- name: restart httpd
- service: name=httpd state=restarted
+ service: name={{ httpd_name[ansible_os_family] }} state=restarted
become: yes
