Commit Graph

98 Commits

Author SHA1 Message Date
Victor Zemtsov da0e5f125c Fix versions 2022-08-09 01:50:25 +03:00
Victor Zemtsov ad823aa145 Merge branch 'create_collection' of https://github.com/dangoncalves/ansible-keepass into dangoncalves-create_collection 2022-08-08 23:16:29 +03:00
Victor Zemtsov f7dbfab3db fix #28 a property with multiline value returns an empty string 2022-08-05 13:18:34 +03:00
Victor Zemtsov b6a1beab0e Replace stat.S_ISSOCK with .lock 2022-07-12 23:13:32 +03:00
Daniel Gonçalves afe4bff556
Fix galaxy version 2022-07-09 19:11:43 +02:00
Daniel Gonçalves df3e696702
Update documentation according to the collection previously created. 2022-07-09 18:20:50 +02:00
Daniel Gonçalves 7eb7ba7dbf
Create an Ansible collection 2022-07-09 16:21:07 +02:00
Victor Zemtsov c98c79547b fix remove lock file on except OSError 2022-07-06 01:36:45 +03:00
Victor Zemtsov b6f9819c9c add lock file to ensure run only one socket 2022-07-06 01:09:52 +03:00
Victor Zemtsov b86721ba4c Merge branch 'main' into develop 2022-07-06 00:08:35 +03:00
Victor Zemtsov 9927cc45a7 Add possibility to run socket by cli manually 2022-07-06 00:05:45 +03:00
Victor Zemtsov b38a397727 Add possibility to run socket by cli manually 2022-07-05 23:23:59 +03:00
Victor Zemtsov f042f2e5db Fix zero socket TTL 2022-06-22 10:39:25 +03:00
Victor Zemtsov 992c83a008 Add pykeepass==4.0.1
- Replace socket data format from json to plain text
- Fix fetching entities contains slashes in path
- Move code into one file (socket opening by the plugin)
2022-05-26 09:03:17 +03:00
Victor Zemtsov d8e176a2a6 delete fetching from file wthout socket 2022-05-25 21:55:33 +03:00
Victor Zemtsov d1e9047efa delete Pipfile 2022-05-25 21:37:02 +03:00
Victor Zemtsov d0be0cd66d
Merge pull request #22 from nitram2342/main
File permissions modified (+x) and changed code to use umask instead of chmod()ing the socket file afterwards.
2021-08-19 22:40:30 +03:00
Martin Schobert 0eb98be94a
File permissions modified (+x) and changed code to use umask instead of chmod()ing the socket file afterwards. 2021-08-19 20:50:11 +02:00
Victor Zemtsov 2f6d8c3d27
Merge pull request #20 from viczem/dependabot/pip/lxml-4.6.3
Bump lxml from 4.6.2 to 4.6.3
2021-03-31 22:49:58 +03:00
dependabot[bot] f185be5209
Bump lxml from 4.6.2 to 4.6.3
Bumps [lxml](https://github.com/lxml/lxml) from 4.6.2 to 4.6.3.
- [Release notes](https://github.com/lxml/lxml/releases)
- [Changelog](https://github.com/lxml/lxml/blob/master/CHANGES.txt)
- [Commits](https://github.com/lxml/lxml/compare/lxml-4.6.2...lxml-4.6.3)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-31 19:46:40 +00:00
Victor Zemtsov a413bf284e Fix dependencies 2021-03-01 11:00:28 +03:00
Victor Zemtsov 7fa2e4b23a Fix dependabot alert for cryptography 2021-02-10 12:27:40 +03:00
Victor Zemtsov 7a5dbb4b2f Fix README 2021-01-27 10:36:41 +03:00
Victor Zemtsov ee9a2b52e5 Merge branch 'netzguerilla-kpsock_custom_property' 2021-01-27 10:31:59 +03:00
Victor Zemtsov 494d333715 Add example for get all customs field properties 2021-01-27 10:31:28 +03:00
Victor Zemtsov 06cba5cbac Merge branch 'kpsock_custom_property' of https://github.com/netzguerilla/ansible-keepass into netzguerilla-kpsock_custom_property 2021-01-27 10:09:41 +03:00
Victor Zemtsov 3983eef4f4 Merge branch 'netzguerilla-master' 2021-01-27 10:07:05 +03:00
Victor Zemtsov 2748a771ce Fix README 2021-01-27 10:06:28 +03:00
Victor Zemtsov 9c3f1eb23f Merge branch 'master' of https://github.com/netzguerilla/ansible-keepass into netzguerilla-master 2021-01-27 09:00:43 +03:00
Victor Zemtsov a5d4cc0795 Fix README 2021-01-27 00:27:16 +03:00
Victor Zemtsov b07203e908 Fix Pipfile 2021-01-27 00:00:54 +03:00
Victor Zemtsov 451754265f Merge branch 'thomas-kropeit-feature/ansible-template-evaluation' 2021-01-26 23:45:11 +03:00
hefee e722dca881 Allow asterix * to get all customs field properties. 2020-10-13 16:51:10 +02:00
hefee 2e96dd1808 add documentation for third parameter. 2020-10-13 15:35:33 +02:00
hefee 5f33306f95 Custom field properties via kpsock.
kpsock does needs the information, that a custom field properties is
requested to return the correct value.
2020-10-13 15:10:48 +02:00
Hefee b81ff8c62a make it run with python3 and new pykeepass 2020-10-13 15:04:39 +02:00
Thomas Kropeit 2f23638d8b
Evaluate Ansible templates on input variables
Changes are inspired from the vars-lookup core module: https://github.com/ansible/ansible/blob/devel/lib/ansible/plugins/lookup/vars.py
2020-09-15 15:40:10 +02:00
Victor Zemtsov 1f0388e8be
Merge pull request #5 from Callum17/feature/enable-custom-properties
Added support for custom field properties
2020-06-24 23:42:42 +03:00
Callum McMahon 650fdc51b1
Update README.md
Fixing README for custom field example lookup
2020-06-24 16:18:44 +01:00
callum 8d91f6f46c Removing validation check 2020-06-22 18:30:54 +01:00
callum f6fc6437be Added support for custom field properties 2020-06-22 18:24:26 +01:00
Victor Zemtsov 106c13ad0a Fix remove socket file after close the socket 2020-05-07 18:39:28 +03:00
Victor Zemtsov 9c863f20a9 Fix Readme 2020-05-05 13:46:37 +03:00
Victor Zemtsov f28dbbbb44 Fix removing sock file after socket closed
- Fix NameError global name 'FileNotFoundError' is not defined
- Add checking temp dir is writable before open socket
2020-05-05 12:53:41 +03:00
Victor Zemtsov 998c1a48fc Fix kpsock and add logging
kpsock.py:
- Add logging
- Fix AF_UNIX path too long
- Prevent to open socket > 1
- Some code improvements
2020-03-06 15:02:54 +03:00
Victor Zemtsov 93cb0e34eb Multiple entries with one file open 2019-05-07 00:26:38 +03:00
Victor Zemtsov f126fb5d40 Add alternative usage with UNIX socket 2019-03-21 13:49:33 +03:00
Victor Zemtsov 6a94e2f2c1 Initial commit 2019-03-15 00:32:22 +03:00