Skip to content

Commit 46a3d02

Browse files
committed
Install python-lxml with the distro-agnostic package module
1 parent a36fc71 commit 46a3d02

File tree

1 file changed

+3
-11
lines changed

1 file changed

+3
-11
lines changed

tasks/download/nexus.yml

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,8 @@
1-
- name: Install lxml dependency for Ansible maven_artifact module (yum).
2-
yum:
1+
---
2+
- name: Install lxml dependency for Ansible maven_artifact module.
3+
package:
34
name: python-lxml
45
state: present
5-
when: ansible_pkg_mgr == 'yum'
6-
7-
- name: Install lxml dependency for Ansible maven_artifact module (apt).
8-
apt:
9-
name: python-lxml
10-
state: present
11-
update_cache: yes
12-
cache_valid_time: 3600
13-
when: ansible_pkg_mgr == 'apt'
146

157
- name: Download AEM quickstart artifact from Nexus.
168
maven_artifact:

0 commit comments

Comments
 (0)