summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiroslav Suchý <msuchy@redhat.com>2016-06-22 14:32:23 +0200
committerMiroslav Suchý <msuchy@redhat.com>2016-06-22 14:32:31 +0200
commit514bf1e9d0ee22d79dedac8f2f44c710f9970e33 (patch)
tree8e6a458d53b7ffdbb36bba59b284cc0d21b8989a
parent1fe43e75e018786b7a24d8dbb80317942b97c8f8 (diff)
downloadansible-514bf1e9d0ee22d79dedac8f2f44c710f9970e33.tar.gz
ansible-514bf1e9d0ee22d79dedac8f2f44c710f9970e33.tar.xz
ansible-514bf1e9d0ee22d79dedac8f2f44c710f9970e33.zip
1348956 - cleanup after build
This is needed since we allow consequtive builds
-rw-r--r--roles/copr/backend/files/provision/files/mock/site-defaults.cfg3
-rw-r--r--roles/copr/backend/templates/copr-be.conf.j22
2 files changed, 1 insertions, 4 deletions
diff --git a/roles/copr/backend/files/provision/files/mock/site-defaults.cfg b/roles/copr/backend/files/provision/files/mock/site-defaults.cfg
index 030b64660..d8491025e 100644
--- a/roles/copr/backend/files/provision/files/mock/site-defaults.cfg
+++ b/roles/copr/backend/files/provision/files/mock/site-defaults.cfg
@@ -21,9 +21,6 @@ config_opts['plugin_conf']['tmpfs_opts']['max_fs_size'] = '75g'
config_opts['plugin_conf']['tmpfs_opts']['mode'] = '0755'
config_opts['plugin_conf']['tmpfs_opts']['keep_mounted'] = False
-config_opts['cleanup_on_success'] = 0
-config_opts['cleanup_on_failure'] = 0
-
{% if ansible_distribution == 'Fedora' and ansible_distribution_major_version|int > 21 %}
config_opts['yum_command'] = '/usr/bin/yum-deprecated'
{% endif %}
diff --git a/roles/copr/backend/templates/copr-be.conf.j2 b/roles/copr/backend/templates/copr-be.conf.j2
index 79c872689..6a3196016 100644
--- a/roles/copr/backend/templates/copr-be.conf.j2
+++ b/roles/copr/backend/templates/copr-be.conf.j2
@@ -30,7 +30,7 @@ frontend_auth={{ copr_backend_password }}
# vm_terminating_timeout=600 - when machine was terminated and terminate PB did not finish within this number of second, we will run the PB once again.
group0_name=PC
-group0_archs=i386,x86_64
+group0_archs=i386,x86_64,i586
# new OS cloud, VMM based backend
group0_spawn_playbook=/home/copr/provision/builderpb_nova.yml