added roles/ansible-gentoo_install/
This commit is contained in:
parent
994e13dae3
commit
762e81cea7
29 changed files with 1838 additions and 23 deletions
3
roles/ansible-gentoo_install/vars/Devuan5.yml
Normal file
3
roles/ansible-gentoo_install/vars/Devuan5.yml
Normal file
|
@ -0,0 +1,3 @@
|
|||
# -*- mode: yaml; indent-tabs-mode: nil; tab-width: 2; coding: utf-8-unix -*-
|
||||
---
|
||||
|
3
roles/ansible-gentoo_install/vars/Gentoo2.yml
Normal file
3
roles/ansible-gentoo_install/vars/Gentoo2.yml
Normal file
|
@ -0,0 +1,3 @@
|
|||
# -*- mode: yaml; indent-tabs-mode: nil; tab-width: 2; coding: utf-8-unix -*-
|
||||
---
|
||||
|
15
roles/ansible-gentoo_install/vars/Linux.yml
Normal file
15
roles/ansible-gentoo_install/vars/Linux.yml
Normal file
|
@ -0,0 +1,15 @@
|
|||
---
|
||||
# Enable SSH pipelining
|
||||
# The normal transfer methods (scp/sftp) do not work with the chroot wrapper
|
||||
# hack, so we need to make sure that they are not needed for running modules
|
||||
# inside the chroot by enabling pipelining.
|
||||
ansible_ssh_pipelining: yes
|
||||
|
||||
# Use 'piped' SSH transfer method
|
||||
# For the reason noted above, file transfers using scp/sftp do not work, so
|
||||
# we force the use of the new 'piped' transfer method. This feature is not
|
||||
# available until Ansible 2.3, but neither is the following config option, so
|
||||
# this will be a no-op on older versions.
|
||||
# This role does not actually require this (yet), but it would be nice to use
|
||||
# the 'copy' module in the future.
|
||||
ansible_ssh_transfer_method: piped
|
94
roles/ansible-gentoo_install/vars/target_Gentoo2.yml
Normal file
94
roles/ansible-gentoo_install/vars/target_Gentoo2.yml
Normal file
|
@ -0,0 +1,94 @@
|
|||
# -*- mode: yaml; indent-tabs-mode: nil; tab-width: 2; coding: utf-8-unix -*-
|
||||
---
|
||||
|
||||
AGI_GPG_SERVER: keys.gentoo.org
|
||||
AGI_GPG_KEYERVER_URL: hkps://keys.gentoo.org
|
||||
|
||||
agi_gpg_keys_system:
|
||||
- uid: E1D6ABB63BFCFB4BA02FDF1CEC590EEAC9189250
|
||||
# key DB6B8C1F96D8BF6D: "Gentoo ebuild repository signing key (Automated Signing Key) <infrastructure@gentoo.org>"
|
||||
|
||||
AGI_install_baseurl: "http://distfiles.gentoo.org/releases/amd64/autobuilds/"
|
||||
AGI_portage_baseurl: "https://distfiles.gentoo.org/snapshots/"
|
||||
|
||||
AGI_install_latest_stage_pointer: "latest-stage3-amd64.txt"
|
||||
AGI_install_portage_makeconf_default:
|
||||
MAKEOPTS: "-j{{ ansible_processor_vcpus | default(1) }}"
|
||||
USE: "-X verify-sig"
|
||||
CFLAGS: "-march=native -O2 -pipe"
|
||||
AGI_install_portage_conf_files:
|
||||
'package.accept_keywords': |
|
||||
=sys-kernel/genkernel-4.3* ~amd64
|
||||
|
||||
AGI_consolefont_font_size: '28'
|
||||
AGI_use_local_kernel: false
|
||||
AGI_bootstrap_links:
|
||||
- from: /var/db/repos/gentoo
|
||||
to: /usr/portage
|
||||
|
||||
# NO LEADING /
|
||||
AGI_bootstrap_dirs:
|
||||
- usr/local/etc/local.d
|
||||
- usr/portage/distfiles
|
||||
- etc/portage/package.accept_keywords
|
||||
- etc/portage/package.license
|
||||
- etc/portage/package.mask
|
||||
- etc/portage/package.unmask
|
||||
- etc/portage/package.use
|
||||
- etc/portage/postsync.d
|
||||
- etc/portage/profile
|
||||
- etc/portage/repo.postsync.d
|
||||
- etc/portage/repos.conf
|
||||
- etc/portage/savedconfig
|
||||
- etc/portage/sets
|
||||
|
||||
AGI_bootstrap_files:
|
||||
- usr/local/etc/local.d/local.bash
|
||||
- usr/local/bin/usr_local_tput.bash
|
||||
- usr/local/bin/proxy_export.bash
|
||||
|
||||
AGI_bootstrap_uris:
|
||||
- http://distfiles.gentoo.org/distfiles/00/elfutils-0.190.tar.bz2
|
||||
- http://distfiles.gentoo.org/distfiles/4b/glib-2.76.4.tar.xz
|
||||
- http://distfiles.gentoo.org/distfiles/60/shared-mime-info-2.2.tar.gz
|
||||
- http://distfiles.gentoo.org/distfiles/fc/qemu-8.0.3.tar.xz
|
||||
|
||||
AGI_bootstrap_pkgs:
|
||||
- app-admin/sudo
|
||||
- sys-boot/grub:2
|
||||
- app-editors/mg
|
||||
- qemu-guest-agent
|
||||
- app-admin/logrotate
|
||||
- "{{ AGI_install_cron_daemon }}"
|
||||
- "{{AGI_install_syslog_daemon}}"
|
||||
- media-fonts/terminus-font
|
||||
- sys-apps/gptfdisk
|
||||
- net-analyzer/openbsd-netcat
|
||||
- sys-process/lsof
|
||||
- dev-util/strace
|
||||
- sys-libs/gpm
|
||||
- app-portage/eix
|
||||
- www-client/lynx
|
||||
|
||||
AGI_cloud_pkgs:
|
||||
# get these from base.json
|
||||
- acpid
|
||||
- dmidecode
|
||||
- mlocate
|
||||
- xfsprogs
|
||||
- dosfstools
|
||||
- portage-utils
|
||||
- gentoo-bashcomp
|
||||
- tmux
|
||||
- app-misc/screen
|
||||
- dev-vcs/git
|
||||
- net-misc/curl
|
||||
- usbutils
|
||||
- pciutils
|
||||
- net-misc/ntp
|
||||
- net-fs/nfs-utils
|
||||
- linux-firmware
|
||||
# get these from config.json
|
||||
- app-emulation/cloud-init
|
||||
- sys-block/open-iscsi
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue