6 Commits

Author SHA1 Message Date
Andreas Jaeger
ca01a640cf Cleanup py27 support
Make a few cleanups:
- Remove python 2.7 stanza from setup.py
- Add requires on python >= 3.6 to setup.cfg so that pypi and pip
  know about the requirement
- Update classifiers
- Update requirements, no need for python_version anymore

Change-Id: I9ee2b80fd7edfc8e68cf2265cf9a5dadb0691f09
2020-04-05 20:20:10 +02:00
Mark Goddard
512174a828 Bump ansible version constraints to >=2.7,<2.10
This means that ansible 2.9 is typically used, and causes ansible-lint
to fail. Two workarounds have been added to address this:

* Use .get() to avoid passing an undefined object through to_nice_yaml
  filter
* Create a dummy tenks_update_state.py module to avoid ansible-lint
  being confused about our action plugin.

Change-Id: I54388f713e17a47601be2db63a26fc43ca7ac6c8
2020-03-11 16:55:09 +00:00
Mark Goddard
13de0edd6c Install virtualbmc to system when SELinux is enabled
CentOS 8 nodepool images come with SELinux enabled, and prevent systemd
from accessing files in users' home directories. This prevents vbmcd
from starting.

To resolve this, install virtualbmc to the system when SELinux is
enabled.

Change-Id: I5d30aca2b1e1ae897568f6e11fceda39e0b06e17
2020-02-27 15:47:44 +00:00
Mark Goddard
1bd25bd6eb Fix ansible lint job
This was broken by the Ansible 2.8 release:

yaml.representer.RepresenterError:
 ('cannot represent an object', AnsibleUndefined)

Change-Id: I7cfd3b1877792505e85da236a478e2fc2cd79684
2019-05-23 14:07:06 +01:00
Mark Goddard
64eb9d0489 Add os-client-config to requirements.txt
This is required for querying clouds.yaml in standalone mode using the
os_client_config module.

Change-Id: Ica28fd041eef10cfc97df57792a215c92a31b0d6
2018-12-20 17:54:51 +00:00
Will Miller
740432dbd0 Add basic package structure
* Use PBR with minimal setup files to allow packaging
* Add tox configuration and enable PEP8/ansible-lint environments
2018-08-28 11:02:47 +00:00