Giter VIP home page Giter VIP logo

ansible-gentoo's Introduction

ansible-gentoo

This role demonstrates the automatic configuration of a gentoo system from minimal install to first boot.

Role Variables

The role defines several defaults that an be overridden by the user

pubkey
The public key to deploy to the root user on the minimal cd. Primarily to negate the need for a password if you need to run twice. default: ~/.ssh/id_rsa.pub
main_disk
The target disk for the install. default: /dev/sda
swap_size
Size of the swap partition default: 2048m
fstype
filesystem type for root and boot drives default: ext4
force_format
Whether to force a reformat of a partition default: no
mirror
The mirror to fetch the gentoo stage3 sources from. default: http://mirror.mcs.anl.gov/pub/gentoo
timezone
The timezone to set for the new system. default: America/Los_Angeles
domain
main domain for the new system default: met.tfoundry.com
kernel
The kernel configuration to use. default: config-3.13.0-24-generic
make_opts
any make options you wish to pass for ebuilds. default: -j4
management_interface
the main interface to configure default: ansible_default_ipv4.interface
root_passwd
the initial root password for the newly installed system. default: gentoo-root
gateway
the default gateway for the newly installed system. default: ansible_default_ipv4.gateway
netmask
the netmask for the newly installed system default: ansible_default_ipv4.netmask

Example Playbook

Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:

- hosts: all
  roles:
     - gentoo

Also please see blog post for an example of using this role to deploy gentoo.

License

BSD

Author Information

James A. Kyle [email protected] http://blog.jameskyle.org

ansible-gentoo's People

Contributors

hpaluch avatar jameskyle avatar pravorskyi avatar

Watchers

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