Note I can't speak to xcat-invenntory, but the upcoming confluent release has 
some definition of ansible integration.

In confluent 3.2, a deployment profile can have scripts executed directly on 
nodes (basically the same as postscripts):
/var/lib/confluent/public/os/<profilename>/scripts/firstboot.d
/var/lib/confluent/public/os/<profilename>/scripts/post.d

Additionally, playbooks may be remotely triggered at points of the deployment:
/var/lib/confluent/public/os/<profilename>/ansible/firstboot.d
/var/lib/confluent/public/os/<profilename>/ansible/post.d
The 'hosts' field will be specifically whatever node that enters that phase. 
The play will be executed as the confluent user on the deployment server, 
targeting the deploying server (with a separate automation user key that you 
must opt into, since confluent isn't allowed to read user's private keys).

Also, if pertinent, the corresponding release of confluent genesis has enough 
python to be targeted by ansible plays.  It has 'onboot' scripts and ansible 
plays supported. However, it's far more optional in confluent (emphasis on 
standby power discovery, PXE discovery if needed can be done during the PXE 
attempt, and the 'configbmc' script if needed should also work as 'pre.d' 
script for an installing system, to roll most genesis actions into the OS 
installers instead of requiring genesis to boot first.

That is a specific interpretation of 'ansible support' and I welcome more 
requests (e.g. for confluent to provide facts and/or a module to use something 
in lieu of cmdline.



________________________________
From: James Goebel <jkgoe...@bu.edu>
Sent: Friday, May 14, 2021 11:58 AM
To: xcat-user@lists.sourceforge.net <xcat-user@lists.sourceforge.net>
Subject: [External] [xcat-user] ability to integrate with Ansible (Coming soon)

On the xcat-inventory github page there is the suggestion that Ansible 
integration is planned. Has there been any progress on this?

https://github.com/xcat2/xcat-inventory
_______________________________________________
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to