Fix Ansible script warnings
What?
As reported by some friction-logs there some warnings during the ansible run. These are related to a deprecation notice for Python2.7 starting from Ansible 2.12. See an example warning below:
[DEPRECATION WARNING]: Ansible will require Python 3.8 or newer on the controller starting with
Ansible 2.12. Current version: 2.7.16 (default, Oct 10 2019, 22:02:15) [GCC 8.3.0]. This feature will
be removed from ansible-core in version 2.12. Deprecation warnings can be disabled by setting
deprecation_warnings=False in ansible.cfg.
/home/user/.local/lib/python2.7/site-packages/ansible/parsing/vault/__init__.py:44:
CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is
now deprecated in cryptography, and will be removed in the next release.
from cryptography.exceptions import InvalidSignature
We need to fix these warnings.
See attachment for an example of log output of the execution of these ansible scripts.
This issue was openned following https://github.com/GoogleCloudPlatform/point-of-sale/issues/14, since the anthos-bm-edge-deployment sample was moved from that repo to here
@Shabirmean is this issue still relevant?
This is still relavent. However given that the recent refocus of priorities - the ABM-Edge solution is out of scope foe DEE team for now. So closing this issue in favor of only addressing breaking issues on this sample.