Ansible Ignore_Unreachable is not working

无人久伴 提交于 2019-12-24 15:09:38

问题


Hoppy holidays all,

I am trying to create a job that runs a yum command on all of my servers in an environment. That part is complete however I am looking to make the job continue running even if I run into UNREACHABLE errors.

Here is my task:

- name: "remove {{ service_to_uninstall_name }} packages"
  yum:
    name: "{{ service_to_uninstall_name }}"
    state: absent
  ignore_unreachable: true
  ignore_errors: true

来源:https://stackoverflow.com/questions/53961158/ansible-ignore-unreachable-is-not-working

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!