updated to fix various bugs

This commit is contained in:
Fayaaz Ahmed
2016-04-18 17:07:12 +01:00
parent fb8d81317f
commit af8349b591
5 changed files with 31 additions and 16 deletions

View File

@ -1,4 +1 @@
---
- name: register with spacewalk server
command: rhnreg_ks --serverUrl=http://{{ hostvars['spacewalk']['ansible_ssh_host'] }}/XMLRPC --activationkey=1-centos-{{ansible_distribution_major_version}}
when: ansible_distribution == "CentOS"