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

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
主站蜘蛛池模板: 泰兴市| 新蔡县| 巴中市| 台北市| 奇台县| 加查县| 辰溪县| 五莲县| 福清市| 历史| 北碚区| 泰来县| 罗平县| 青阳县| 嘉禾县| 天镇县| 朝阳区| 佛山市| 临海市| 大理市| 泗阳县| 金乡县| 英吉沙县| 昌邑市| 方城县| 马龙县| 晴隆县| 澜沧| 建湖县| 石景山区| 汾西县| 利辛县| 铜陵市| 阿拉善右旗| 平罗县| 莎车县| 长寿区| 和田县| 全州县| 万盛区| 嘉祥县|