Set default value to null instead of false.

This commit is contained in:
Glenn Y. Rolland 2016-05-02 21:28:15 +02:00
parent c8fa79eb7a
commit e4e897261c
3 changed files with 41 additions and 9 deletions

View file

@ -6,13 +6,13 @@ basesystem_role: workstation
# basesystem_arch: [i386|amd64|powerpc]
basesystem_arch: null
basesystem_task_desktop: false
basesystem_task_development: false
basesystem_task_multimedia: false
basesystem_task_network: false
basesystem_task_office: false
basesystem_task_security: false
basesystem_task_shell: false
basesystem_task_shopping: false
basesystem_task_system: false
basesystem_task_desktop: null
basesystem_task_development: null
basesystem_task_multimedia: null
basesystem_task_network: null
basesystem_task_office: null
basesystem_task_security: null
basesystem_task_shell: null
basesystem_task_shopping: null
basesystem_task_system: null

View file

@ -13,6 +13,7 @@
- devscripts
- git-core
- git-flow
- mercurial
- hg-fast-export
- libtool
- meld

View file

@ -1,5 +1,36 @@
---
## FIXME: check that default values are sane, or fail
- fail: Please set basesystem_arch value to something ...
when: basesystem_arch == null
- fail: Please set basesystem_task_desktop to either true or false
when: basesystem_task_desktop == null
- fail: Please set basesystem_task_development to either true or false
when: basesystem_task_development == null
- fail: Please set basesystem_task_multimedia to either true or false
when: basesystem_task_multimedia == null
- fail: Please set basesystem_task_network to either true or false
when: basesystem_task_network == null
- fail: Please set basesystem_task_office to either true or false
when: basesystem_task_office == null
- fail: Please set basesystem_task_security to either true or false
when: basesystem_task_security == null
- fail: Please set basesystem_task_shell to either true or false
when: basesystem_task_shell == null
- fail: Please set basesystem_task_shopping to either true or false
when: basesystem_task_shopping == null
- fail: Please set basesystem_task_system to either true or false
when: basesystem_task_system == null
- template:
src=apt_conf_glenuxnet_base.j2
dest=/etc/apt/apt.conf.d/00glenuxnet_base