Adding variables to default remote installation. Variables are overrideable via command line.
This commit is contained in:
parent
b8fd550c4c
commit
1065bfab05
@ -21,5 +21,6 @@ org_city: Caravaggio
|
||||
org_phone: "+39 0363 50598"
|
||||
org_street: "Via Zenale e Butinone, 20"
|
||||
mirror_mode: nfs
|
||||
remote_mirror: ubuntu.fastbull.org
|
||||
mirror_nfs_share: 192.168.255.1:/var/spool/apt-mirror/mirror
|
||||
mirrorpath: pdc.mastri.edu/ks/mirror/
|
||||
|
@ -1,2 +1,6 @@
|
||||
---
|
||||
execmirrorpath: ""
|
||||
remote_mirror: archive.ubuntu.com
|
||||
remote_mirrorpath: /ubuntu
|
||||
remote_security_mirror: security.ubuntu.com
|
||||
remote_security_mirrorpath: /ubuntu
|
||||
|
@ -25,8 +25,8 @@ d-i mirror/protocol string http
|
||||
d-i mirror/http/hostname string {{ ansible_local.domain.serverfqdn }}
|
||||
d-i mirror/http/directory string /ks/mirror/archive.ubuntu.com/ubuntu
|
||||
{% else %}
|
||||
d-i mirror/http/hostname string archive.ubuntu.com
|
||||
d-i mirror/http/directory string /ubuntu
|
||||
d-i mirror/http/hostname string {{ remote_mirror }}
|
||||
d-i mirror/http/directory string {{ remote_mirrorpath }}
|
||||
{% endif %}
|
||||
d-i mirror/http/proxy string
|
||||
d-i mirror/suite string trusty
|
||||
@ -43,8 +43,8 @@ d-i apt-setup/services-select multiselect security, updates
|
||||
d-i apt-setup/security_host string {{ ansible_local.domain.serverfqdn }}
|
||||
d-i apt-setup/security_path string /ks/mirror/security.ubuntu.com/ubuntu
|
||||
{% else %}
|
||||
d-i apt-setup/security_host string security.ubuntu.com
|
||||
d-i apt-setup/security_path string /ubuntu
|
||||
d-i apt-setup/security_host string {{ remote_security_mirror }}
|
||||
d-i apt-setup/security_path string {{ remote_security_mirrorpath }}
|
||||
{% endif %}
|
||||
|
||||
# Setup and enable libreoffice PPA
|
||||
|
@ -25,8 +25,8 @@ d-i mirror/protocol string http
|
||||
d-i mirror/http/hostname string {{ ansible_local.domain.serverfqdn }}
|
||||
d-i mirror/http/directory string /ks/mirror/archive.ubuntu.com/ubuntu
|
||||
{% else %}
|
||||
d-i mirror/http/hostname string archive.ubuntu.com
|
||||
d-i mirror/http/directory string /ubuntu
|
||||
d-i mirror/http/hostname string {{ remote_mirror }}
|
||||
d-i mirror/http/directory string {{ remote_mirrorpath }}
|
||||
{% endif %}
|
||||
d-i mirror/http/proxy string
|
||||
d-i mirror/suite string trusty
|
||||
@ -43,8 +43,8 @@ d-i apt-setup/services-select multiselect security, updates
|
||||
d-i apt-setup/security_host string {{ ansible_local.domain.serverfqdn }}
|
||||
d-i apt-setup/security_path string /ks/mirror/security.ubuntu.com/ubuntu
|
||||
{% else %}
|
||||
d-i apt-setup/security_host string security.ubuntu.com
|
||||
d-i apt-setup/security_path string /ubuntu
|
||||
d-i apt-setup/security_host string {{ remote_security_mirror }}
|
||||
d-i apt-setup/security_path string {{ remote_security_mirrorpath }}
|
||||
{% endif %}
|
||||
|
||||
# Setup and enable libreoffice PPA
|
||||
|
@ -26,8 +26,8 @@ d-i mirror/protocol string http
|
||||
d-i mirror/http/hostname string {{ ansible_local.domain.serverfqdn }}
|
||||
d-i mirror/http/directory string /ks/mirror/archive.ubuntu.com/ubuntu
|
||||
{% else %}
|
||||
d-i mirror/http/hostname string archive.ubuntu.com
|
||||
d-i mirror/http/directory string /ubuntu
|
||||
d-i mirror/http/hostname string {{ remote_mirror }}
|
||||
d-i mirror/http/directory string {{ remote_mirrorpath }}
|
||||
{% endif %}
|
||||
d-i mirror/http/proxy string
|
||||
d-i mirror/suite string trusty
|
||||
@ -44,8 +44,8 @@ d-i apt-setup/services-select multiselect security, updates
|
||||
d-i apt-setup/security_host string {{ ansible_local.domain.serverfqdn }}
|
||||
d-i apt-setup/security_path string /ks/mirror/security.ubuntu.com/ubuntu
|
||||
{% else %}
|
||||
d-i apt-setup/security_host string security.ubuntu.com
|
||||
d-i apt-setup/security_path string /ubuntu
|
||||
d-i apt-setup/security_host string {{ remote_security_mirror }}
|
||||
d-i apt-setup/security_path string {{ remote_security_mirrorpath }}
|
||||
{% endif %}
|
||||
|
||||
# Setup and enable libreoffice PPA
|
||||
|
Loading…
x
Reference in New Issue
Block a user