First commit for Spacewalk Ansible roles

This commit is contained in:
Fayaaz Ahmed committed 2016-04-15 15:25:47 +01:00
commit bef92a6564
32 files changed
+2021

No files matched your search

+4
View File
@@ -0,0 +1,4 @@
---
- 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"