Skip to content
This repository has been archived by the owner on Jul 5, 2020. It is now read-only.

Commit

Permalink
Merge pull request #40 from infOpen/fix_variable_defined
Browse files Browse the repository at this point in the history
Fix problem if skip this role
  • Loading branch information
achaussier committed Mar 22, 2016
2 parents e6770ee + 4e52872 commit 9506d9a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tasks/manage_plugins.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,5 +61,7 @@

- name : Restart Jenkins once all plugins enabled
include : "{{ role_path }}/handlers/restart_and_waiting_jenkins.yml"
when: "{{ jenkins_tasks_enable_plugins.changed }}"
when:
- "{{ jenkins_tasks_enable_plugins is defined }}"
- "{{ jenkins_tasks_enable_plugins.changed }}"

0 comments on commit 9506d9a

Please sign in to comment.