文件操作 - my_device_portal.yml
返回文件管理
返回主菜单
删除本文件
文件: /usr/lib/python3.12/site-packages/ansible_collections/cisco/ise/playbooks/my_device_portal.yml
编辑文件内容
--- - hosts: ise_servers gather_facts: false tasks: - name: Create cisco.ise.my_device_portal: ise_hostname: "{{ ise_hostname }}" ise_username: "{{ ise_username }}" ise_password: "{{ ise_password }}" ise_verify: "{{ ise_verify }}" state: present name: Devices Portal description: Test portal used by developers to register and manage their personal devices portalType: MYDEVICE register: my_device_portal - name: Print ansible.builtin.debug: var: my_device_portal
修改文件时间
将文件时间修改为当前时间的前一年
删除文件