---
# tomcat7 role
- name: install tomcat7 from rhel-x86_64-server-6-datacenter-tomcat-grid-apps
package:
name: apache-tomcat-7.0.81
when: ansible_distribution_major_version == "6"
ignore_errors: yes
state: present
# tomcat7 role
- name: install tomcat7 from rhel-x86_64-server-7-datacenter-tomcat-grid-apps
package:
name: apache-tomcat-7.0.76
when: ansible_distribution_major_version == "7"
ignore_errors: yes
state: present
TASK [tomcat7 : install tomcat7 from rhel-x86_64-server-6-datacenter-tomcat-grid-apps] ******************************************************************************************************************************************************
Friday 24 July 2020 11:13:06 -0400 (0:00:01.013) 0:05:50.522 ***********
fatal: [hsdm0402]: FAILED! => {"changed": false, "msg": "Unsupported parameters for (yum) module: ignore_errors, when Supported parameters include: allow_downgrade, bugfix, conf_file, disable_gpg_check, disable_plugin, disablerepo, enable_plugin, enablerepo, exclude, install_repoquery, installroot, list, name, security, skip_broken, state, update_cache, update_only, validate_certs"}
to retry, use: --limit @/opt/hd/sh/srv/ansible/development/axs8u3p/hadoop/site.retry