Code Monkey home page Code Monkey logo

kvm-guest-rhn-idm's Introduction

Role Name

Ansible playbook to create a KVM guest from a qcow2 image, register to RHN, install minimal packages and register to an IDM server.

Requirements

This role is tested on Ansible 2.7.7 and rhel 7 .

Dependencies

N/A

Example Playbook

It is composeby 3 playbooks.

kvm.yml --> rhn_register.yml --> resolv_ipa.yml

Create file vars/vault.yml with redhat account user

cat < EOF > vars/vault.yml 
vault_rhn_user: redhat-support-active-account 
vault_rhn_pwd: p4$$W0rD
vault_rhn_pool_id: 01123581321245589144233377610987
EOF

Encrypted with vault

ansible-vault create vars/vault.yml
ansible-vault encrypt vars/vault.yml
ansible-vault edit vars/vault.yml

Execute playbook

ansible-playbook -i inventory test.yml -K --ask-vault-pass

License

GPLv3

Author Information

silvinux - [email protected]

kvm-guest-rhn-idm's People

Contributors

silvinux 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.