官术网_书友最值得收藏!

Changing the hostname

To keep things simple, I find it useful to set the hostname of a machine to something meaningful. To do so, we can use a very simple Ansible module called hostname:

- name: Ensure the hostname is the same of the inventory 
  hostname: 
    name: "{{ inventory_hostname }}" 
  become: True
主站蜘蛛池模板: 乌什县| 曲松县| 昂仁县| 大埔县| 商丘市| 东平县| 安阳县| 诸城市| 宜兴市| 突泉县| 彰化县| 手游| 前郭尔| 临夏县| 田林县| 广饶县| 嘉兴市| 册亨县| 蓬莱市| 定边县| 顺昌县| 蓬安县| 读书| 台前县| 广河县| 涟水县| 年辖:市辖区| 三台县| 姚安县| 鹤岗市| 曲沃县| 东港市| 义马市| 阜新市| 依兰县| 龙井市| 盱眙县| 武宁县| 始兴县| 南召县| 瓦房店市|