Discuss the method to create an empty file with Ansible
Discuss the method to create an empty file with Ansible
题目类型: 技术面试题
这是一道技术面试题,常见于澳洲IT公司面试中。
难度: medium
分类: DevOps, Configuration Management
标签: Ansible, File Module, Copy Module
参考答案摘要
Answer One practical approach is: Save an empty file in your project’s files/ directory. Use the copy module to copy it to the remote host. Alternatively, you can use the file module with state: touch...
本题提供 STAR 原则详细解答和技术解析,登录匠人学院学习中心即可查看完整答案。