Skip to content

Commit

Permalink
Install python-lxml with the distro-agnostic package module
Browse files Browse the repository at this point in the history
  • Loading branch information
interatom committed Dec 12, 2017
1 parent a36fc71 commit 46a3d02
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions tasks/download/nexus.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,8 @@
- name: Install lxml dependency for Ansible maven_artifact module (yum).
yum:
---
- name: Install lxml dependency for Ansible maven_artifact module.
package:
name: python-lxml
state: present
when: ansible_pkg_mgr == 'yum'

- name: Install lxml dependency for Ansible maven_artifact module (apt).
apt:
name: python-lxml
state: present
update_cache: yes
cache_valid_time: 3600
when: ansible_pkg_mgr == 'apt'

- name: Download AEM quickstart artifact from Nexus.
maven_artifact:
Expand Down

0 comments on commit 46a3d02

Please sign in to comment.