2016-09-21 22:35:53 +02:00
|
|
|
---
|
|
|
|
# Configuring the base repositories files.
|
|
|
|
# Composing here files to be used by clients will reduce time to load/construct
|
|
|
|
# them within client-pull-installation playbook.
|
|
|
|
|
|
|
|
- name: Creating base directory for storing repositories files
|
|
|
|
file:
|
|
|
|
path: /var/lib/nethserver/ibay/ks/repoconfig
|
|
|
|
state: directory
|
|
|
|
owner: root
|
|
|
|
group: root
|
|
|
|
mode: 0755
|
|
|
|
become: yes
|
|
|
|
|
|
|
|
- name: Preconfiguring base repositories file for clients
|
|
|
|
template:
|
|
|
|
src: repoconfig/sources.list
|
2016-09-21 23:38:32 +02:00
|
|
|
dest: /var/lib/nethserver/ibay/ks/repoconfig/sources.list
|
2016-09-21 22:35:53 +02:00
|
|
|
owner: root
|
|
|
|
group: root
|
|
|
|
mode: 0644
|
|
|
|
become: yes
|
|
|
|
|
|
|
|
- name: Preconfiguring other repositories for clients
|
|
|
|
template:
|
|
|
|
src: "repoconfig/{{ item }}"
|
2016-09-21 23:38:32 +02:00
|
|
|
dest: "/var/lib/nethserver/ibay/ks/repoconfig/{{ item }}"
|
2016-09-21 22:35:53 +02:00
|
|
|
owner: root
|
|
|
|
group: root
|
|
|
|
mode: 0644
|
|
|
|
with_items:
|
|
|
|
- bglug-trusty.list
|
|
|
|
- ansible-ansible-trusty.list
|
|
|
|
- libreoffice-ppa-trusty.list
|
2017-02-20 23:27:23 +01:00
|
|
|
- epoptes-ppa-trusty.list
|
2017-02-09 22:50:17 +01:00
|
|
|
- geogebra-stable.list
|
2016-09-21 22:35:53 +02:00
|
|
|
become: yes
|
2017-10-06 00:00:06 +02:00
|
|
|
|
|
|
|
- name: Pre-downloading geogebra GPG signature because of HTTPS
|
|
|
|
get_url:
|
|
|
|
url: "https://www.geogebra.net/linux/office@geogebra.org.gpg.key"
|
|
|
|
dest: "/var/lib/nethserver/ibay/ks/repoconfig/office_geogebra.gpg.key"
|
2017-10-07 12:17:24 +02:00
|
|
|
validate_certs: no
|
2017-10-06 00:00:06 +02:00
|
|
|
become: yes
|