server-config/roles/git-daemon/tasks/initvars.yml

10 lines
391 B
YAML
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
- name: Overriding default gitrepo if defined in domain.yml
set_fact: client_gitrepo="{{ ansible_local.domain.client_gitrepo }}"
when: "ansible_local.domain.client_gitrepo is defined"
- name: Overriding default gitbranch if defined in domain.yml
set_fact: client_gitbranch="{{ ansible_local.domain.client_gitbranch }}"
when: "ansible_local.domain.client_gitbranch is defined"