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:
parent
82181b0829
commit
d8b52131c0
1 changed files with 9 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue