Skip to content
This repository has been archived by the owner on Jun 18, 2021. It is now read-only.

Commit

Permalink
Require Ansible 2.7.2 (#33)
Browse files Browse the repository at this point in the history
Change-Id: Ie10a6347ab6fc13fa4d402c8c3c0eea6da5bbc59
Signed-off-by: Ondra Machacek <[email protected]>
  • Loading branch information
machacekondra authored Nov 21, 2018
1 parent 06c9550 commit c6c8cca
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 336 deletions.
8 changes: 0 additions & 8 deletions library/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,5 @@ Here is list of updated modules:

1. ovirt_hosts.py

- Support `reboot_after_upgrade` parameter in `ovirt_hosts`: [PR](https://github.com/ansible/ansible/pull/35956)
The fix will be available in Ansible 2.6.

- Check if migration failed during upgrade: [PR](https://github.com/ansible/ansible/pull/46104)
The fix will be available in Ansible 2.8.

2. ovirt_auth.py

- In case of token is passed username/pass is not required: [PR](https://github.com/ansible/ansible/pull/42738)
The fix will be available in Ansible 2.6.1.
313 changes: 0 additions & 313 deletions library/ovirt_auth_26.py

This file was deleted.

6 changes: 3 additions & 3 deletions tasks/cluster_policy.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
- name: Get cluster facts
ovirt_clusters_facts:
ovirt_cluster_facts:
auth: "{{ ovirt_auth }}"
pattern: "name={{ cluster_name }}"
check_mode: "no"

- name: Get name of the original scheduling policy
ovirt_scheduling_policies_facts:
ovirt_scheduling_policy_facts:
auth: "{{ ovirt_auth }}"
id: "{{ ovirt_clusters[0].scheduling_policy.id }}"
check_mode: "no"
Expand All @@ -24,7 +24,7 @@
check_mode: "no"

- name: Set in cluster upgrade policy
ovirt_clusters:
ovirt_cluster:
auth: "{{ ovirt_auth }}"
name: "{{ cluster_name }}"
scheduling_policy: cluster_maintenance
Expand Down
Loading

0 comments on commit c6c8cca

Please sign in to comment.