Metadata
- Source
- INFRA-156
- Type
- Bug
- Priority
- Major
- Status
- Resolved
- Resolution
- Fixed
- Assignee
- Giovanni Tirloni
- Reporter
- Giovanni Tirloni
- Created
2018-04-03T05:36:12.432-0400 - Updated
2018-04-23T11:01:28.981-0400 - Versions
- N/A
- Fixed Versions
- N/A
- Component
- N/A
Description
Hosts that need special repositories should be identified and the configuration added to Ansible:
- NodeSource Node.js
- Nginx
- Jenkins
- others?
Comments
-
Giovanni Tirloni commented
2018-04-23T11:01:20.857-0400 Added them to a _global variable to avoid circular reference errors from Ansible:
https://github.com/inclusive-design/ops/blob/master/environments/00_cross_env_vars#L35
common_yum_repositories_global: - name: centos-base baseurl: http://mirror.inclusivedesign.ca/centos/$releasever/os/$basearch gpgcheck: yes gpgkey: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 - name: centos-updates baseurl: http://mirror.inclusivedesign.ca/centos/$releasever/updates/$basearch gpgcheck: yes gpgkey: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 - name: centos-extras baseurl: http://mirror.inclusivedesign.ca/centos/$releasever/extras/$basearch gpgcheck: yes gpgkey: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 exclude: 'docker*' - name: docker baseurl: https://download.docker.com/linux/centos/7/$basearch/stable gpgcheck: yes gpgkey: https://download.docker.com/linux/centos/gpg - name: epel baseurl: http://mirror.inclusivedesign.ca/epel/7/$basearch gpgcheck: yes gpgkey: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 exclude: 'nginx*' - name: idi baseurl: https://pkg.inclusivedesign.ca/centos/7/$basearch gpgcheck: yes gpgkey: https://pkg.inclusivedesign.ca/centos/7/x86_64/RPM-GPG-KEY-IDI - name: jenkins baseurl: http://pkg.jenkins.io/redhat-stable gpgcheck: yes gpgkey: https://pkg.jenkins.io/redhat-stable/jenkins.io.key - name: kubernetes baseurl: https://packages.cloud.google.com/yum/repos/kubernetes-el7-$basearch gpgcheck: yes gpgkey: - https://packages.cloud.google.com/yum/doc/yum-key.gpg - https://packages.cloud.google.com/yum/doc/rpm-package-key.gpg - name: nginx baseurl: http://nginx.org/packages/centos/7/$basearch gpgcheck: yes gpgkey: http://nginx.org/keys/nginx_signing.key