From 7b6776928ec63f184439518eccf0622bfcdbb5dd Mon Sep 17 00:00:00 2001 From: Maxim Kravets Date: Thu, 26 May 2016 15:18:47 +0200 Subject: [PATCH] Ansible 2.x compatibility --- meta/main.yml | 3 ++- tasks/main.yml | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/meta/main.yml b/meta/main.yml index 1bdd550..df81b07 100644 --- a/meta/main.yml +++ b/meta/main.yml @@ -1,11 +1,12 @@ galaxy_info: author: Adham Helal description: "Ansible AWS route53" - min_ansible_version: 1.7 + min_ansible_version: 1.9 platforms: - name: Ubuntu versions: - precise + - trusty categories: - system diff --git a/tasks/main.yml b/tasks/main.yml index 8659bd8..c619fd8 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -24,5 +24,5 @@ value: "{{ item.value }}" overwrite: "{{ item.overwrite | default(omit) }}" retry_interval: "{{ item.retry | default(omit) }}" - with_items: aws_route53_value + with_items: "{{ aws_route53_value }}" when: aws_route53_value | default("") != "" and aws_route53_value is iterable and aws_route53_value is not string