summaryrefslogtreecommitdiff
path: root/testing
diff options
context:
space:
mode:
authoranatoly techtonik <techtonik@gmail.com>2014-03-05 05:27:35 +0300
committeranatoly techtonik <techtonik@gmail.com>2014-03-05 05:27:35 +0300
commiteba5b1d5ae07ade81f6d89bfd9981f106d71899f (patch)
tree0e1277a2b5a288ddc1c666531d1c756325c6e5df /testing
parente58531f8076a06c5fb13e845fb8361ba3dbba09a (diff)
downloadscons-eba5b1d5ae07ade81f6d89bfd9981f106d71899f.tar.gz
buildbot.yml: Set .hgrc owner as botuser
Diffstat (limited to 'testing')
-rw-r--r--testing/buildbot.yml7
1 files changed, 6 insertions, 1 deletions
diff --git a/testing/buildbot.yml b/testing/buildbot.yml
index 85902151..9ae341aa 100644
--- a/testing/buildbot.yml
+++ b/testing/buildbot.yml
@@ -1,5 +1,10 @@
# Ansible playbook to setup buildbot instance
# http://scons.org/wiki/InstallingBuildbotSlaves
+#
+# Send questions to:
+#
+# anatoly techtonik <techtonik@gmail.com>
+#
---
# host is overridable with --extra-vars 'host=address'
- hosts: "{{ host | default('localhost') }}"
@@ -13,7 +18,7 @@
apt: pkg=mercurial
- name: create .hgrc if necessary
- command: touch {{ hgrc }} creates={{ hgrc }}
+ file: path={{ hgrc }} owner={{ botuser }} state=touch
- name: enable mercurial purge extension
ini_file: dest={{ hgrc }} backup=yes
section=extensions option=hgext.purge