From eeafaa5d58020aee106a7c8e34712c13e856f25d Mon Sep 17 00:00:00 2001 From: Robin Schneider Date: Sat, 28 May 2016 18:53:44 +0200 Subject: [PATCH] Changed fold markers. Related to: https://github.com/htgoebel/yaml2rst/pull/3 --- defaults/main.yml | 349 ++++++++++++++++------------------------------ 1 file changed, 121 insertions(+), 228 deletions(-) diff --git a/defaults/main.yml b/defaults/main.yml index 00c979f..76ad508 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -1,4 +1,6 @@ --- +# .. vim: foldmarker=[[[,]]]:foldmethod=marker +# # Default variables # ================= @@ -9,10 +11,8 @@ # .. role:: jinja_code(code) # :language: jinja # -# .. Basic options ((( -# # ----------------- -# Basic options +# Basic options [[[1 # ----------------- # .. envvar:: packages__mode @@ -29,12 +29,9 @@ # packages__mode: 'deploy' -# .. ))) -# .. Package deploy ((( -# # ------------------ -# Package deploy +# Package deploy [[[1 # ------------------ # # .. envvar:: packages__deploy_state @@ -111,10 +108,7 @@ packages__deploy_default_release: '' # By default, this option will not be used. packages__deploy_dpkg_options: '{{ omit }}' -# .. ))) -# .. Package list export ((( -# # .. _packages__export_section: # # ----------------------- @@ -219,12 +213,9 @@ packages__export_key_name: 'package_list' # as variable name for the absent package list. packages__export_key_absent_name: 'package_list_absent' -# .. ))) -# .. Package selection ((( -# # --------------------- -# Package selection +# Package selection [[[1 # --------------------- # .. envvar:: packages__host_class @@ -319,12 +310,8 @@ packages__load_distribution_release_vars: True # packages__load_distribution_additional_releases: [] -# .. ))) - -# .. Debconf settings ((( -# # -------------------- -# debconf settings +# debconf settings [[[1 # -------------------- # .. envvar:: packages__debconf_enabled @@ -393,12 +380,9 @@ packages__debconf_role_settings: vtype: 'boolean' when_package: 'firmware-ipw2x00' -# .. ))) -# .. Single packages ((( -# # ------------------- -# Single packages +# Single packages [[[1 # ------------------- # # Default definitions of packages as they are called in Debian Jessie or if it @@ -423,10 +407,7 @@ packages__debconf_role_settings: # packages__single_icedove_l10n: 'icedove-l10n-LANG_CODE' # -# .. ))) -# .. Package name remapping ((( -# # .. _packages__package_name_remapping_section: # # --------------------------- @@ -459,14 +440,11 @@ packages__name_remapping: | # under :file:`vars/{{ ansible_distribution }}`. packages__name_remapping_by_vars: {} -# .. ))) -# .. Package blacklisting/whitelisting ((( -# # .. _packages__black_white_listing_section: # # ------------------------------------- -# Package blacklisting/whitelisting +# Package blacklisting/whitelisting [[[1 # ------------------------------------- # # Blacklisting/whitelisting of packages regardless of the package class. @@ -571,12 +549,9 @@ packages__whitelist_host: [] # :file:`vars/`. packages__whitelist_by_vars: [] -# .. ))) -# .. Conditional package selection ((( -# # --------------------------------- -# Conditional package selection +# Conditional package selection [[[1 # --------------------------------- # .. envvar:: packages__conditional @@ -616,7 +591,7 @@ packages__conditional: | # Role defaults for :any:`packages__conditional`. packages__conditional_role: - ## Conditionally add packages on which later conditions are based ((( + ## Conditionally add packages on which later conditions are based [[[2 ## Explicitly add the package `gnome-themes-standard` which is specific to Gnome. ## Used later to check if a Gnome environment is to be installed. @@ -628,7 +603,7 @@ packages__conditional_role: additional_packages: - 'gnome-themes-standard' - ## Cinnamon desktop environment ((( + ## Cinnamon desktop environment [[[ ## Add package `cinnamon` which is specific to Cinnamon. ## Used later to check if a Cinnamon environment is to be installed. - present_packages: @@ -637,7 +612,7 @@ packages__conditional_role: require: 1 additional_packages: - 'cinnamon' - ## ))) + # .. ]]] ## Add package `xfce4-settings` which is specific to Xfce. ## Used later to check if an Xfce environment is to be installed. @@ -683,9 +658,9 @@ packages__conditional_role: require: 1 additional_packages: - 'x11-common' - ## ))) + # .. ]]] - ## Programms ((( + ## Programms [[[ - present_packages: - 'texlive-full' additional_packages: @@ -733,16 +708,16 @@ packages__conditional_role: - 'x11-common' additional_packages: - 'python-matplotlib' - # .. ))) + # .. ]]] - # .. Gnome desktop environment ((( + # .. Gnome desktop environment [[[ - present_packages: - 'gnome-themes-standard' additional_packages: - 'tint2' - # .. Network manager ((( + # .. Network manager [[[ # - present_packages: - 'gnome-themes-standard' @@ -792,7 +767,7 @@ packages__conditional_role: require: 2 additional_packages: - 'network-manager-openconnect-gnome' - # .. ))) + # .. ]]] - present_packages: - 'gnome-themes-standard' @@ -800,38 +775,35 @@ packages__conditional_role: require: 2 additional_packages: - 'libreoffice-gnome' - # .. ))) + # .. ]]] - # .. Xfce desktop environment ((( + # .. Xfce desktop environment [[[ ## Does not include a good launcher. - present_packages: - 'xfce4-settings' additional_packages: '{{ packages__group_application_launcher }}' - # .. ))) + # .. ]]] - # .. MATE desktop environment ((( + # .. MATE desktop environment [[[ - present_packages: - 'mate-desktop' - 'x2goserver' additional_packages: 'x2gomatebindings' - # .. ))) + # .. ]]] - # .. LXDE desktop environment ((( + # .. LXDE desktop environment [[[ - present_packages: - 'lxde-common' - 'x2goserver' additional_packages: 'x2golxdebindings' - # .. ))) + # .. ]]] -# .. ))) -# .. Localization support ((( -# # ------------------------ -# Localization support +# Localization support [[[1 # ------------------------ # .. envvar:: packages__localizations_enabled @@ -935,12 +907,9 @@ packages__localizations_available_global: # Used for Ubuntu. packages__localizations_available_additional_dist: [] -# .. ))) -# .. Package origin presets for Debian GNU/Linux ((( -# # ----------------------------------------------- -# Package origin presets for Debian GNU/Linux +# Package origin presets for Debian GNU/Linux [[[1 # ----------------------------------------------- # # Releases of Debian GNU/Linux usually don’t contain the latest upstream @@ -1068,18 +1037,13 @@ packages__debian_stretch_from_jessie_list: # # https://askubuntu.com/questions/656794/how-to-install-libreoffice-5-0-in-ubuntu -# .. ))) -# .. Packages groups ((( -# # ------------------- -# Packages groups +# Packages groups [[[1 # ------------------- -# .. List of applications used to check conditions ((( -# # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -# List of applications used to check conditions +# List of applications used to check conditions [[[2 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ packages__group_kde_applications: @@ -1090,12 +1054,10 @@ packages__group_kde_applications: - 'marble' - 'kig' - 'kmymoney' -# .. ))) -# .. Debtags: field::finance ((( -# + # ~~~~~~~~~~~~ -# Finances +# Finances [[[2 # ~~~~~~~~~~~~ packages__group_tag_field_finance_minimum: @@ -1115,12 +1077,10 @@ packages__group_tag_field_finance_full: | packages__group_tag_field_finance_additional + [] }} -# .. ))) -# .. Debtags: accessibility::ocr ((( -# + # ~~~~~~~ -# OCR +# OCR [[[2 # ~~~~~~~ packages__group_tag_accessibility_ocr: @@ -1134,10 +1094,7 @@ packages__group_tag_accessibility_ocr: - '{{ "cuneiform" if (packages__non_free_enabled|d()) else "" }}' -# .. ))) -# .. Debtags: game ((( -# # ~~~~~~~~~ # Games # ~~~~~~~~~ @@ -1169,12 +1126,9 @@ packages__group_tag_game_toys: ## Don’t like it ;-) # - 'sl' -# .. ))) -# .. Debtags: Music ((( -# # ~~~~~~~~~ -# Music +# Music [[[2 # ~~~~~~~~~ packages__group_tag_field_arts_audio_guitar: @@ -1191,12 +1145,9 @@ packages__group_tag_field_arts_audio: - 'rosegarden' - 'muse' -# .. ))) -# .. Debtags: role::documentation ((( -# # ~~~~~~~~~~~~~~~~~ -# Documentation +# Documentation [[[2 # ~~~~~~~~~~~~~~~~~ packages__group_tag_role_documentation: @@ -1211,12 +1162,9 @@ packages__group_tag_role_documentation: packages__group_tag_role_documentation_additinal: - 'doc-rfc' -# .. ))) -# .. Imaging ((( -# # ~~~~~~~~~~~ -# Imaging +# Imaging [[[2 # ~~~~~~~~~~~ packages__group_imaging: @@ -1238,12 +1186,10 @@ packages__group_imaging: # - 'ddrutility' - 'clonezilla' -# .. ))) -# .. Internet ((( -# + # ~~~~~~~~~~~~ -# Internet +# Internet [[[2 # ~~~~~~~~~~~~ packages__group_internet_minimum: @@ -1301,30 +1247,23 @@ packages__group_internet_full: | [] }} -# .. ))) -# .. VOIP ((( -# # ~~~~~~~~ -# VOIP +# VOIP [[[2 # ~~~~~~~~ packages__group_tag_protocol_voip_minimum: - 'sflphone-gnome' - 'linphone' -# .. ))) -# .. Sysadmin ((( -# + # ~~~~~~~~~~~~ -# Sysadmin +# Sysadmin [[[2 # ~~~~~~~~~~~~ -# .. Debtags: works-with::archive ((( -# # """""""""""""""""""""""" -# File archiver/packer +# File archiver/packer [[[3 # """""""""""""""""""""""" packages__group_tag_works_with_archive_minimal: @@ -1356,16 +1295,19 @@ packages__group_tag_works_with_archive_full: | [] }} -# .. ))) -# .. Debtags: admin::backup ((( +# """""""""""""""""""""""""" +# Debtags: admin::backup [[[3 +# """""""""""""""""""""""""" packages__group_tag_admin_backup: - 'borgbackup' - 'borgbackup-doc' -# .. ))) -# .. Ansible ((( + +# """"""""""" +# Ansible [[[3 +# """"""""""" packages__group_ansible: - 'ansible' @@ -1379,9 +1321,11 @@ packages__group_ansible: - 'python-passlib' - 'python-netaddr' -# .. ))) -# .. Debtags: admin::monitoring ((( + +# """""""""""""""""""""""""""""" +# Debtags: admin::monitoring [[[3 +# """""""""""""""""""""""""""""" packages__group_tag_admin_monitoring_minimum: - 'htop' @@ -1443,9 +1387,11 @@ packages__group_tag_admin_monitoring_full: | packages__group_tag_admin_monitoring_network_additional + [] }} -# .. ))) -# .. Network ((( + +# """"""""""" +# Network [[[3 +# """"""""""" packages__group_networking_analysis_minimum: - 'packeth' @@ -1526,9 +1472,11 @@ packages__group_tag_network_firewall: - 'iptables' - 'ipset' - 'fwbuilder' -# .. ))) -# .. Debtags: protocol::* ((( + +# """""""""""""""""""""""" +# Debtags: protocol::* [[[3 +# """""""""""""""""""""""" packages__group_tag_protocol_ldap: - 'ldap-utils' @@ -1540,7 +1488,7 @@ packages__group_tag_protocol_smtp: ## Superseded clients: # - 'lat' # - 'msmtp' -# .. ))) + packages__group_sysadmin_gui_additional: - 'gwakeonlan' @@ -1604,26 +1552,18 @@ packages__group_sysadmin_full: | [] }} -## - -# .. ))) -# .. Printing ((( -# # ~~~~~~~~~~~~ -# Printing +# Printing [[[2 # ~~~~~~~~~~~~ packages__group_tag_use_printing: - 'cups' - 'cups-pdf' -# .. ))) -# .. Education ((( -# # ~~~~~~~~~~~~~ -# Education +# Education [[[2 # ~~~~~~~~~~~~~ packages__group_tag_field_astronomy: @@ -1786,12 +1726,9 @@ packages__group_education_full: | [] }} -# .. ))) -# .. Multimedia ((( -# # ~~~~~~~~~~~~~~ -# Multimedia +# Multimedia [[[2 # ~~~~~~~~~~~~~~ packages__group_multimedia_minimum: @@ -1881,12 +1818,9 @@ packages__group_multimedia_full: | [] }} -# .. ))) -# .. Office ((( -# # ~~~~~~~~~~ -# Office +# Office [[[2 # ~~~~~~~~~~ packages__group_pdf_viewing: @@ -1995,15 +1929,15 @@ packages__group_office_full: | [] }} -# .. ))) -# .. Development ((( -# # ~~~~~~~~~~~~~~~ -# Development +# Development [[[2 # ~~~~~~~~~~~~~~~ -# .. Revision Control System ((( + +# """"""""""""""""""""""""""" +# Revision Control System [[[3 +# """"""""""""""""""""""""""" packages__group_tag_devel_rcs_minimal: - 'myrepos' @@ -2049,7 +1983,7 @@ packages__group_tag_devel_rcs_full: | packages__group_tag_devel_rcs_additional + [] }} -# .. ))) + packages__group_devel_language_independent_unit_testing: - 'bats' @@ -2154,7 +2088,10 @@ packages__group_tag_field_electronics: ## Only needed for low level development. - 'superiotool' -# .. Perl ((( + +# """""""" +# Perl [[[3 +# """""""" packages__group_tag_devel_lang_perl: - 'perl-modules' @@ -2209,9 +2146,10 @@ packages__group_tag_devel_lang_perl: - 'libmonitoring-plugin-perl' -# .. ))) -# .. Python ((( +# """""""" +# Python [[[3 +# """""""" packages__group_tag_devel_lang_python: - 'pep8' @@ -2321,12 +2259,10 @@ packages__group_tag_devel_lang_python_additional: - 'python-zmq' - 'python3-zmq' -# .. ))) -# .. Desktop virtualization ((( -# + # """""""""""""""""""""""""" -# Desktop virtualization +# Desktop virtualization [[[3 # """""""""""""""""""""""""" # # Libvirt/KVM with Spice is quite good but at least for running Windows VMs, @@ -2375,7 +2311,7 @@ packages__group_devel_virtualization_detection: - 'virt-what' - 'imvirt' -# .. ))) + packages__group_devel_live_system: - 'live-build' @@ -2462,7 +2398,9 @@ packages__group_devel_additional: - 'pidgin-dev' - 'libsqlite3-dev' -# .. devel_env_for ((( +# """""""""""""""""""""""""""""""""""""""" +# Development environment for projects [[[3 +# """""""""""""""""""""""""""""""""""""""" packages__group_devel_env_for_lpfw: ## https://github.com/themighty1/lpfw @@ -2538,7 +2476,7 @@ packages__group_devel_env_for_slop: - 'libimlib2-dev' - 'libglm-dev' -# .. ))) + packages__group_devel_minimum: | {{ @@ -2581,12 +2519,9 @@ packages__group_devel_full: | [] }} -# .. ))) -# .. Package management ((( -# # ~~~~~~~~~~~~~~~~~~~~~~ -# Package management +# Package management [[[2 # ~~~~~~~~~~~~~~~~~~~~~~ packages__group_apt_package_management_minimal: @@ -2614,12 +2549,10 @@ packages__group_apt_package_management_full: | packages__group_apt_package_management_additional + [] }} -# .. ))) -# .. Package management GUI ((( -# + # ~~~~~~~~~~~~~~~~~~~~~~~~~~ -# Package management GUI +# Package management GUI [[[2 # ~~~~~~~~~~~~~~~~~~~~~~~~~~ packages__group_apt_package_management_gui: @@ -2627,12 +2560,10 @@ packages__group_apt_package_management_gui: - 'gnome-packagekit' - 'software-center' -# .. ))) -# .. Core programs, drivers and firmware files ((( -# + # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -# Core programs, drivers and firmware files +# Core programs, drivers and firmware files [[[2 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ## Minimum set of programs which I need. @@ -2705,7 +2636,10 @@ packages__group_core_basic: | [] }} -# .. Bare metal ((( + +# """""""""""""" +# Bare metal [[[3 +# """""""""""""" # # Things that do not make sense on non bare metal systems. @@ -2765,9 +2699,11 @@ packages__group_core_bare_metal: | packages__group_core_bare_metal_services + [] }} -# .. ))) -# .. Firmware blobs ((( + +# """""""""""""""""" +# Firmware blobs [[[3 +# """""""""""""""""" # # https://git-tails.immerda.ch/tails/tree/config/chroot_local-packageslists/tails-common.list # @@ -2787,7 +2723,7 @@ packages__group_firmware_contrib: packages__group_firmware_non_free: - 'firmware-amd-graphics' - ## Firmware for wireless adapters ((( + ## Firmware for wireless adapters [[[ - 'firmware-atheros' - 'firmware-brcm80211' @@ -2803,7 +2739,7 @@ packages__group_firmware_non_free: - 'firmware-realtek' - 'firmware-zd1211' - ## ))) + # .. ]]] packages__group_firmware_dist: [] @@ -2815,7 +2751,7 @@ packages__group_firmware_full: | packages__group_firmware_dist + [] }} -# .. ))) + packages__group_core_cron: - 'vrms' @@ -2832,12 +2768,10 @@ packages__group_core_full: | [] }} -# .. ))) -# .. CLI programs ((( -# + # ~~~~~~~~~~~~~~~~ -# CLI programs +# CLI programs [[[2 # ~~~~~~~~~~~~~~~~ # Console programs not really intended for server. @@ -2870,12 +2804,9 @@ packages__group_user_terminal_programs_minimum: ## flat file extractor # - 'ffe' -# .. ))) -# .. Live system ((( -# # ~~~~~~~~~~~~~~~ -# Live system +# Live system [[[2 # ~~~~~~~~~~~~~~~ packages__group_live_system_additional: @@ -2897,12 +2828,10 @@ packages__group_live_system_additional: - 'debian-installer-launcher' - 'virtualbox-guest-utils' -# .. ))) -# .. Linuxmuster.net ((( -# + # ~~~~~~~~~~~~~~~~~~~ -# Linuxmuster.net +# Linuxmuster.net [[[2 # ~~~~~~~~~~~~~~~~~~~ packages__group_linuxmuster: @@ -2976,12 +2905,10 @@ packages__group_school_services: - 'libapache2-mod-python' - 'libapache2-mod-python-doc' - 'mysql-server' -# .. ))) -# .. Gnome desktop environment ((( -# + # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -# Gnome desktop environment +# Gnome desktop environment [[[2 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # # Window managers like Gnome tend to install a lot of software which you might not need/want. @@ -3095,12 +3022,9 @@ packages__group_wm_gnome_full: | [] }} -# .. ))) -# .. Cinnamon desktop environment ((( -# # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -# Cinnamon desktop environment +# Cinnamon desktop environment [[[2 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # .. envvar:: packages__group_wm_cinnamon @@ -3112,12 +3036,8 @@ packages__group_wm_cinnamon: # - 'lightdm' -# .. ))) - -# .. MATE desktop environment ((( -# # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -# MATE desktop environment +# MATE desktop environment [[[2 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # # https://wiki.debian.org/Mate @@ -3131,12 +3051,8 @@ packages__group_wm_mate: # - 'lightdm' -# .. ))) - -# .. LXDE desktop environment ((( -# # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -# LXDE desktop environment +# LXDE desktop environment [[[2 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # # https://wiki.debian.org/LXDE @@ -3146,12 +3062,9 @@ packages__group_wm_mate: packages__group_wm_lxde: - 'task-lxde-desktop' -# .. ))) -# .. Application finder/launcher ((( -# # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -# Application finder/launcher +# Application finder/launcher [[[2 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ packages__group_application_launcher: @@ -3166,12 +3079,9 @@ packages__group_application_launcher: # - 'gnome-do' # - 'gmrun' -# .. ))) -# .. Time tracking ((( -# # ~~~~~~~~~~~~~~~~~ -# Time tracking +# Time tracking [[[2 # ~~~~~~~~~~~~~~~~~ # # `Stack Overflow: Automatic time tracking software for computer work (for Windows/Linux/Mac) `__ @@ -3219,12 +3129,8 @@ packages__group_application_time_tracking: - 'selfspy' -# .. ))) - -# .. Desktop sharing ((( -# # ~~~~~~~~~~~~~~~~~~~ -# Desktop sharing +# Desktop sharing [[[2 # ~~~~~~~~~~~~~~~~~~~ packages__group_network_remmina: @@ -3266,12 +3172,10 @@ packages__group_user_desktop_sharing_full: | packages__group_network_remmina + [] }} -# .. ))) -# .. Miscellaneous ((( -# + # ~~~~~~~~~~~~~~~~~ -# Miscellaneous +# Miscellaneous [[[2 # ~~~~~~~~~~~~~~~~~ packages__group_user_file_manager: @@ -3360,12 +3264,9 @@ packages__group_user_full: | [] }} -# .. ))) -# .. Automatically added packages ((( -# # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -# Automatically added packages +# Automatically added packages [[[2 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # # Complete set of automatically added packages based on other parts of your @@ -3379,14 +3280,9 @@ packages__group_auto: | [] }} -# .. ))) - -# .. ))) -# .. Class presets ((( -# # ----------------- -# Class presets +# Class presets [[[1 # ----------------- packages__classes_core: | @@ -3507,12 +3403,9 @@ packages__classes_server_school: | [] }} -# .. ))) -# .. Classes ((( -# # ----------- -# Classes +# Classes [[[1 # ----------- # .. envvar:: packages__global_additional @@ -3699,8 +3592,8 @@ packages__classes: # Allows you to add more classes from your Ansible inventory. packages__classes_additional: {} -# .. ))) +# reStructuredText link definitions [[[1 # .. Vim search/replace to add quotes: :%s/\v^( - )(\w.*)$/\1'\2'/g # # .. _debops.apt: https://github.com/debops/ansible-apt