Added updates repos for CentOS

This commit is contained in:
Fayaaz Ahmed
2016-04-25 11:06:06 +01:00
parent 040cbbefb2
commit de19339a7d
2 changed files with 8 additions and 4 deletions

View File

@ -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) }}"