Giter Site home page Giter Site logo

kirikae / ansible-satellite6-install Goto Github PK

View Code? Open in Web Editor NEW

This project forked from gswallow/ansible-satellite6-install

0.0 1.0 0.0 62 KB

Ansible role to install and configure Red Hat Satellite 6.X.

License: MIT License

Python 5.13% Ruby 89.76% Shell 5.11%

ansible-satellite6-install's Introduction

Ansible Satellite 6 Install

Role to install and do basic configuration of Red Hat Satellite 6.X. Really, it handles Satellite Server 6.3 and probably up.

This role started off as Julio Villareal Pelegrino's role [email protected] but there are quite a few changes made to accommodate Red Hat Satellite Server on EC2.

INFORMATION

This playbook will take a while to run depending the number of repositories to sync.

Requirements

You will need ansible and all the required subscriptions for RHEL 7 and Satellite 6. Use ansible-galaxy to install the following playbooks:

  • bennojoy.ntp
  • zaxos.lvm-ansible-role

See the playbook-examples/requirements.yml file for an ansible-galaxy manifest.

You will need a subscription manifest that matches the version of Red Hat Satellite Server you plan to install before getting started.

Role Variables

Base variables are in files located in ./vars and are imported with specifics tasks. These variables can be overwritten via an extra vars parameter like this:

HOSTGROUP=satellite-server ansible-playbook -c local -i hosts -e '{satellite_deployment_vars: vars/local-vars.yml}' config.yml

In this example, config.yml is the "run list" for ansible-playbook to follow, and vars/local-vars.yml is the list of variables that override settings in vars/main.yml. See the playbook_example folder for the files you need to pass to ansible-galaxy and ansible-playbook.

Tags

Tags can be run with --include-tags or skipped with --skip-tags. Tags are:

Tag Purpose
backup Set up a nightly backup script that copies data to Amazon S3.
capsule Set up a Satellite Capsule server (completely untested as of now)
publish_content Promote content-views of the content lifecycle
enable_repos Enable redhat repos for satellite server to mirror
sync Synchronize repos from Red Hat
email Configure e-mail relaying and a daily report of host check-ins
install_satellite For some reason you may want to skip installing satellite
install_software For some reason you may want to skip installing additional software (utiliites)
rhn register the system with RHN

Dependencies

There is no role dependency for this role.

Register with Red Hat

  • To run the playbook first you need to create and download the manifest:

Go to http://rhn.redhat.com.

  • Click "Satellite"
  • Click "Register a Satellite"
  • Set a Name, select a version and Click "Register" After this we are going to attach a subscription.
  • Click "Attach Subscription" and select the subscription to attach and click "Attach Selected" After this we will download the manifest.
  • Click "Download manifest" After this copy the download file inside the /files directory on the role and name it "satellite_manifest.zip"

Problems

TASK [satellite-deployment : RHN | subscribing to the right pool]

  • Remove the system from its attached subscription to redhat satellite, in the customer portal.

License

MIT

Author Information

Julio Villarreal Pelegrino [email protected] more at: http://wwww.juliovillarreal.com

Contributors:

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.