hotfix: Install lxml via pip ansible module

This commit is contained in:
Dylan Rathbone
2020-11-04 08:17:33 +10:00
parent 8de2dbf226
commit 27ab1a8fa1
2 changed files with 5 additions and 4 deletions

View File

@@ -8,10 +8,7 @@ if [[ $ID = "amzn" ]]; then
python3-devel \
python3-pip \
python2-boto3 \
python2-botocore \
python-pip
python -m pip install lxml
python2-botocore
else
# FIXME: Currently assumes Debian-based

View File

@@ -136,6 +136,8 @@
register: crowd_cfg_stat_result
- name: Assert JDBC password to same as atl_jdbc_password
pip:
name: lxml==4.6.1
xml:
path: "{{ atl_product_home_shared }}/crowd.cfg.xml"
xpath: "/application-configuration/properties/property[@name='hibernate.connection.password']"
@@ -143,6 +145,8 @@
when: crowd_cfg_stat_result.stat.exists
- name: Assert JDBC url to same as atl_jdbc_url
pip:
name: lxml==4.6.1
xml:
path: "{{ atl_product_home_shared }}/crowd.cfg.xml"
xpath: "/application-configuration/properties/property[@name='hibernate.connection.url']"