Browse Source

„tasks/local_facts.yaml“ löschen

master
ka 3 years ago
parent
commit
5ee0817265
1 changed files with 0 additions and 17 deletions
  1. +0
    -17
      tasks/local_facts.yaml

+ 0
- 17
tasks/local_facts.yaml View File

@@ -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…
Cancel
Save