ansible-role--basesystem-de.../tasks/main.yml
2016-05-02 21:28:15 +02:00

73 lines
2.8 KiB
YAML

---
## 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
- 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
- command: /bin/true
notify: ['Update APT cache']
- include: system.yml
- include: desktop.yml
- include: shopping.yml
- include: multimedia.yml
- include: development.yml
- include: network.yml
- include: security.yml
- include: shell.yml