Commit 33743ed2 by Kevin Falcone

The apt syntax which handles urls in deb: wasn't added until 2.1

Clean up after the revert, we can use the apt module

Note to clean this up
parent c12317cf
......@@ -37,9 +37,13 @@
owner: "{{ jenkins_user }}"
group: "{{ jenkins_group }}"
- name: Install Jenkins package from the internet
# TODO in Ansible 2.1 we can do apt: deb="{{ jenkins_deb_url }}"
- name: download Jenkins package
get_url: url="{{ jenkins_deb_url }}" dest="/tmp/{{ jenkins_deb }}"
- name: install Jenkins package
apt:
deb: "{{ jenkins_deb_url }}"
deb: "/tmp/{{ jenkins_deb }}"
- name: Stop Jenkins
service:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment