Re: Ansible modules for z/VM Linux virtual machine management

2023-09-19 Thread Philip Tully
We haven't had time to try the new AAP, but it's on our TODO stack, and
this would be ane addon for that testing.
Phil
" virtus in medio stat "
"Perfect is the enemy of the Good"


On Tue, Sep 19, 2023 at 9:20 PM Robert J Brenneman 
wrote:

> Yea Phil I will eventually get it added there once i jump through more
> hoops: cicd pipeline, changelogs, etc, etc
>
> I was gonna see if I could do a writeup of using it via AAP on Z some time
> in the next month or two, if yall think thatd be useful.
>
> On Tue, Sep 19, 2023 at 21:10 Philip Tully  wrote:
>
> > Great news, this is a great add-on to the Tech Preview of Ansible
> > Automation Platform (formerly Ansible Tower) for RHEL on Z.
> >
> >
> https://community.ibm.com/community/user/ibmz-and-linuxone/blogs/daniel-jast1/2023/06/27/ansible-on-ibm-z-tech-preview
> >
> > regards,  Phil
> > " virtus in medio stat "
> > "Perfect is the enemy of the Good"
> >
> >
> > On Tue, Sep 19, 2023 at 4:19 PM Robert J Brenneman 
> > wrote:
> >
> > > Greetings All,
> > >
> > > I've just gotten permission from the powers that be to release some
> tools
> > > I've been using internally on my team for a couple months now. These
> are
> > a
> > > set of Ansible modules that you can use to create/destroy and modify
> > > virtual machines on z/VM via SMAPI.
> > >
> > > Yes - I am aware of everyones feelings regarding SMAPI. No there were
> not
> > > any better alternatives to do what I needed to do easily within the
> time
> > I
> > > had to do it.
> > >
> > >
> > > The good news is though: it actually works! Using these modules and
> > > playbooks you can spawn an entire openshift cluster ( some assembly
> > > required, I'm not providing a load balancer, dns updates, bastion host,
> > > firewall, you're all clever people I dont have to hold your hands on
> all
> > > that )
> > >
> > > The base repo is at https://github.com/IBM/zvm_ansible
> > >
> > > thats where all the ansible playbook samples are with a sample
> inventory
> > > file. The test_ examples show cases of creating, modifying, and
> deleting
> > > virtual machines, as well as adding, cloning, and removing minidisks.
> > >
> > > You will also need the actual modules from
> > > https://github.com/IBM/zvm_ansible_collection
> > >
> > > You'll have to pull down the module code and build a galaxy tarball and
> > > install it on your machine you're running the ansible playbooks from -
> > > theres instructions in the readme.
> > >
> > > At the moment its just me maintaining these. They work for my usecases,
> > and
> > > when you find horrible bugs ( you will ) open an issue and I will do my
> > > best. This aint my day job, but I'm working to assemble a crack team to
> > > make it their day jobs. The ultimate goal is to eventually get the
> > modules
> > > accepted into the Red Hat Ansible Certified Content for IBM Z (
> > > https://github.com/ansible-collections/ibm_zos_core ), so it will
> become
> > > supported by both IBM and RH.
> > >
> > > Thats not gonna happen this week though - so for now, please have a
> peek
> > > and let me know if you think this will be useful to you and yours.
> > >
> > > Happy Ansibiling!
> > >
> > > --
> > > Jay Brenneman
> > >
> > > --
> > > For LINUX-390 subscribe / signoff / archive access instructions,
> > > send email to lists...@vm.marist.edu with the message: INFO LINUX-390
> or
> > > visit
> > > http://www2.marist.edu/htbin/wlvindex?LINUX-390
> > >
> >
> > --
> > For LINUX-390 subscribe / signoff / archive access instructions,
> > send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or
> > visit
> > http://www2.marist.edu/htbin/wlvindex?LINUX-390
> >
>
> --
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or
> visit
> http://www2.marist.edu/htbin/wlvindex?LINUX-390
>

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www2.marist.edu/htbin/wlvindex?LINUX-390


Re: Ansible modules for z/VM Linux virtual machine management

2023-09-19 Thread Robert J Brenneman
Yea Phil I will eventually get it added there once i jump through more
hoops: cicd pipeline, changelogs, etc, etc

I was gonna see if I could do a writeup of using it via AAP on Z some time
in the next month or two, if yall think thatd be useful.

On Tue, Sep 19, 2023 at 21:10 Philip Tully  wrote:

> Great news, this is a great add-on to the Tech Preview of Ansible
> Automation Platform (formerly Ansible Tower) for RHEL on Z.
>
> https://community.ibm.com/community/user/ibmz-and-linuxone/blogs/daniel-jast1/2023/06/27/ansible-on-ibm-z-tech-preview
>
> regards,  Phil
> " virtus in medio stat "
> "Perfect is the enemy of the Good"
>
>
> On Tue, Sep 19, 2023 at 4:19 PM Robert J Brenneman 
> wrote:
>
> > Greetings All,
> >
> > I've just gotten permission from the powers that be to release some tools
> > I've been using internally on my team for a couple months now. These are
> a
> > set of Ansible modules that you can use to create/destroy and modify
> > virtual machines on z/VM via SMAPI.
> >
> > Yes - I am aware of everyones feelings regarding SMAPI. No there were not
> > any better alternatives to do what I needed to do easily within the time
> I
> > had to do it.
> >
> >
> > The good news is though: it actually works! Using these modules and
> > playbooks you can spawn an entire openshift cluster ( some assembly
> > required, I'm not providing a load balancer, dns updates, bastion host,
> > firewall, you're all clever people I dont have to hold your hands on all
> > that )
> >
> > The base repo is at https://github.com/IBM/zvm_ansible
> >
> > thats where all the ansible playbook samples are with a sample inventory
> > file. The test_ examples show cases of creating, modifying, and deleting
> > virtual machines, as well as adding, cloning, and removing minidisks.
> >
> > You will also need the actual modules from
> > https://github.com/IBM/zvm_ansible_collection
> >
> > You'll have to pull down the module code and build a galaxy tarball and
> > install it on your machine you're running the ansible playbooks from -
> > theres instructions in the readme.
> >
> > At the moment its just me maintaining these. They work for my usecases,
> and
> > when you find horrible bugs ( you will ) open an issue and I will do my
> > best. This aint my day job, but I'm working to assemble a crack team to
> > make it their day jobs. The ultimate goal is to eventually get the
> modules
> > accepted into the Red Hat Ansible Certified Content for IBM Z (
> > https://github.com/ansible-collections/ibm_zos_core ), so it will become
> > supported by both IBM and RH.
> >
> > Thats not gonna happen this week though - so for now, please have a peek
> > and let me know if you think this will be useful to you and yours.
> >
> > Happy Ansibiling!
> >
> > --
> > Jay Brenneman
> >
> > --
> > For LINUX-390 subscribe / signoff / archive access instructions,
> > send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or
> > visit
> > http://www2.marist.edu/htbin/wlvindex?LINUX-390
> >
>
> --
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or
> visit
> http://www2.marist.edu/htbin/wlvindex?LINUX-390
>

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www2.marist.edu/htbin/wlvindex?LINUX-390


Re: Ansible modules for z/VM Linux virtual machine management

2023-09-19 Thread Philip Tully
Great news, this is a great add-on to the Tech Preview of Ansible
Automation Platform (formerly Ansible Tower) for RHEL on Z.
https://community.ibm.com/community/user/ibmz-and-linuxone/blogs/daniel-jast1/2023/06/27/ansible-on-ibm-z-tech-preview

regards,  Phil
" virtus in medio stat "
"Perfect is the enemy of the Good"


On Tue, Sep 19, 2023 at 4:19 PM Robert J Brenneman 
wrote:

> Greetings All,
>
> I've just gotten permission from the powers that be to release some tools
> I've been using internally on my team for a couple months now. These are a
> set of Ansible modules that you can use to create/destroy and modify
> virtual machines on z/VM via SMAPI.
>
> Yes - I am aware of everyones feelings regarding SMAPI. No there were not
> any better alternatives to do what I needed to do easily within the time I
> had to do it.
>
>
> The good news is though: it actually works! Using these modules and
> playbooks you can spawn an entire openshift cluster ( some assembly
> required, I'm not providing a load balancer, dns updates, bastion host,
> firewall, you're all clever people I dont have to hold your hands on all
> that )
>
> The base repo is at https://github.com/IBM/zvm_ansible
>
> thats where all the ansible playbook samples are with a sample inventory
> file. The test_ examples show cases of creating, modifying, and deleting
> virtual machines, as well as adding, cloning, and removing minidisks.
>
> You will also need the actual modules from
> https://github.com/IBM/zvm_ansible_collection
>
> You'll have to pull down the module code and build a galaxy tarball and
> install it on your machine you're running the ansible playbooks from -
> theres instructions in the readme.
>
> At the moment its just me maintaining these. They work for my usecases, and
> when you find horrible bugs ( you will ) open an issue and I will do my
> best. This aint my day job, but I'm working to assemble a crack team to
> make it their day jobs. The ultimate goal is to eventually get the modules
> accepted into the Red Hat Ansible Certified Content for IBM Z (
> https://github.com/ansible-collections/ibm_zos_core ), so it will become
> supported by both IBM and RH.
>
> Thats not gonna happen this week though - so for now, please have a peek
> and let me know if you think this will be useful to you and yours.
>
> Happy Ansibiling!
>
> --
> Jay Brenneman
>
> --
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or
> visit
> http://www2.marist.edu/htbin/wlvindex?LINUX-390
>

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www2.marist.edu/htbin/wlvindex?LINUX-390