.. Ansible模块 FileName: module.rst Author: Fasion Chan Created: 2018-09-17 20:41:04 @contact: fasionchan@gmail.com @version: $Id$ Description: Changelog: .. meta:: :keywords: ansible模块, ansible modules =========== Ansible模块 =========== 模块示例——获取机器名: .. literalinclude:: /_src/maintenance/automation/tools/ansible/modules/hostname.py :caption: hostname.py :name: maintenance/automation/tools/ansible/modules/hostname.py :language: py :lines: 15- :linenos: .. comments comment something out below