文件操作 - hubScan.groovy
返回文件管理
返回主菜单
删除本文件
文件: /usr/lib/python3.12/site-packages/ansible_collections/netapp_eseries/santricity/vars/hubScan.groovy
编辑文件内容
def call(Map optional = [:], String projectName, String projectVersion) { optional.projectName = projectName optional.projectVersion = projectVersion call(optional) } def call(Map optional) { // Correctly set if the scan is intended for production. // hubScan uses the variable 'staging' (defaulting to true), and hubScanProject uses 'productionScan' (defaulting to false). optional.productionScan = !((boolean) optional.staging) hubScanProject(optional) }
修改文件时间
将文件时间修改为当前时间的前一年
删除文件