|
@@ -5,10 +5,12 @@ |
|
|
path: /etc/ansible/facts.d |
|
|
path: /etc/ansible/facts.d |
|
|
state: directory |
|
|
state: directory |
|
|
|
|
|
|
|
|
- name: set ansible local fact for gitea |
|
|
|
|
|
|
|
|
- name: set ansible local fact |
|
|
copy: |
|
|
copy: |
|
|
content: "{{_gitea_local_facts|to_json}}" |
|
|
|
|
|
dest: /etc/ansible/facts.d/gitea.fact |
|
|
|
|
|
|
|
|
content: "{{_local_facts|to_json}}" |
|
|
|
|
|
dest: /etc/ansible/facts.d/{{role_name}}.fact |
|
|
|
|
|
register: _local_facts_set |
|
|
|
|
|
|
|
|
- name: Gathering Facts |
|
|
- name: Gathering Facts |
|
|
setup: |
|
|
setup: |
|
|
|
|
|
when: _local_facts_set.changed |