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:
parent
2b73af6397
commit
cdba0c338c
2 changed files with 1 additions and 5 deletions
|
@ -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/"
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue