Sfoglia il codice sorgente

„tasks/local_facts.yaml“ löschen

master
ka 3 anni fa
parent
commit
5ee0817265
1 ha cambiato i file con 0 aggiunte e 17 eliminazioni
  1. +0
    -17
      tasks/local_facts.yaml

+ 0
- 17
tasks/local_facts.yaml Vedi 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…
Annulla
Salva