forked from LibreSchool/server-config
Trying to deposit files on the server for the client configuration.
This commit is contained in:
parent
b998068d63
commit
c612859fdf
@ -8,6 +8,11 @@
|
|||||||
tags:
|
tags:
|
||||||
- preseed
|
- preseed
|
||||||
|
|
||||||
|
- include: repoconfig.yml
|
||||||
|
tags:
|
||||||
|
- preseed
|
||||||
|
- repoconfig
|
||||||
|
|
||||||
- include: firefoxcert.yml
|
- include: firefoxcert.yml
|
||||||
tags:
|
tags:
|
||||||
- firefox
|
- firefox
|
||||||
|
35
roles/preseed/tasks/repoconfig.yml
Normal file
35
roles/preseed/tasks/repoconfig.yml
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
---
|
||||||
|
# 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
|
||||||
|
path: /var/lib/nethserver/ibay/ks/repoconfig/sources.list
|
||||||
|
owner: root
|
||||||
|
group: root
|
||||||
|
mode: 0644
|
||||||
|
become: yes
|
||||||
|
|
||||||
|
- name: Preconfiguring other repositories for clients
|
||||||
|
template:
|
||||||
|
src: "repoconfig/{{ item }}"
|
||||||
|
path: "/var/lib/nethserver/ibay/ks/repoconfig/{{ item }}"
|
||||||
|
owner: root
|
||||||
|
group: root
|
||||||
|
mode: 0644
|
||||||
|
with_items:
|
||||||
|
- bglug-trusty.list
|
||||||
|
- ansible-ansible-trusty.list
|
||||||
|
- libreoffice-ppa-trusty.list
|
||||||
|
become: yes
|
@ -1,2 +0,0 @@
|
|||||||
deb http://{{ execpath }}ppa.launchpad.net/libreoffice/libreoffice-5-0/ubuntu trusty main
|
|
||||||
deb-src http://{{ execpath }}ppa.launchpad.net/libreoffice/libreoffice-5-0/ubuntu trusty main
|
|
3
roles/preseed/templates/repoconfig/bglug-trusty.list
Normal file
3
roles/preseed/templates/repoconfig/bglug-trusty.list
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
# Repo BgLUG
|
||||||
|
deb http://{{ execpath }}repo.bglug.it/ubuntu trusty main
|
||||||
|
#deb-src http://{{ execpath }}repo.bglug.it/ubuntu trusty main
|
@ -0,0 +1,2 @@
|
|||||||
|
deb http://{{ execpath }}ppa.launchpad.net/libreoffice/ppa/ubuntu trusty main
|
||||||
|
#deb-src http://{{ execpath }}ppa.launchpad.net/libreoffice/ppa/ubuntu trusty main
|
19
roles/preseed/templates/repoconfig/sources.list
Normal file
19
roles/preseed/templates/repoconfig/sources.list
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
# Base repositories for Ubuntu 14.04 - Trusty Tahr
|
||||||
|
deb http://{{ execpath }}{{ host }}{{ path }} trusty main restricted universe multiverse
|
||||||
|
deb http://{{ execpath }}{{ host }}{{ path }} trusty-security main restricted universe multiverse
|
||||||
|
deb http://{{ execpath }}{{ host }}{{ path }} trusty-updates main restricted universe multiverse
|
||||||
|
deb http://{{ execpath }}{{ host }}{{ path }} trusty-backports main restricted universe multiverse
|
||||||
|
|
||||||
|
# Sources
|
||||||
|
#deb-src http://{{ execpath }}{{ host }}{{ path }} trusty main restricted universe multiverse
|
||||||
|
#deb-src http://{{ execpath }}{{ host }}{{ path }} trusty-security main restricted universe multiverse
|
||||||
|
#deb-src http://{{ execpath }}{{ host }}{{ path }} trusty-updates main restricted universe multiverse
|
||||||
|
#deb-src http://{{ execpath }}{{ host }}{{ path }} trusty-backports main restricted universe multiverse
|
||||||
|
|
||||||
|
# Security
|
||||||
|
deb http://{{ execpath }}{{ shost }}{{ spath }} trusty-security main restricted universe multiverse
|
||||||
|
#deb-src http://{{ execpath }}{{ shost }}{{ spath }} trusty-security main restricted universe multiverse
|
||||||
|
|
||||||
|
# Extras
|
||||||
|
deb http://{{ execpath }}extras.ubuntu.com/ubuntu trusty main
|
||||||
|
deb http://{{ execpath }}archive.canonical.com/ trusty partner
|
@ -22,31 +22,26 @@ set _tilde 0
|
|||||||
deb-i386 http://{{ host }}{{ path }} trusty main restricted universe multiverse
|
deb-i386 http://{{ host }}{{ path }} trusty main restricted universe multiverse
|
||||||
deb-i386 http://{{ host }}{{ path }} trusty-security main restricted universe multiverse
|
deb-i386 http://{{ host }}{{ path }} trusty-security main restricted universe multiverse
|
||||||
deb-i386 http://{{ host }}{{ path }} trusty-updates main restricted universe multiverse
|
deb-i386 http://{{ host }}{{ path }} trusty-updates main restricted universe multiverse
|
||||||
deb-i386 http://{{ host }}{{ path }} trusty-proposed main restricted universe multiverse
|
|
||||||
deb-i386 http://{{ host }}{{ path }} trusty-backports main restricted universe multiverse
|
deb-i386 http://{{ host }}{{ path }} trusty-backports main restricted universe multiverse
|
||||||
|
|
||||||
deb-amd64 http://{{ host }}{{ path }} trusty main restricted universe multiverse
|
deb-amd64 http://{{ host }}{{ path }} trusty main restricted universe multiverse
|
||||||
deb-amd64 http://{{ host }}{{ path }} trusty-security main restricted universe multiverse
|
deb-amd64 http://{{ host }}{{ path }} trusty-security main restricted universe multiverse
|
||||||
deb-amd64 http://{{ host }}{{ path }} trusty-updates main restricted universe multiverse
|
deb-amd64 http://{{ host }}{{ path }} trusty-updates main restricted universe multiverse
|
||||||
deb-amd64 http://{{ host }}{{ path }} trusty-proposed main restricted universe multiverse
|
|
||||||
deb-amd64 http://{{ host }}{{ path }} trusty-backports main restricted universe multiverse
|
deb-amd64 http://{{ host }}{{ path }} trusty-backports main restricted universe multiverse
|
||||||
|
|
||||||
deb-src http://{{ host }}{{ path }} trusty main restricted universe multiverse
|
deb-src http://{{ host }}{{ path }} trusty main restricted universe multiverse
|
||||||
deb-src http://{{ host }}{{ path }} trusty-security main restricted universe multiverse
|
deb-src http://{{ host }}{{ path }} trusty-security main restricted universe multiverse
|
||||||
deb-src http://{{ host }}{{ path }} trusty-updates main restricted universe multiverse
|
deb-src http://{{ host }}{{ path }} trusty-updates main restricted universe multiverse
|
||||||
deb-src http://{{ host }}{{ path }} trusty-proposed main restricted universe multiverse
|
|
||||||
deb-src http://{{ host }}{{ path }} trusty-backports main restricted universe multiverse
|
deb-src http://{{ host }}{{ path }} trusty-backports main restricted universe multiverse
|
||||||
|
|
||||||
deb-i386 http://{{ host }}{{ path }} trusty main/debian-installer restricted/debian-installer universe/debian-installer multiverse/debian-installer
|
deb-i386 http://{{ host }}{{ path }} trusty main/debian-installer restricted/debian-installer universe/debian-installer multiverse/debian-installer
|
||||||
deb-i386 http://{{ host }}{{ path }} trusty-security main/debian-installer restricted/debian-installer universe/debian-installer multiverse/debian-installer
|
deb-i386 http://{{ host }}{{ path }} trusty-security main/debian-installer restricted/debian-installer universe/debian-installer multiverse/debian-installer
|
||||||
deb-i386 http://{{ host }}{{ path }} trusty-updates main/debian-installer restricted/debian-installer universe/debian-installer multiverse/debian-installer
|
deb-i386 http://{{ host }}{{ path }} trusty-updates main/debian-installer restricted/debian-installer universe/debian-installer multiverse/debian-installer
|
||||||
deb-i386 http://{{ host }}{{ path }} trusty-proposed main/debian-installer restricted/debian-installer universe/debian-installer multiverse/debian-installer
|
|
||||||
deb-i386 http://{{ host }}{{ path }} trusty-backports main/debian-installer restricted/debian-installer universe/debian-installer multiverse/debian-installer
|
deb-i386 http://{{ host }}{{ path }} trusty-backports main/debian-installer restricted/debian-installer universe/debian-installer multiverse/debian-installer
|
||||||
|
|
||||||
deb-amd64 http://{{ host }}{{ path }} trusty main/debian-installer restricted/debian-installer universe/debian-installer multiverse/debian-installer
|
deb-amd64 http://{{ host }}{{ path }} trusty main/debian-installer restricted/debian-installer universe/debian-installer multiverse/debian-installer
|
||||||
deb-amd64 http://{{ host }}{{ path }} trusty-security main/debian-installer restricted/debian-installer universe/debian-installer multiverse/debian-installer
|
deb-amd64 http://{{ host }}{{ path }} trusty-security main/debian-installer restricted/debian-installer universe/debian-installer multiverse/debian-installer
|
||||||
deb-amd64 http://{{ host }}{{ path }} trusty-updates main/debian-installer restricted/debian-installer universe/debian-installer multiverse/debian-installer
|
deb-amd64 http://{{ host }}{{ path }} trusty-updates main/debian-installer restricted/debian-installer universe/debian-installer multiverse/debian-installer
|
||||||
deb-amd64 http://{{ host }}{{ path }} trusty-proposed main/debian-installer restricted/debian-installer universe/debian-installer multiverse/debian-installer
|
|
||||||
deb-amd64 http://{{ host }}{{ path }} trusty-backports main/debian-installer restricted/debian-installer universe/debian-installer multiverse/debian-installer
|
deb-amd64 http://{{ host }}{{ path }} trusty-backports main/debian-installer restricted/debian-installer universe/debian-installer multiverse/debian-installer
|
||||||
|
|
||||||
deb-i386 http://extras.ubuntu.com/ubuntu trusty main
|
deb-i386 http://extras.ubuntu.com/ubuntu trusty main
|
||||||
@ -54,10 +49,8 @@ deb-amd64 http://extras.ubuntu.com/ubuntu trusty main
|
|||||||
deb-src http://extras.ubuntu.com/ubuntu trusty main
|
deb-src http://extras.ubuntu.com/ubuntu trusty main
|
||||||
|
|
||||||
deb-i386 http://archive.canonical.com/ trusty partner
|
deb-i386 http://archive.canonical.com/ trusty partner
|
||||||
deb-i386 http://archive.canonical.com/ trusty-proposed partner
|
|
||||||
|
|
||||||
deb-amd64 http://archive.canonical.com/ trusty partner
|
deb-amd64 http://archive.canonical.com/ trusty partner
|
||||||
deb-amd64 http://archive.canonical.com/ trusty-proposed partner
|
|
||||||
|
|
||||||
deb-i386 http://{{ shost }}{{ spath }} trusty-security main restricted universe multiverse
|
deb-i386 http://{{ shost }}{{ spath }} trusty-security main restricted universe multiverse
|
||||||
deb-i386 http://{{ shost }}{{ spath }} trusty-security main/debian-installer restricted/debian-installer universe/debian-installer multiverse/debian-installer
|
deb-i386 http://{{ shost }}{{ spath }} trusty-security main/debian-installer restricted/debian-installer universe/debian-installer multiverse/debian-installer
|
||||||
@ -70,9 +63,9 @@ deb-i386 http://ppa.launchpad.net/ansible/ansible/ubuntu trusty main
|
|||||||
deb-amd64 http://ppa.launchpad.net/ansible/ansible/ubuntu trusty main
|
deb-amd64 http://ppa.launchpad.net/ansible/ansible/ubuntu trusty main
|
||||||
|
|
||||||
# LibreOffice PPA
|
# LibreOffice PPA
|
||||||
deb-i386 http://ppa.launchpad.net/libreoffice/libreoffice-5-0/ubuntu trusty main
|
deb-i386 http://ppa.launchpad.net/libreoffice/ppa/ubuntu trusty main
|
||||||
deb-amd64 http://ppa.launchpad.net/libreoffice/libreoffice-5-0/ubuntu trusty main
|
deb-amd64 http://ppa.launchpad.net/libreoffice/ppa/ubuntu trusty main
|
||||||
deb-src http://ppa.launchpad.net/libreoffice/libreoffice-5-0/ubuntu trusty main
|
deb-src http://ppa.launchpad.net/libreoffice/ppa/ubuntu trusty main
|
||||||
|
|
||||||
# BgLUG
|
# BgLUG
|
||||||
deb-i386 http://repo.bglug.it/ubuntu trusty main
|
deb-i386 http://repo.bglug.it/ubuntu trusty main
|
||||||
@ -84,5 +77,5 @@ clean http://extras.ubuntu.com/ubuntu
|
|||||||
clean http://archive.canonical.com
|
clean http://archive.canonical.com
|
||||||
clean http://{{ shost }}{{ spath }}
|
clean http://{{ shost }}{{ spath }}
|
||||||
clean http://ppa.launchpad.net/ansible/ansible/ubuntu
|
clean http://ppa.launchpad.net/ansible/ansible/ubuntu
|
||||||
clean http://ppa.launchpad.net/libreoffice/libreoffice-5-0/ubuntu
|
clean http://ppa.launchpad.net/libreoffice/ppa/ubuntu
|
||||||
clean http://repo.bglug.it/ubuntu
|
clean http://repo.bglug.it/ubuntu
|
||||||
|
Loading…
x
Reference in New Issue
Block a user