ThinkChat🤖让你学习和工作更高效,注册即送10W Token,即刻开启你的AI之旅 广告
~~~ - name: reconfigure /etc/hostname lineinfile: path: /etc/hostname regexp: "^.*" line: "{{ hostname }}" backrefs: true when: ansible_distribution_major_version == "7" ~~~