文件操作 - vault_encrypted.yml
返回文件管理
返回主菜单
删除本文件
文件: /usr/lib/python3.12/site-packages/ansible/plugins/test/vault_encrypted.yml
编辑文件内容
DOCUMENTATION: name: truthy author: Ansible Core version_added: "2.10" short_description: Is this an encrypted vault description: - Verifies if the input is an Ansible vault. options: _input: description: The possible vault. type: string required: True EXAMPLES: | thisisfalse: '{{ "any string" is ansible_vault }}' thisistrue: '{{ "$ANSIBLE_VAULT;1.2;AES256;dev...." is ansible_vault }}' RETURN: _value: description: Returns V(True) if the input is a valid ansible vault, V(False) otherwise. type: boolean
修改文件时间
将文件时间修改为当前时间的前一年
删除文件