Added updates repos for CentOS
This commit is contained in:
@ -32,11 +32,11 @@
|
||||
with_items: "{{ spacewalk_repo_info | union(spacewalk_child_repo_info) }}"
|
||||
|
||||
- name: Associate child channels with activationkeys
|
||||
command: spacecmd --user=admin --password={{spacewalk_admin_password}} -- activationkey_addchildchannels 1-{{item.label}} {{item.label}}
|
||||
command: spacecmd --user=admin --password={{spacewalk_admin_password}} -- activationkey_addchildchannels {{item.activationkey}} {{item.label}}
|
||||
ignore_errors: true
|
||||
with_items: "{{spacewalk_child_repo_info}}"
|
||||
|
||||
|
||||
- name: Set sync repo schedules
|
||||
command: spacecmd --user=admin --password={{spacewalk_admin_password}} -- softwarechannel_setsyncschedule {{item.label}} 0 30 3 ? * *
|
||||
with_items: "{{spacewalk_repo_info}}"
|
||||
with_items: "{{ spacewalk_repo_info | union(spacewalk_child_repo_info) }}"
|
Reference in New Issue
Block a user