python-ansible: add crypto module for stx 5.0
* crypto module is required for stx 5.0, or the ansible
bootstrap failed with:
```
fatal: [localhost]: FAILED! => {
"reason": "no action detected in task. This often indicates a
misspelled module name, or incorrect module path.\n\nThe error
appears to be in
'/usr/share/ansible/stx-ansible/playbooks/roles/common/create-etcd-certs/tasks/main.yml':
line 12, column 3, but may\nbe elsewhere in the file depending
on the exact syntax problem.\n\nThe offending line appears to
be:\n\n\n- name: Generate private key for etcd server and
client\n ^ here\n"
}
```
* add a patch for crypto module to allow the constraint value
to be lower case to avoid the following issue:
```
File
"/tmp/ansible_openssl_csr_payload_OzIIJq/ansible_openssl_csr_payload.zip/ansible/module_utils/crypto.py",
line 1821, in cryptography_get_basic_constraints
raise OpenSSLObjectError('Unknown basic constraint value "{0}" for
CA'.format(constraint[3:]))
```
Issue-ID: INF-215
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: I856fc8f0ba9cdcb3137de2cffe3e5d9d13765f74