agaffney.gentoo_install
Ansible Role: Gentoo_install
This role helps you install Gentoo Linux using an InstallCD environment.
It manages all the necessary steps to set up Gentoo when running from the InstallCD. This includes partitioning the disk, formatting and mounting filesystems, downloading and extracting the stage tarball, configuring language settings and the timezone, building a kernel (using genkernel), installing and configuring syslog and cron services, installing the GRUB bootloader, unmounting filesystems, and rebooting the system.
To use this role, you need to boot from the InstallCD image with commands like:
gentoo dosshd passwd=some_root_pass
Next, create a playbook:
---
- hosts: all
remote_user: root
vars:
# The 'portage' module does not work with Python 3, which is the default in the stage tarball
ansible_python_interpreter: /usr/bin/python2
roles:
- gentoo_install
Then, run Ansible with a command like this:
$ ansible-playbook -i <IP address>, -e ansible_password=some_root_pass -e gentoo_install_hostname=myhostname gentoo_install.yml
Informazioni sul progetto
Performs an installation of Gentoo Linux against an InstallCD environment
Installa
ansible-galaxy install agaffney.gentoo_installLicenza
Unknown
Download
145
Proprietario
