diff options
author | Maciej Skrocki <maciej.skrocki@intel.com> | 2017-09-01 15:33:53 -0700 |
---|---|---|
committer | Ross Brattain <ross.b.brattain@intel.com> | 2017-09-05 00:00:01 -0700 |
commit | a691427480c3a8cad60b275d47d7ddbde1c26f64 (patch) | |
tree | 0c4474ebe7bfa260c94cfddd4e53c3f688333a16 /ansible/roles/docker/templates/RedHat-repos.j2 | |
parent | 22dfb4fcb474ac201a22c5b3ce3c34baec641f9d (diff) |
Introduced ansible playbook to setup NSB.
Change-Id: I5865cd50d5fde26e9e9fc265d4385372d668413f
Signed-off-by: Maciej Skrocki <maciej.skrocki@intel.com>
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
Diffstat (limited to 'ansible/roles/docker/templates/RedHat-repos.j2')
-rw-r--r-- | ansible/roles/docker/templates/RedHat-repos.j2 | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ansible/roles/docker/templates/RedHat-repos.j2 b/ansible/roles/docker/templates/RedHat-repos.j2 new file mode 100644 index 000000000..6d367408c --- /dev/null +++ b/ansible/roles/docker/templates/RedHat-repos.j2 @@ -0,0 +1,7 @@ +[dockerrepo] +name=Docker Repository +# $releasever for RHEL 7 is '7Server' so we can't use $releasever +baseurl={{ docker_project_url }}/repo/main/{{ ansible_distribution|lower|regex_replace('redhat', 'centos') }}/{{ ansible_distribution_major_version }}/ +enabled=1 +gpgcheck=1 +gpgkey={{ docker_project_url }}/gpg |