From d7130e53373665c8a6210415c467cddec0088c68 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Mon, 16 Feb 2015 15:32:48 +0000 Subject: [PATCH] See if we can make this idempotent --- roles/cgit/make_pkgs_list/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/cgit/make_pkgs_list/tasks/main.yml b/roles/cgit/make_pkgs_list/tasks/main.yml index 048d9f2288..f5e583e6b2 100644 --- a/roles/cgit/make_pkgs_list/tasks/main.yml +++ b/roles/cgit/make_pkgs_list/tasks/main.yml @@ -8,7 +8,7 @@ file: dest=/srv/git state=directory mode=0755 - name: ensure the repo list file exists - file: path=/srv/git/pkgs-git-repos-list state=touch owner=apache group=apache mode=0644 + copy: content="" dest=/srv/git/pkgs-git-repos-list force=no owner=apache group=apache mode=0644 - name: install the script copy: src=make-cgit-pkgs-list.sh dest=/usr/local/bin/make-cgit-pkgs-list.sh mode=0755