diff options
| author | Patrick Uiterwijk <puiterwijk@redhat.com> | 2017-02-16 19:53:14 +0000 |
|---|---|---|
| committer | Patrick Uiterwijk <puiterwijk@redhat.com> | 2017-02-16 19:53:14 +0000 |
| commit | 9bc43cb2e55933b2fa6defec466e0884e52b3f2f (patch) | |
| tree | 339a54caf14d2f85d21b01ef297d0766a0425749 /tasks | |
| parent | 47c396423d1fbe18101d68d0fd5c31a432558b59 (diff) | |
| download | ansible-9bc43cb2e55933b2fa6defec466e0884e52b3f2f.tar.gz ansible-9bc43cb2e55933b2fa6defec466e0884e52b3f2f.tar.xz ansible-9bc43cb2e55933b2fa6defec466e0884e52b3f2f.zip | |
Add staging tag repos
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
Diffstat (limited to 'tasks')
| -rw-r--r-- | tasks/yumrepos.yml | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/tasks/yumrepos.yml b/tasks/yumrepos.yml index da4f8933e..15dfad0a2 100644 --- a/tasks/yumrepos.yml +++ b/tasks/yumrepos.yml @@ -65,6 +65,14 @@ - packages - yumrepos +- name: add infrastructure STAGING tags repo - RHEL + copy: src="{{ files }}/common/rhel-infra-tags-stg.repo" dest="/etc/yum.repos.d/infra-tags-stg.repo" + when: (ansible_distribution == 'RedHat' or ansible_distribution == 'CentOS') and env == 'staging' + tags: + - config + - packages + - yumrepos + - name: add infrastructure tags repo - Fedora copy: src="{{ files }}/common/fedora-infra-tags.repo" dest="/etc/yum.repos.d/infra-tags.repo" when: ansible_distribution == 'Fedora' @@ -72,3 +80,11 @@ - config - packages - yumrepos + +- name: add infrastructure STAGING tags repo - Fedora + copy: src="{{ files }}/common/fedora-infra-tags-stg.repo" dest="/etc/yum.repos.d/infra-tags-stg.repo" + when: ansible_distribution == 'Fedora' and env == 'staging' + tags: + - config + - packages + - yumrepos |
