25 Jan 2023 |
felixfontein | yes... | 20:00:12 |
samccann | option 2 - ansible-doc --json - strips out all the semantic markup... ansible-doc --json -v2 leaves it in. Does that work? | 20:00:15 |
felixfontein | i.e. won't happen :) | 20:00:16 |
samccann | heh | 20:00:32 |
felixfontein | what do you mean by stripping semantic markup? simply leaving O(...) and V(...) etc. away would break the documentation | 20:00:45 |
samccann | No, I mean it would have to look at the output, if it sees O(foo-option) it would either remove O(...) or change it to I(..) | 20:03:31 |
felixfontein | the problem is that the quoted text inside could be invalid old markup, like `V(I\()` should show the text `I(`, but there is no way with the old markup to represent that if there's a `)` later in the same paragraph | 20:06:54 |
samccann | ok that translates to me that we'd still potentially be showing some garbage if the downstream projects still with v1 so to speak. We can make 'best effort' to provide backward compatibility but can't guarantee it for this sort of case | 20:20:28 |
samccann | which is sort of (for semantic markup) ..where we are today. ok thanks for the deeper explanation | 20:21:03 |
felixfontein | the question is how much of that compatibility code would ansible-doc accept | 20:53:35 |
samccann | well I think we are back to what you said yesterday - we need a process by which we can enhance this area of the code so it's not perpetually blocked by other projects that depend on it | 20:54:53 |
bcoca | cc | 22:43:35 |
26 Jan 2023 |
| mfann-or joined the room. | 15:29:49 |
laurent-indermuehle | Hello, I can't make ansible-lint > 3.1 works on RHEL8, it's too much work. Is there an example to use it inside creator-ee? Do I need to mount my ansible repo inside? | 15:30:04 |
mfann-or | Does anyone know how to use environment variables in the ansible-navigator.yml file? I'd like to use the user's home directory in the volume mounts like so:
---
ansible-navigator:
execution-environment:
environment-variables:
pass:
- ANSIBLE_HASHI_VAULT_AUTH_METHOD
- ANSIBLE_HASHI_VAULT_ADDR
- ANSIBLE_HASHI_VAULT_ROLE_ID
- ANSIBLE_HASHI_VAULT_SECRET_ID
- ANSIBLE_HASHI_VAULT_TOKEN
- AWS_PROFILE
volume-mounts:
- src: "$HOME/.aws"
dest: "/home/runner/.aws"
options: "Z"
But get the following error:
Error: The following execution-environment.volume-mounts entry could not be parsed: {'src': '$HOME/.aws', 'dest':
'/home/runner/.aws', 'options': 'Z'} (Settings file). Errors were found: Source: '$HOME/.aws' does not exist.
| 15:54:49 |
| zbr joined the room. | 16:48:14 |
| shnee joined the room. | 17:16:14 |
| Guest35 joined the room. | 20:44:17 |
shnee | is there a common convention for where to put molecule tests in a collection, ie at the top level or inside each role? | 23:15:11 |
27 Jan 2023 |
gotmax (He/Him) | In reply to @laurent-indermuehle:matrix.org Hello, I can't make ansible-lint > 3.1 works on RHEL8, it's too much work. Is there an example to use it inside creator-ee? Do I need to mount my ansible repo inside? sudo dnf install python39-pip pip3.9 install ansible-lint
should work on EL 8 | 00:04:43 |
Warkdev | Ansible-lint requires internet access to github repo though. Can't use it in an isolated environment for now. | 07:13:24 |
felixfontein | there's an `--offline` mode, but I'm not sure how offline it really is | 07:24:32 |
laurent-indermuehle | RHEL 8 doesn't ship Selinux Python bindings for 3.9. So no, ansible-lint 7+ won't work | 07:26:24 |
Warkdev | It's looking for the schema on github even in offline mode, no? | 07:26:39 |
felixfontein | Warkdev: no idea, but that would be ... not helpful at all | 07:29:40 |
felixfontein | (I'm still opposed to the idea of dynamically loading schemas, but that's another topic...) | 07:30:04 |
Warkdev | That's at least the default behavior that I observed in my closed env, it's looking for the schemas there 😔 | 07:32:41 |
| ruchip joined the room. | 11:28:40 |
| @big_lebowski:matrix.org left the room. | 16:00:25 |
| helinamark2000 joined the room. | 23:13:54 |