Il sito funziona meglio con JavaScript.
Home
Esplora
Aiuto
Registrati
Accedi
ka
/
ansible-role-buildbot
Segui
1
Vota
0
Forka
0
Codice
Problemi
0
Pull Requests
0
Rilasci
0
Wiki
Attività
Sfoglia il codice sorgente
local facts with role_name
covid-videoplattform
Markus Katharina Brechtel
4 anni fa
parent
5f788b10ef
commit
025bc79af0
2 ha cambiato i file
con
1 aggiunte
e
3 eliminazioni
Visualizzazione separata
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
tasks/local_facts.yaml
+0
-2
vars/main.yaml
+ 1
- 1
tasks/local_facts.yaml
Vedi File
@@ -8,7 +8,7 @@
- name: set ansible local fact
copy:
content: "{{_local_facts|to_json}}"
dest: /etc/ansible/facts.d/{{
_local_facts
_name}}.fact
dest: /etc/ansible/facts.d/{{
role
_name}}.fact
register: _local_facts_set
- name: Gathering Facts
+ 0
- 2
vars/main.yaml
Vedi File
@@ -1,6 +1,4 @@
---
_local_facts_name: buildbot
_local_facts:
database_password: "{% if not ansible_local.buildbot.database_password is defined %}{{ lookup('password', '/dev/null length=16 chars=ascii_letters') }}{% else %}{{ ansible_local.buildbot.database_password }}{% endif %}"
Write
Preview
Loading…
Annulla
Salva