1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_weechat.git synced 2024-08-16 13:09:48 +02:00

clone private weechat repo

This commit is contained in:
L3D 2020-03-12 22:44:15 +01:00
parent 82181b0829
commit d8b52131c0
Signed by: l3d
GPG key ID: CD08445BFF4313D1

View file

@ -29,7 +29,15 @@
Please be aware, that this role do not commit or Please be aware, that this role do not commit or
push any local changes and you have to do this push any local changes and you have to do this
manually by yourself. manually by yourself.
when: when:
- weechat.custom_config.gen_ssh_key_pair | bool - weechat.custom_config.gen_ssh_key_pair | bool
- ssh_key_pair.changed - ssh_key_pair.changed
- name: clone private git repository
become_user: "{{ weechat.user }}"
become: true
git:
repo: "{{ weechat.custom_config.private_repo }}"
dest: "{{ weechat.home_directory }}"
version: master
when: not weechat.custom_config.private_repo | bool