Skip to content

Ansible role, which installs repositories and signing keys for them on your server.

License

Notifications You must be signed in to change notification settings

AerisCloud/ansible-repos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Repos

This role installs repositories and signing keys for them on your server.

Supported OSes

name tagname notes
CentOS 6 centos6 Repositories are disabled by default, make sure to use enablerepo= in your yum calls
CentOS 7 centos7 Ditto CentOS 6
Amazon Linux amazon Ditto CentOS 6
Debian 7 wheezy APT Repositories are disabled by default, make sure to use default_release=wheezy-backports in your apt calls
Debian 8 jessie Ditto Debian 7. Use default_release=jessie-backports in your apt calls

Usage

In your role's meta, add a dependency to this role using the syntax described below.

Dependency configuration

# my_role/meta/main.yml
dependencies:
  - role: aeriscloud.repos
    # repositories are repositories officially supported by the role
    repositories:
      # this will install the official mongodb and epel repos
      centos6:
        - epel
        - mongodb
        # by default repos are disabled, but you can enable them using the following syntax
        # also repos of type testing/debuginfo/dev can not be enabled unless the repo file is
        # dedicated to it (ie. epel-testing)
        - name: elasticsearch
          enabled: true
      # but only the mongodb repo when using centos7
      centos7:
        - mongodb
      # This will install wheezy backports and the offical nginx repo
      wheezy:
        - backports
        - nginx
      # support for jessie backports will be available when the jessie backports is available.
      jessie:
        - nginx
    # (CentOS only) when you have custom CentOS repos you can use this syntax to retrieve the repo online
    remote_repositories:
      centos6:
        - http://myorg.tld/myrepo.repo
      centos7:
        - http://myorg.tld/myrepo.repo

Supported Repositories

CentOS 6

name provides
couchbase couchbase
ceph ceph
elasticsearch elasticsearch-2.x
endpoint endpoint
epel epel
epel-testing epel-testing
epel-yum-rawhide epel-yum-rawhide
hortonworks ambari-1x HDP-1.3.0.0 HDP-UTILS-1.1.0.15
ius ius ius-testing ius-dev ius-archive
jenkins jenkins
mesophere mesosphere
mongodb mongodb
mysql mysql56-community mysql-connectors-community mysql-tools-community
nginx nginx
percona percona-release-x86_64
postgresql 9.0 pgdg90
postgresql 9.1 pgdg91
postgresql 9.2 pgdg92
postgresql 9.3 pgdg93
postgresql 9.4 pgdg94
postgresql 9.5 pgdg95
remi remi remi-php55 remi-php56 remi-php70 remi-php71 remi-php72 remi-php73 remi-test
rpmforge rpmforge rpmforge-extra rpmforge-testing
mysql mysql56-community mysql-connectors-community mysql-tools-community
slc6-devtoolset gcc-4.8 and other related tools

nb: epel, ius and remi also provides the debuginfo and source variants of their repos.

CentOS 7

Some of those repositories point to CentOS 6 repos due to the lack of a CentOS 7 version, they will be updated as they become available.

name provides
couchbase couchbase
ceph ceph
docker docker-ce-stable
elasticsearch elasticsearch-2.x
endpoint endpoint
epel epel
epel-testing epel-testing
epel-yum-rawhide epel-yum-rawhide
hortonworks ambari-1x HDP-1.3.0.0 HDP-UTILS-1.1.0.15
ius ius ius-testing ius-dev ius-archive
jenkins jenkins
mesophere mesosphere
mongodb mongodb
mysql mysql56-community mysql-connectors-community mysql-tools-community
nginx nginx
percona percona-release-x86_64
postgresql 9.3 pgdg93
postgresql 9.4 pgdg94
postgresql 9.5 pgdg95
remi remi remi-php55 remi-php56 remi-php70 remi-php71 remi-php72 remi-php73 remi-test
rpmforge rpmforge rpmforge-extra rpmforge-testing

nb: epel, ius and remi also provides the debuginfo and source variants of their repos.

Amazon Linux

Actually almost everything can be found up to date on the Amazon repos (both amzn and amzn-preview), only adding the few softwares that might be missing from it.

name provides
hortonworks ambari-1x HDP-1.3.0.0 HDP-UTILS-1.1.0.15

Debian 7

name provides
backports backports
docker docker
dotdeb dotdeb
elasticsearch elasticsearch-2.x
jenkins jenkins
mongodb mongodb
mysql mysql56-community
nginx nginx
percona percona
postgresql postgresql

nb: deb-src is not provided. deb is only provided.

Debian 8

name provides
backports backports
docker docker
dotdeb dotdeb
elasticsearch elasticsearch-2.x
jenkins jenkins
mongodb mongodb
mysql mysql56-community
nginx nginx
percona percona
postgresql postgresql

nb: deb-src is not provided. deb is only provided.

About

Ansible role, which installs repositories and signing keys for them on your server.

Resources

License

Stars

Watchers

Forks

Packages

No packages published