Rename mirror/reportmirror to reportmirror
This commit is contained in:
parent
e2c59bc220
commit
b7a3415352
5 changed files with 11 additions and 11 deletions
|
@ -27,11 +27,11 @@
|
||||||
- base
|
- base
|
||||||
- mirror/base
|
- mirror/base
|
||||||
- mirror/thinlinc
|
- mirror/thinlinc
|
||||||
- role: mirror/reportmirror
|
- role: reportmirror
|
||||||
mirror_hostname: mirrors.foo.sh
|
reportmirror_hostname: mirrors.foo.sh
|
||||||
mirror_mirrors: [epel, fedora]
|
reportmirror_mirrors: [epel, fedora]
|
||||||
mirror_sitename: foo.sh
|
reportmirror_sitename: foo.sh
|
||||||
mirror_password: "{{ report_mirror_pass }}"
|
reportmirror_password: "{{ report_mirror_pass }}"
|
||||||
- role: mirror/sync
|
- role: mirror/sync
|
||||||
mirror_label: fedora-epel
|
mirror_label: fedora-epel
|
||||||
mirror_source:
|
mirror_source:
|
||||||
|
|
|
@ -11,8 +11,8 @@ enabled=1
|
||||||
# Name and Password fields need to match the Site name and password
|
# Name and Password fields need to match the Site name and password
|
||||||
# fields you entered for your Site in the MirrorManager database at
|
# fields you entered for your Site in the MirrorManager database at
|
||||||
# https://admin.fedoraproject.org/mirrormanager
|
# https://admin.fedoraproject.org/mirrormanager
|
||||||
name={{ mirror_sitename }}
|
name={{ reportmirror_sitename }}
|
||||||
password={{ mirror_password }}
|
password={{ reportmirror_password }}
|
||||||
|
|
||||||
[host]
|
[host]
|
||||||
# if enabled=0, no data about this host is sent to the database
|
# if enabled=0, no data about this host is sent to the database
|
||||||
|
@ -20,7 +20,7 @@ enabled=1
|
||||||
# Name field need to match the Host name field you entered for your
|
# Name field need to match the Host name field you entered for your
|
||||||
# Host in the MirrorManager database at
|
# Host in the MirrorManager database at
|
||||||
# https://admin.fedoraproject.org/mirrormanager
|
# https://admin.fedoraproject.org/mirrormanager
|
||||||
name={{ mirror_hostname }}
|
name={{ reportmirror_hostname }}
|
||||||
# if user_active=0, no data about this category is given to the public
|
# if user_active=0, no data about this category is given to the public
|
||||||
# This can be used to toggle between serving and not serving data,
|
# This can be used to toggle between serving and not serving data,
|
||||||
# such enabled during the nighttime (when you have more idle bandwidth
|
# such enabled during the nighttime (when you have more idle bandwidth
|
||||||
|
@ -52,15 +52,15 @@ rsyncd=/var/log/rsyncd.log
|
||||||
# path= is the path on your local disk to the top-level directory for this Category
|
# path= is the path on your local disk to the top-level directory for this Category
|
||||||
|
|
||||||
[Fedora Linux]
|
[Fedora Linux]
|
||||||
{% if "fedora" in mirror_mirrors %}
|
{% if "fedora" in reportmirror_mirrors %}
|
||||||
enabled=1
|
enabled=1
|
||||||
{% else %}
|
{% else %}
|
||||||
enabled=0
|
enabled=0
|
||||||
{% endif %}
|
{% endif %}
|
||||||
path=/srv/mrirors/fedora
|
path=/srv/mrirors/fedora
|
||||||
|
|
||||||
[Fedora EPEL]
|
[Fedora EPELreport]
|
||||||
{% if "epel" in mirror_mirrors %}
|
{% if "epel" in reportmirror_mirrors %}
|
||||||
enabled=1
|
enabled=1
|
||||||
{% else %}
|
{% else %}
|
||||||
enabled=0
|
enabled=0
|
Loading…
Add table
Reference in a new issue