mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-17 02:13: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-devel \
|
||||||
python3-pip \
|
python3-pip \
|
||||||
python2-boto3 \
|
python2-boto3 \
|
||||||
python2-botocore \
|
python2-botocore
|
||||||
python-pip
|
|
||||||
|
|
||||||
python -m pip install lxml
|
|
||||||
|
|
||||||
else
|
else
|
||||||
# FIXME: Currently assumes Debian-based
|
# FIXME: Currently assumes Debian-based
|
||||||
|
|||||||
@@ -136,6 +136,8 @@
|
|||||||
register: crowd_cfg_stat_result
|
register: crowd_cfg_stat_result
|
||||||
|
|
||||||
- name: Assert JDBC password to same as atl_jdbc_password
|
- name: Assert JDBC password to same as atl_jdbc_password
|
||||||
|
pip:
|
||||||
|
name: lxml==4.6.1
|
||||||
xml:
|
xml:
|
||||||
path: "{{ atl_product_home_shared }}/crowd.cfg.xml"
|
path: "{{ atl_product_home_shared }}/crowd.cfg.xml"
|
||||||
xpath: "/application-configuration/properties/property[@name='hibernate.connection.password']"
|
xpath: "/application-configuration/properties/property[@name='hibernate.connection.password']"
|
||||||
@@ -143,6 +145,8 @@
|
|||||||
when: crowd_cfg_stat_result.stat.exists
|
when: crowd_cfg_stat_result.stat.exists
|
||||||
|
|
||||||
- name: Assert JDBC url to same as atl_jdbc_url
|
- name: Assert JDBC url to same as atl_jdbc_url
|
||||||
|
pip:
|
||||||
|
name: lxml==4.6.1
|
||||||
xml:
|
xml:
|
||||||
path: "{{ atl_product_home_shared }}/crowd.cfg.xml"
|
path: "{{ atl_product_home_shared }}/crowd.cfg.xml"
|
||||||
xpath: "/application-configuration/properties/property[@name='hibernate.connection.url']"
|
xpath: "/application-configuration/properties/property[@name='hibernate.connection.url']"
|
||||||
|
|||||||
Reference in New Issue
Block a user