copr-backend: do not enable tmpfs mock plugin on ppc64le builders
we do not have the same disk space available as on x86_64 builders
This commit is contained in:
parent
79ebeb098b
commit
e7aa36f169
1 changed files with 2 additions and 0 deletions
|
@ -14,12 +14,14 @@ config_opts['plugin_conf']['compress_logs_enable'] = True
|
|||
config_opts['plugin_conf']['compress_logs_opts'] = {}
|
||||
config_opts['plugin_conf']['compress_logs_opts']['command'] = "/usr/bin/gzip -9 --force"
|
||||
|
||||
{% if ansible_architecture == 'x86_64' %}
|
||||
config_opts['plugin_conf']['tmpfs_enable'] = True
|
||||
config_opts['plugin_conf']['tmpfs_opts'] = {}
|
||||
config_opts['plugin_conf']['tmpfs_opts']['required_ram_mb'] = 1024
|
||||
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
|
||||
{% endif %}
|
||||
|
||||
{% if ansible_distribution == 'Fedora' and ansible_distribution_major_version|int > 21 %}
|
||||
config_opts['yum_command'] = '/usr/bin/yum-deprecated'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue