ansible-role--basesystem-de.../tasks/main.yml

74 lines
2.8 KiB
YAML
Raw Normal View History

2015-11-17 09:29:07 +00:00
---
## 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
owner=root
group=root
mode=0644
# Debian normal
- apt_repository: repo='deb http://ftp.fr.debian.org/debian/ stable main contrib non-free' state=present
- apt_repository: repo='deb-src http://ftp.fr.debian.org/debian/ stable main contrib non-free' state=present
- apt_repository: repo='deb http://ftp.fr.debian.org/debian/ testing main contrib non-free' state=present
- apt_repository: repo='deb-src http://ftp.fr.debian.org/debian/ testing main contrib non-free' state=present
- apt_repository: repo='deb http://ftp.fr.debian.org/debian/ unstable main contrib non-free' state=present
- apt_repository: repo='deb-src http://ftp.fr.debian.org/debian/ unstable main contrib non-free' state=present
2016-02-17 00:05:02 +00:00
- apt_repository: repo='deb http://ftp.fr.debian.org/debian/ experimental main contrib non-free' state=present
- apt_repository: repo='deb-src http://ftp.fr.debian.org/debian/ experimental main contrib non-free' state=present
# Debian security
- apt_repository: repo='deb http://security.debian.org/ stable/updates main contrib non-free' state=present
- apt_repository: repo='deb-src http://security.debian.org/ stable/updates main contrib non-free' state=present
# Debian stable-update (ex-volatile)
- apt_repository: repo='deb http://ftp.fr.debian.org/debian/ stable-updates main contrib non-free' state=present
- apt_repository: repo='deb-src http://ftp.fr.debian.org/debian/ stable-updates main contrib non-free' state=present
2016-02-16 20:31:42 +00:00
- command: /bin/true
notify: ['Update APT cache']
2015-12-27 18:48:21 +00:00
- include: system.yml
- include: desktop.yml
- include: shopping.yml
- include: multimedia.yml
2016-02-16 20:31:42 +00:00
- include: development.yml
2015-12-27 18:48:21 +00:00
- include: network.yml
- include: security.yml
2016-01-06 23:49:04 +00:00
- include: shell.yml