mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-05-02 14:30:45 +08:00
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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user