Skip to content

Commit

Permalink
Stop Ansible version check being skipped if a tag is present
Browse files Browse the repository at this point in the history
  • Loading branch information
djowett committed May 25, 2016
1 parent 73dccce commit 906bb51
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion playbook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
- name: Fail if Ansible is ancient
fail: msg="We need Ansible >= 2.0. Please update your kit. 'pip install -U Ansible'"
when: ansible_version.major < 2
tags:
- always

- name: Include vars from local-configure.yml if found
include_vars: "{{ item }}"
Expand Down Expand Up @@ -198,4 +200,3 @@
- name: update timezone
when: ansible_os_family == 'RedHat'
file: src=/usr/share/zoneinfo/{{ timezone|default("UTC\n") }} dest=/etc/localtime state=link force=yes

0 comments on commit 906bb51

Please sign in to comment.