📜  ansible 创建文件夹 - 任何代码示例

📅  最后修改于: 2022-03-11 15:00:35.909000             🧑  作者: Mango

代码示例1
- name: Create a directory if it does not exist
  ansible.builtin.file:
    path: /etc/some_directory
    state: directory
    mode: '0755'