文件操作 - ansible.cfg
返回文件管理
返回主菜单
删除本文件
文件: /etc/ansible/ansible.cfg
编辑文件内容
# Since Ansible 2.12 (core): # To generate an example config file (a "disabled" one with all default settings, commented out): # $ ansible-config init --disabled > ansible.cfg # # Also you can now have a more complete file by including existing plugins: # ansible-config init --disabled -t all > ansible.cfg # For previous versions of Ansible you can check for examples in the 'stable' branches of each version # Note that this file was always incomplete and lagging changes to configuration settings # for example, for 2.9: https://github.com/ansible/ansible/blob/stable-2.9/examples/ansible.cfg
修改文件时间
将文件时间修改为当前时间的前一年
删除文件