qiyutech.message.warn module – 显示警告信息给用户

备注

This module is part of the qiyutech.message collection (version 1.0.0).

You might already have this collection installed if you are using the ansible package. It is not included in ansible-core. To check whether it is installed, run ansible-galaxy collection list.

To install it, use: ansible-galaxy collection install qiyutech.message.

To use it in a playbook, specify: qiyutech.message.warn.

1.0.0 新版功能: of qiyutech.message

Synopsis

  • 这个模块不执行任何动作, 仅仅返回输入的参数

备注

This module has a corresponding action plugin.

Parameters

Parameter

Comments

content

string

内容

提示的详细内容

title

string

标题

提示标题

Notes

备注

  • 这个模块支持 Windows 系统

See Also

参见

qiyutech.message.error

The official documentation on the qiyutech.message.error module.

qiyutech.message.info

The official documentation on the qiyutech.message.info module.

qiyutech.message.success

The official documentation on the qiyutech.message.success module.

qiyutech.message.warn

The official documentation on the qiyutech.message.warn module.

qiyutech.message.xterm

The official documentation on the qiyutech.message.xterm module.

Examples

- name: 安装 httpd
  qiyutech.message.warn:
    title: '提示'
    content: 'httpd 已安装'

Authors

  • dev