Skip to content
This repository has been archived by the owner on Sep 16, 2022. It is now read-only.

Problem: Setup on 18.04 fails with python error #1

Open
weex opened this issue Jul 23, 2021 · 0 comments
Open

Problem: Setup on 18.04 fails with python error #1

weex opened this issue Jul 23, 2021 · 0 comments

Comments

@weex
Copy link

weex commented Jul 23, 2021

Hello, I'm attempting to setup a live demo server of Trustroots and followed the readme in this repo and chose Ubuntu 18.04.5 since no OS was specified but it failed on this step.

$ debops bootstrap -l dev2
[DEPRECATION WARNING]: Ansible will require Python 3.8 or newer on the 
controller starting with Ansible 2.12. Current version: 3.6.9 (default, Jan 26 
2021, 15:33:00) [GCC 8.4.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.
Traceback (most recent call last):
  File "/home/dsterry/env/bin/debops", line 276, in <module>
    sys.exit(main(sys.argv[1:]))
  File "/home/dsterry/env/bin/debops", line 252, in main
    monorepo_path, inventory_path)
  File "/home/dsterry/env/bin/debops", line 149, in gen_ansible_cfg
    if (ver(ansible_version) >= ver("1.7") and
  File "/usr/lib/python3.6/distutils/version.py", line 70, in __ge__
    c = self._cmp(other)
  File "/usr/lib/python3.6/distutils/version.py", line 337, in _cmp
    if self.version < other.version:
TypeError: '<' not supported between instances of 'str' and 'int'

This is in attempt to create a production install document in OpenHospitalityNetwork/fedi-trustroots#10

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant