dandyrow.archlinux.reflector role – Install and configure reflector.

Note

This role is part of the dandyrow.archlinux collection (version 1.0.0).

To install it use: ansible-galaxy collection install dandyrow.archlinux.

To use it in a playbook, specify: dandyrow.archlinux.reflector.

Entry point main – Install and configure reflector.

Synopsis

  • Install and configure reflector.

Parameters

Parameter

Comments

age

float

Only return mirrors synced in the last n hours.

countries

string

Restrict mirrors to selected countries.

Countries may be given by name or country code, or both.

delay

float

Only return mirrors with a reported sync delay of n hours or less.

exclude

string

Exclude servers taht match specified regex.

Regex is python regular expression.

fastest

integer

Return the n fastest mirrors that meet the other criteria.

Do not use this without other filtering options.

include

string

Include servers taht match specified regex.

Regex is python regular expression.

latest

integer

Limit the list to the n most recently synced servers.

number

integer

Return at most this amount of mirrors.

only_ipv4

boolean

Only return mirrors that support IPv4.

Choices:

  • false ← (default)

  • true

only_ipv6

string

Only return mirrors that support IPv6.

protocols

list / elements=string

Match one of the given protocols.

run_weekly

boolean

Whether to enable the reflector timer to run reflector weekly.

This will keep mirrorlists up to date.

Choices:

  • false

  • true ← (default)

save_path

path

Filepath to save mirrorlist to.

score

integer

Limit the list to the n servers with the highest score.

sort

string

What value to sort the reflector mirrorlist by.

Choices:

  • "age"

  • "rate"

  • "country"

  • "score"

  • "delay"

Authors

  • Daniel Lowry (github.com/dandyrow)