[ansible-devel] Import module error: ansible.utils.display

2019-01-29 Thread Andrew Klychkov
Hi, all! I'm trying to import: 117 from ansible.utils.display import Display in my new module, placed in lib/ansible/modules/database/postgresql/ But during tests and execution the following error occurred: Sanity check using import with Python 2.7 ERROR: Found 1 import issue(s) on python 2.7 whi

Re: [ansible-devel] Import module error: ansible.utils.display

2019-01-29 Thread Andrew Klychkov
execution, via `module.fail_json` or `module.exit_json` > > You can however use `module.warn` to send back warnings that will be > displayed to the user. > > On Tue, Jan 29, 2019 at 3:18 AM Andrew Klychkov > wrote: > >> Hi, all! >> I'm trying to import: >

[ansible-devel] 1. needs help, improvement of postgresql-specific support till the feature freeze 2. for commiters

2019-03-13 Thread Andrew Klychkov
Hello all ! There is the postgresql working group https://github.com/ansible/community/wiki/PostgreSQL that has been created a couple of months ago (thanks dagwieers and gundalow for support). *1st Question* Over the last 3 months we've added 4 new modules to 6 existing, these were: postgresql_idx

[ansible-devel] needs help, improvement of postgresql-specific support

2019-03-13 Thread andrew . klychkov
Hello all ! There is the postgresql working group https://github.com/ansible/community/wiki/PostgreSQL that was created a couple of months ago (thanks dagwieers and gundalow for support). *1st Question* Over the last 3 months we've added 4 new modules to 6 existing, these were: postgresql_idx po

Re: [ansible-devel] Local docker test runner

2019-04-29 Thread Andrew Klychkov
Hello, I can send you a short manual later. Please, ping me to aaklych...@mail.ru пн, 29 апр. 2019 г. в 16:45, Андрей Тужилин : > Hi! > > Is there an easy way to run ansible unittests and integration tests > locally before push? Some kind of preconfigured docker container with all > deps installe

Re: [ansible-devel] Local docker test runner

2019-04-29 Thread Andrew Klychkov
I’v just sent my manual to you. Hope it will be useful пн, 29 апр. 2019 г. в 21:56, Андрей Тужилин : > I've tried it with different shells (bash and fish), different python envs > (MacOS built-in and virtual env with python 2.7 and 3.6) with no luck. All > comes down to this: > > > bash-3.2$ ./bi