GithubHelp home page GithubHelp logo

leogallego / ansible-role-satellite-registration-command Goto Github PK

View Code? Open in Web Editor NEW

This project forked from andrewlinuxadmin/ansible-role-satellite-registration-command

0.0 0.0 0.0 20 KB

License: GNU General Public License v3.0

ansible-role-satellite-registration-command's Introduction

Ansible role for Satellite Registration Command

This Ansible role gets a Registration Command via Satellite API.

Description:

Registration Command feature is available from Satellite 6.10 and replaces the deprecated bootstrap.py. This functionality generates a bash command to register a host when run in your shell. This Ansible role requests via the Satellite API the generation of this command for later execution on the hosts that need to be registered in the Satellite.

Variables:

Satellite connection variables :

Role variables Type Mandatory? Default
satellite_registration_command_url String Yes
satellite_registration_command_username String Yes
satellite_registration_command_password String Yes
satellite_registration_command_force_basic_auth Boolean No true
satellite_registration_command_validate_certs Boolean No false

Registration Command variables:

Registration Command fields Role variables Type Mandatory? Default
Organization satellite_registration_command_organization OR satellite_registration_command_organization_id String Yes
Location satellite_registration_command_location OR satellite_registration_command_location_id String Yes
Host group satellite_registration_command_hostgroup OR satellite_registration_command_hostgroup_id String Yes
Operating system satellite_registration_command_operatingsystem OR satellite_registration_command_operatingsystemp_id String No
Lifecycle environment satellite_registration_command_lifecycle_environment OR satellite_registration_command_lifecycle_environment_id String No
Capsule satellite_registration_command_smart_proxy_id String No
Activation Keys satellite_registration_command_activation_keys Array Yes if not present in the chosen host group configuration
Setup Insights satellite_registration_command_setup_insights Boolean No true
Setup Remote Execution satellite_registration_command_setup_remote_execution Boolean No true
Insecure satellite_registration_command_insecure Boolean No true
Token Life Time satellite_registration_command_token_life_time Integer No 4
Update Packages satellite_registration_command_update_packages Boolean No false
Repository satellite_registration_command_repo String No
Repository GPG key URL satellite_registration_command_repo_gpg_key_url String No
Force satellite_registration_command_force Boolean No false
Ignore errors satellite_registration_command_ignore_subman_errors Boolean No false

Example:

See satellite_register_example.yaml playbook.

References:

Satellite documentation - Managing Hosts

https://access.redhat.com/documentation/en-us/red_hat_satellite/6.10/html-single/managing_hosts/index#registering-a-host_managing-hosts

Satellite documentation - API Guide

https://access.redhat.com/documentation/en-us/red_hat_satellite/6.10/html-single/api_guide

Satellite documentation - APIDOC

https://<your-satellite-server>/apidoc/v2/registration_commands/create.html

ansible-role-satellite-registration-command's People

Contributors

andrewlinuxadmin avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.