---
- name: Install httpd and required modules
  yum: name={{ item }} state=present
  with_items:
     - httpd
     - mod_ssl
  tags: httpd

- name: Copy default config files
  copy: src={{ item }} dest=/etc/httpd/conf.d/{{ item }}
  tags: httpd
  with_items:
    - 01_default.conf
    - 10_ajp.conf
  notify: restart httpd

- name: Copy the config file
  copy: src={{ item }} dest=/etc/httpd/conf/{{ item }}
  tags: httpd
  with_items:
    - httpd.conf
  notify: restart httpd

- name: Remove default conf files apache
  file: path=/etc/httpd/conf.d/{{ item }} state=absent
  with_items:
    - cruncher.conf
    - welcome.conf

- name: Remove default /var/www folders
  file: path=/var/www/{{ item }} state=absent
  with_items:
    - cgi-bin
    - error
    - html
    - icons

- name: enable httpd
  service: name={{ item }} enabled=yes
  with_items:
       - httpd
  notify:
    - restart httpd

---
- name: Install httpd and required modules
  yum: name={{ item }} state=present
  with_items:
     - httpd
     - mod_ssl
  tags: httpd

- name: Copy default config files
  copy: src={{ item }} dest=/etc/httpd/conf.d/{{ item }}
  tags: httpd
  with_items:
    - 01_default.conf
    - 10_ajp.conf
  notify: restart httpd

- name: Copy the config file
  copy: src={{ item }} dest=/etc/httpd/conf/{{ item }}
  tags: httpd
  with_items:
    - httpd.conf
  notify: restart httpd

- name: Remove default conf files apache
  file: path=/etc/httpd/conf.d/{{ item }} state=absent
  with_items:
    - welcome.conf

- name: Remove default /var/www folders
  file: path=/var/www/{{ item }} state=absent
  with_items:
    - cgi-bin
    - error
    - html
    - icons

- name: enable httpd
  service: name={{ item }} enabled=yes
  with_items:
       - httpd
  notify:
    - restart httpd

Remove removal of cruncher in tomcat.
Remove removal of cruncher in tomcat.

It does not exist on these boxes.