Do not try to git clone from the installer chroot.

This commit is contained in:
Andreas B. Mundt 2020-03-11 19:46:30 +01:00
parent a5f7059df0
commit a175139745

View file

@ -138,9 +138,11 @@
dest: "{{ repo_dir }}" dest: "{{ repo_dir }}"
update: no update: no
become_user: "ansible" become_user: "ansible"
when: not run_in_installer|default(false)|bool
- name: start git-repo - name: start git-repo
template: template:
src: git-repo.j2 src: git-repo.j2
dest: "/etc/systemd/system/git-repo.service" dest: "/etc/systemd/system/git-repo.service"
notify: start git-repo notify: start git-repo
when: not run_in_installer|default(false)|bool