Switch variable name

Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
Paul Belanger 2016-02-05 14:40:03 -05:00
parent b795b70765
commit b16717461c
2 changed files with 4 additions and 4 deletions

View File

@ -12,4 +12,4 @@
# License for the specific language governing permissions and limitations # License for the specific language governing permissions and limitations
# under the License. # under the License.
--- ---
jenkins_plugins_list: [] jenkins_plugins_manager: []

View File

@ -14,9 +14,9 @@
--- ---
- name: Download - name: Download
get_url: get_url:
dest: /var/lib/jenkins/plugins/ dest: "{{ jenkins_config_home }}/plugins/"
url: https://updates.jenkins-ci.org/latest/{{ item }}.hpi url: "https://updates.jenkins-ci.org/download/plugins/{{ item.name }}/{{ item.version | default('latest') }}/{{ item.name }}.hpi"
with_items: with_items:
- "{{ jenkins_plugins_list }}" - "{{ jenkins_plugins_manager }}"
notify: notify:
- Restart jenkins - Restart jenkins