qiyutech.software.check_used module – 检查目标目录是否安装过软件

备注

This module is part of the qiyutech.software 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.software.

To use it in a playbook, specify: qiyutech.software.check_used.

1.0.0 新版功能: of qiyutech.software

Synopsis

  • 检查指定的目录中是否已经使用过 qiyutech.software 相关的模块安装过软件

Parameters

Parameter

Comments

path

string / required

需要检查的目录

实际检查的文件为: {path}/meta/software.txt

Notes

备注

  • 这个模块支持 Windows 系统

Examples

- name: 检查目录是否已使用
  qiyutech.software.check_used:
    path: path/to/directory

Authors

  • dev