name: "{{ item }}"
state: present
with_items:
- - http://{{ mirror_host }}/lab-extras/rhel7/x86_64/nagios-common-4.0.8-2.el7.x86_64.rpm
- - http://{{ mirror_host }}/lab-extras/rhel7/x86_64/nrpe-2.15-7.el7.x86_64.rpm
- - http://{{ mirror_host }}/lab-extras/rhel7/x86_64/nagios-plugins-2.0.3-3.el7.x86_64.rpm
- - http://{{ mirror_host }}/lab-extras/rhel7/x86_64/nagios-plugins-load-2.0.3-3.el7.x86_64.rpm
+ - https://{{ mirror_host }}/lab-extras/rhel7/x86_64/nagios-common-4.0.8-2.el7.x86_64.rpm
+ - https://{{ mirror_host }}/lab-extras/rhel7/x86_64/nrpe-2.15-7.el7.x86_64.rpm
+ - https://{{ mirror_host }}/lab-extras/rhel7/x86_64/nagios-plugins-2.0.3-3.el7.x86_64.rpm
+ - https://{{ mirror_host }}/lab-extras/rhel7/x86_64/nagios-plugins-load-2.0.3-3.el7.x86_64.rpm
when:
- ansible_os_family == "RedHat"
- ansible_distribution_major_version|int <= 7
protect: 0
lab-extras:
name: lab-extras
- baseurl: "http://{{ mirror_host }}/lab-extras/centos6/"
+ baseurl: "https://{{ mirror_host }}/lab-extras/centos6/"
enabled: 1
gpgcheck: 0
priority: 2
gpgcheck: 0
lab-extras:
name: lab-extras
- baseurl: "http://{{ mirror_host }}/lab-extras/centos7/"
+ baseurl: "https://{{ mirror_host }}/lab-extras/centos7/"
enabled: 1
gpgcheck: 0
common_yum_repos:
lab-extras:
name: "lab-extras"
- baseurl: "http://{{ mirror_host }}/lab-extras/8/"
+ baseurl: "https://{{ mirror_host }}/lab-extras/8/"
enabled: 1
gpgcheck: 0
common_yum_repos:
lab-extras:
name: "lab-extras"
- baseurl: "http://{{ mirror_host }}/lab-extras/9/"
+ baseurl: "https://{{ mirror_host }}/lab-extras/9/"
enabled: 1
gpgcheck: 0
common_yum_repos:
lab-extras:
name: "lab-extras"
- baseurl: "http://{{ mirror_host }}/lab-extras/rhel6/"
+ baseurl: "https://{{ mirror_host }}/lab-extras/rhel6/"
enabled: 1
gpgcheck: 0
priority: 2
gpgcheck: 0
lab-extras:
name: "lab-extras"
- baseurl: "http://{{ mirror_host }}/lab-extras/rhel7/"
+ baseurl: "https://{{ mirror_host }}/lab-extras/rhel7/"
enabled: 1
gpgcheck: 0
gpgcheck: 0
lab-extras:
name: "lab-extras"
- baseurl: "http://{{ mirror_host }}/lab-extras/rhel7/"
+ baseurl: "https://{{ mirror_host }}/lab-extras/rhel7/"
enabled: 1
gpgcheck: 0
gpgcheck: 0
lab-extras:
name: "lab-extras"
- baseurl: "http://{{ mirror_host }}/lab-extras/rhel7/"
+ baseurl: "https://{{ mirror_host }}/lab-extras/rhel7/"
enabled: 1
gpgcheck: 0
common_yum_repos:
lab-extras:
name: "lab-extras"
- baseurl: "http://{{ mirror_host }}/lab-extras/8/"
+ baseurl: "https://{{ mirror_host }}/lab-extras/8/"
enabled: 1
gpgcheck: 0