瀏覽代碼

„tasks/local_facts.yaml“ löschen

master
ka 3 年之前
父節點
當前提交
5ee0817265
共有 1 個檔案被更改,包括 0 行新增17 行删除
  1. +0
    -17
      tasks/local_facts.yaml

+ 0
- 17
tasks/local_facts.yaml 查看文件

@@ -1,17 +0,0 @@
---

- name: ansible local facts directory
file:
path: /etc/ansible/facts.d
state: directory

- name: set ansible local fact
copy:
content: "{{_local_facts|to_json}}"
dest: /etc/ansible/facts.d/{{role_name}}.fact
mode: 0600
register: _local_facts_set

- name: Gathering Facts
setup:
when: _local_facts_set.changed

Loading…
取消
儲存