mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-04-24 10:31:56 +08:00
Don't add arm staging hosts to createrepo as they don't have nfs mount
This commit is contained in:
@@ -81,7 +81,7 @@ select now() as time, 'adding staging host {{ host }}' as msg;
|
||||
insert into users (name, usertype, status) values ('{{ host }}', 1, 0);
|
||||
insert into host (user_id, name, arches) values (
|
||||
(select id from users where name='{{host}}'), '{{host}}', 'armhfp');
|
||||
{% for channel in [ 'default', 'createrepo', 'maven', 'appliance', 'livecd', 'vm', 'secure-boot', 'compose', 'eclipse', 'images', 'image'] %}
|
||||
{% for channel in [ 'default', 'appliance', 'livecd', 'vm', 'secure-boot', 'compose', 'eclipse', 'images', 'image'] %}
|
||||
insert into host_channels (host_id, channel_id) values (
|
||||
(select id from host where name='{{host}}'), (select id from channels where name='{{channel}}'));
|
||||
{% endfor %}
|
||||
|
||||
Reference in New Issue
Block a user