[copr][dist-git] re-order tasks

This commit is contained in:
Valentin Gologuzov 2015-08-06 16:42:25 +02:00
parent ad5c0044b9
commit 56491afe27

View file

@ -1,9 +1,5 @@
- include: "mount_fs.yml"
- name: ensure git storage path exists
file: path="/var/lib/dist-git/git" state=directory group=packager mode=0775
#- file: path="/var/lib/dist-git/git/pkgs-git-repos-list" state=file group=packager
# - file: path="/var/lib/dist-git/git/rpms/" state=directory group=packager
- copy: src="dist-git-epel-7.repo" dest="/etc/yum.repos.d/"
@ -16,6 +12,11 @@
- dist-git-selinux
- copr-dist-git
- name: ensure git storage path exists
file: path="/var/lib/dist-git/git" state=directory group=packager mode=0775
#- file: path="/var/lib/dist-git/git/pkgs-git-repos-list" state=file group=packager
# - file: path="/var/lib/dist-git/git/rpms/" state=directory group=packager
- name: install packages which should be added as requirements
yum: state=present name={{ item }}
with_items: