This repository has been archived by the owner on Jul 31, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9 from roles-ansible/x
improve apt/sources.list.d template
- Loading branch information
Showing
9 changed files
with
64 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,8 +7,6 @@ on: | |
branches: '*' | ||
pull_request: | ||
branches: '*' | ||
schedule: | ||
- cron: '23 6 * */1 *' | ||
|
||
jobs: | ||
build: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,8 +7,6 @@ on: | |
branches: '*' | ||
pull_request: | ||
branches: '*' | ||
schedule: | ||
- cron: '42 6 * */1 *' | ||
|
||
jobs: | ||
build: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,8 +7,6 @@ on: | |
branches: '*' | ||
pull_request: | ||
branches: '*' | ||
schedule: | ||
- cron: '23 6 * */1 *' | ||
|
||
jobs: | ||
yamllint: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
- name: apt update | ||
become: true | ||
ansible.builtin.apt: | ||
update_cache: true | ||
cache_valid_time: 3600 | ||
when: | ||
- ansible_pkg_mgr == "apt" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
# Debian mirror der ETH Zürich | ||
# https://debian.ethz.ch/ | ||
|
||
# HTTPS mirror: | ||
deb https://debian.ethz.ch/debian {{ ansible_distribution_release }} main | ||
{%- if base__pkg_contrib | bool -%} | ||
{{- ' contrib' -}} | ||
{%- endif -%} | ||
{%- if base__pkg_non_free_firmware | bool -%} | ||
{{- ' non-free' -}} | ||
{%- endif -%} | ||
{{- '\n' -}} | ||
deb-src https://debian.ethz.ch/debian {{ ansible_distribution_release }} main | ||
{%- if base__pkg_contrib | bool -%} | ||
{{- ' contrib' -}} | ||
{%- endif -%} | ||
{%- if base__pkg_non_free_firmware | bool -%} | ||
{{- ' non-free' -}} | ||
{%- endif -%} | ||
{{- '\n\n' -}} | ||
|
||
{%- if base__pkg_security | bool -%} | ||
# Inofficial Security Mirror | ||
deb https://security.debian.ethz.ch/ {{ ansible_distribution_release }}/updates main | ||
{%- if base__pkg_contrib | bool -%} | ||
{{- ' contrib' -}} | ||
{%- endif -%} | ||
{%- if base__pkg_non_free_firmware | bool -%} | ||
{{- ' non-free' -}} | ||
{%- endif -%} | ||
{{- '\n' -}} | ||
deb http://security.debian.org/ {{ ansible_distribution_release }}/updates main | ||
{%- if base__pkg_contrib | bool -%} | ||
{{- ' contrib' -}} | ||
{%- endif -%} | ||
{%- if base__pkg_non_free_firmware | bool -%} | ||
{{- ' non-free' -}} | ||
{%- endif -%} | ||
{{- '\n\n' -}} | ||
{%- endif -%} | ||
|
||
# Contact for proplems with the mirror: | ||
# https://readme.phys.ethz.ch/services/contact/ | ||
# Or #isgphys on irc.phys.ethz.ch |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters