From fb8d81317f4f80293d108ec0dc18d97feebd60e8 Mon Sep 17 00:00:00 2001 From: Fayaaz Ahmed Date: Fri, 15 Apr 2016 15:55:33 +0100 Subject: [PATCH] More instructions in readme --- README.md | 25 ++++++++++++++++++++----- 1 file changed, 20 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 8c15dae..f197ff5 100644 --- a/README.md +++ b/README.md @@ -1,15 +1,15 @@ Spacewalk playbooks and roles ============== -Install a full Spacewalk server on CentOS 7 and also adds: +Install a full Spacewalk server on CentOS 7 and also adds customizations: - CentOS 6 repo, channel and activation key (+epel) - CentOS 7 repo, channel and activation key(+epel) -- Ubuntu 14.04 repo, channel and activation key -- Ubuntu 12.04 repo, channel and activation key +- Ubuntu 14.04 repo, channel and activation key (and repo sync scripts) +- Ubuntu 12.04 repo, channel and activation key (and repo sync scripts) -Thanks to geerlingguy's iptables role, which is included here. +Thanks to geerlingguy's iptables role, which is included here to configure the firewall on the server. -To do: +####To do: - Add ubuntu support to client role - Update client role to automatically pick EPEL for activation key @@ -24,4 +24,19 @@ spacewalk ansible_ssh_host=XXX.XXX.XXX.XXX [spacewalk-clients] Client01 ansible_ssh_host=XXX.XXX.XXX.XXX Client02 ansible_ssh_host=XXX.XXX.XXX.XXX +``` + +###How to run: +####Server: +``` +ansible-playbook spacewalk.yml +``` + +The server initial setup will take a while to run - once this is done it will prompt you if you are ready. +At this point you should browse to the newly installed spacewalk instance in your browser and set up an admin username and password. +The prompt will ask for the password to continue. + +####Client: +``` +ansible-playbook spacewalk-clients.yml ``` \ No newline at end of file