fujitsu / fujitsu-ansible-irmc-integration

The Fujitsu Software Serverview Ansible iRMC Integration features modules and playbooks to access and manage Fujitsu PRIMERGY servers via iRMC.
GNU General Public License v3.0
34 stars 6 forks source link
bare-metal fujitsu irmc out-of-band primergy python servermanagement

Manage Fujitsu PRIMERGY servers via iRMC

Fujitsu PRIMERGY have been integrated into Fsas Technologies Inc. from April 1, 2024, and the notation will be changed sequentially. Please note Fujitsu notation may be remained in some cases.

The Fujitsu Software Serverview Ansible iRMC Integration features modules to access and manage Fujitsu PRIMERGY servers via iRMC.

Table of Contents

  1. Overview
  2. Requirements
  3. Getting Started
  4. Usage
  5. Modules
  6. Playbooks
  7. Change log
  8. License
  9. Authors

Overview

These modules and examples are intended to provide easy-to-follow and understandable solutions to manage Fujitsu PRIMERY server settings via iRMC.

Requirements

Getting started

Usage

inventory

Write the IP address and credentials of the target node in the iRMC_gruop group of the inventory.ini file:

[iRMC_group]
10.0.0.1 irmc_user=<username> irmc_password=<password>
10.0.0.2 irmc_user=<username> irmc_password=<password>

group_vars

Set variables that are common to all target nodes into group_vars.

For example, if the target node is operated with a self-signed certificate, validate_certificate must be set to false. Please set the following in gruop_vars/all (or group_vars/iRMC_group):

---
# Note: set validate_certificate to false for self-signed certificate
validate_certificate: false

run playbook

The library and module_utils folders are only auto-detected by Ansible if they are in the same directory as the playbook.yml file.

If the playbook is located in a folder other than the root folder (e.g. ./examples folder), need to specify the path to library and module_utiles. For example, if you are using the ansible.cfg file, please include the following: For example, write ansible.cfg file as follows:

[defaults]
library = ./library
module_utils = ./module_utils

With this setting, playbooks other than the root folder can also be executed:

ansible-playbook -i inventory.ini ./examples/irmc_facts_examples.yml --tags get

Modules

The following modules are part of this project:

For details please refer to the Module Documentation

Playbooks

The following playbooks are part of this package to demonstrate the usage of the modules:

The following playbooks are part of this package to demonstrate the solution for common bare-metal-server provisioning tasks:

Change log

License

Fsas Technologies Inc.
Copyright 2018-2024 Fsas Technologies Inc.

GNU General Public License v3.0+ (see LICENSE.md or https://www.gnu.org/licenses/gpl-3.0.txt)

Authors