How to properly refer to a host from within a role?

前端 未结 0 2024
春和景丽
春和景丽 2020-12-05 04:28

I am currently using in defaults/main.yml:

myRoleName_host: "{{ ansible_host }}"

but some people feel we shouldn\'t use ansib

相关标签:
回答
  • 消灭零回复
提交回复
热议问题