文件操作 - test_vdoremove.yml
返回文件管理
返回主菜单
删除本文件
文件: /usr/share/doc/vdo/examples/ansible/test_vdoremove.yml
编辑文件内容
- hosts: vdoClients remote_user: username become: yes become_method: sudo connection: ssh gather_facts: yes tasks: - name: Remove VDO volume vdo1 vdo: name: vdo1 state: absent
修改文件时间
将文件时间修改为当前时间的前一年
删除文件