文件操作 - Set_IP_MGNT_info.yaml
返回文件管理
返回主菜单
删除本文件
文件: /usr/lib/python3.12/site-packages/ansible_collections/cisco/meraki/playbooks/Set_IP_MGNT_info.yaml
编辑文件内容
--- - hosts: localhost gather_facts: false tasks: - name: Change management information cisco.meraki.devices_management_interface: state: present serial: XXXX-XXXX-XXXX wan1: staticDns: - 192.168.20.2 - 8.8.8.8 staticGatewayIp: 192.168.20.1 staticIp: 192.168.20.181 staticSubnetMask: 255.255.255.0 usingStaticIp: true
修改文件时间
将文件时间修改为当前时间的前一年
删除文件