Avoid cloning twice, once in the playbook once in the role

Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
This commit is contained in:
Pierre-Yves Chibon 2018-08-08 11:41:20 +02:00
parent 2b73af6397
commit cdba0c338c
2 changed files with 1 additions and 5 deletions

View file

@ -44,10 +44,6 @@
- import_tasks: "{{ handlers_path }}/restart_services.yml"
tasks:
- name: git clone the releng-automation playbook repo
git:
repo: "https://pagure.io/Fedora-Infra/loopabull-tasks.git"
dest: "/srv/loopabull-tasks/"
- name: ensure ~/.ssh dir exists
file:
path: "/home/root/.ssh/"

View file

@ -16,7 +16,7 @@
- name: clone the playbooks repo into playbooks dir
git:
repo: "https://pagure.io/Fedora-Infra/loopabull-tasks.git"
dest: "{{playbooks_dir}}"
dest: "/srv/loopabull-tasks/"
- name: Install the loopabull@.service template
copy: