[ansadmin@ip-192-168-0-126 playbooks]$ ansible-playbook 08_installhttpd.yml
PLAY [This script is about installing httpd in the web nodes] *******************************************************************************************************************************
TASK [Gathering Facts] **********************************************************************************************************************************************************************
ok: [192.168.0.175]
ok: [192.168.0.225]
TASK [yum] **********************************************************************************************************************************************************************************
fatal: [192.168.0.175]: FAILED! => {“changed”: false, “msg”: “Unsupported parameters for (yum) module: status Supported parameters include: allow_downgrade, autoremove, bugfix, conf_file, disable_excludes, disable_gpg_check, disable_plugin, disablerepo, download_dir, download_only, enable_plugin, enablerepo, exclude, install_repoquery, install_weak_deps, installroot, list, lock_timeout, name, releasever, security, skip_broken, state, update_cache, update_only, use_backend, validate_certs”}
fatal: [192.168.0.225]: FAILED! => {“changed”: false, “msg”: “Unsupported parameters for (yum) module: status Supported parameters include: allow_downgrade, autoremove, bugfix, conf_file, disable_excludes, disable_gpg_check, disable_plugin, disablerepo, download_dir, download_only, enable_plugin, enablerepo, exclude, install_repoquery, install_weak_deps, installroot, list, lock_timeout, name, releasever, security, skip_broken, state, update_cache, update_only, use_backend, validate_certs”}
PLAY RECAP **********************************************************************************************************************************************************************************
192.168.0.175 : ok=1 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0
192.168.0.225 : ok=1 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0
Ansible Script is :