1
0
mirror of https://github.com/oVirt/ovirt-ansible-repositories.git synced 2026-02-05 09:46:23 +01:00

ovirt-ansible-repositories: bump ansible to 2.9 (#36)

* ovirt-ansible-repositories: bump ansible to 2.9

* change ansible version in galaxy info
This commit is contained in:
Martin Nečas
2019-11-19 13:32:06 +01:00
committed by Ondra Machacek
parent e5fce8f326
commit f506c22500
7 changed files with 9 additions and 10 deletions

View File

@@ -26,7 +26,7 @@ So you can use any of these names. This documentation and examples in this repos
Requirements
------------
* Ansible version 2.5
* Ansible version 2.9
Role Variables
--------------

View File

@@ -1,6 +1,5 @@
distros:
- fc29
- fc30
- el7
release_branches:
master: [ "ovirt-master", "ovirt-4.3", "ovirt-4.2" ]
master: [ "ovirt-master" ]

View File

@@ -1,6 +1,6 @@
#!/bin/bash
VERSION="1.1.6"
VERSION="1.2.0"
MILESTONE=master
RPM_RELEASE="0.1.$MILESTONE.$(date -u +%Y%m%d%H%M%S)"

View File

@@ -5,7 +5,7 @@ galaxy_info:
license: Apache License 2.0
min_ansible_version: 2.5
min_ansible_version: 2.9
platforms:
- name: EL

View File

@@ -13,7 +13,7 @@ Group: Virtualization/Management
BuildArch: noarch
Url: http://www.ovirt.org
Requires: ansible >= 2.7.2
Requires: ansible >= 2.9.0
%description
This Ansible role is used to set up the repositories required for

View File

@@ -2,7 +2,7 @@
- name: Perform parameter compatibility check
fail:
msg: "Subcription manager could be used only on Red Hat Enterprise Linux"
when: ovirt_repositories_use_subscription_manager == True and not (ansible_distribution == 'RedHat')
when: ovirt_repositories_use_subscription_manager and not (ansible_distribution == 'RedHat')
- name: Backup current repositories
include_tasks: backup-repos.yml
@@ -14,8 +14,8 @@
- name: Setup repositories using Subscription Manager
include_tasks: rh-subscription.yml
when: ovirt_repositories_use_subscription_manager | bool == True
when: ovirt_repositories_use_subscription_manager | bool
- name: Setup repositories using oVirt release package
include_tasks: rpm.yml
when: ovirt_repositories_use_subscription_manager | bool == False
when: not ovirt_repositories_use_subscription_manager | bool

View File

@@ -1,2 +1,2 @@
ansible-lint
ansible
ansible>=2.9.0