[Spacewalk-list] Integrating Space Walk with Configuration Management

Thomas Foster thomas.foster80 at gmail.com
Mon Feb 22 15:29:23 UTC 2016


Zeal,

Why don't you use role for post installation and create a shell script that
runs the role for each machine:

https://www.digitalocean.com/community/tutorials/how-to-use-ansible-roles-to-abstract-your-infrastructure-environment

On Mon, Feb 22, 2016 at 10:22 AM, Zeal Vora <zeal at freecharge.com> wrote:

> Thanks Robert.
>
> Post Installation script becomes difficult to write as in Ansbile there
> are so many ready made modules that are available so writing code becomes
> easier in it.
>
> So ideally, after deployment via PXE, running Ansible on the newely
> deployed machine is the ideal solution ?
>
>
> Cheers!
> Zeal
>
> On Mon, Feb 22, 2016 at 1:52 PM, Robert Paschedag <robert.paschedag at web.de
> > wrote:
>
>> Hi,
>>
>> Why don't you just create some "postinstall" script to your image
>> deployment to do that?
>>
>> In Suse, you can do this within autoyast.
>>
>> Regards
>> Robert
>> Am 22.02.2016 02:21 schrieb Zeal Vora <zeal at freecharge.com>:
>> >
>> > Hi
>> >
>> > We generally use Ansible for many things including Server Hardening and
>> Linux Hardening rules.
>> >
>> > I was wondering, if is use SpaceWalk for Deployments via PXE, doing a
>> Laptop Hardening ( Linux hardening ) does not seem to be possible.
>> >
>> > We then need to run Ansible to deploy the Linux Hardening rules on
>> those new machines.
>> >
>> > Is there any optimal way where whenever a new machine is provisioned ,
>> after PXE, Space Walk can automatically run the Linux Hardening Rules via
>> Ansible !
>> >
>> > If there is any better solution, any suggestions would be appreciated !
>> >
>> >
>> > Regards,
>> > Zeal
>>
>
>
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20160222/1f2c8857/attachment.htm>


More information about the Spacewalk-list mailing list