Re: [Spacewalk-list] Integrating Space Walk with Configuration Management

2016-02-22 Thread Thomas Foster
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  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  > 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 :
>> >
>> > 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@redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list
>
___
Spacewalk-list mailing list
Spacewalk-list@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list

Re: [Spacewalk-list] Integrating Space Walk with Configuration Management

2016-02-22 Thread Zeal Vora
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 
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 :
> >
> > 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@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list

Re: [Spacewalk-list] Integrating Space Walk with Configuration Management

2016-02-22 Thread Robert Paschedag
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 :
>
> 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@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list

[Spacewalk-list] Integrating Space Walk with Configuration Management

2016-02-21 Thread Zeal Vora
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@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list