mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-15 09:23:06 -06:00
hotfix: Install lxml via pip ansible module
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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']"
|
||||
|
||||
Reference in New Issue
Block a user