lxca_nodes – Custom module for lxca nodes inventory utility¶
New in version 2.8.
Parameters¶
Notes¶
Note
- Additional detail about pylxca can be found at https://github.com/lenovo/pylxca 
- Playbooks using these modules can be found at https://github.com/lenovo/ansible.lenovo-lxca 
- Check mode is not supported. 
Examples¶
# get all nodes info
- name: get nodes data from LXCA
  lxca_nodes:
    login_user: USERID
    login_password: Password
    auth_url: "https://10.243.15.168"
    command_options: nodes
# get specific nodes info by uuid
- name: get nodes data from LXCA
  lxca_nodes:
    login_user: USERID
    login_password: Password
    auth_url: "https://10.243.15.168"
    uuid: "3C737AA5E31640CE949B10C129A8B01F"
    command_options: nodes_by_uuid
# get specific nodes info by chassis uuid
- name: get nodes data from LXCA
  lxca_nodes:
    login_user: USERID
    login_password: Password
    auth_url: "https://10.243.15.168"
    chassis: "3C737AA5E31640CE949B10C129A8B01F"
    command_options: nodes_by_chassis_uuid
# get managed nodes
- name: get nodes data from LXCA
  lxca_nodes:
    login_user: USERID
    login_password: Password
    auth_url: "https://10.243.15.168"
    command_options: nodes_status_managed
# get unmanaged nodes
- name: get nodes data from LXCA
  lxca_nodes:
    login_user: USERID
    login_password: Password
    auth_url: "https://10.243.15.168"
    command_options: nodes_status_unmanaged
Return Values¶
Common return values are documented here, the following are the fields unique to this module:
Status¶
- This module is not guaranteed to have a backwards compatible interface. [preview] 
- This module is maintained by the Ansible Community. [community] 
Authors¶
- Naval Patel (@navalkp) 
- Prashant Bhosale (@prabhosa) 
Hint
If you notice any issues in this documentation, you can edit this document to improve it.
