Correction:
- assert:
that:
- q is search('abc\\t' | regex_escape)
using regex_escape to avoid escaping manually the backslashes ('abct')
On Monday, June 20, 2022 at 11:09:15 PM UTC+2 tterr...@gmail.com wrote:
> There is also the case that the search te
the search test, I need to search for ...b\\t... in single quotes.
> On Monday, June 20, 2022 at 9:22:37 PM UTC+2 vbo...@gmail.com wrote:
>
>> On Mon, 20 Jun 2022 02:36:37 -0700 (PDT)
>> "tterr...@gmail.com" wrote:
>>
>> > q:
>> > - 'ab
0, 2022 at 9:22:37 PM UTC+2 vbo...@gmail.com wrote:
> On Mon, 20 Jun 2022 02:36:37 -0700 (PDT)
> "tterr...@gmail.com" wrote:
>
> > q:
> > - 'abc'
> > - 123
> >
> > - debug:
> > msg: >-
> > {{ q is search('abc\t')
Here is an example:
- hosts: localhost
gather_facts: false
vars:
q:
- 'abc'
- 123
tasks:
- debug:
msg: >-
{{ q is search('abc\t') }}
This returns false. I have tried different variations of the regex, but
nothing worked. Is this possible to do?
--
Yo
I opened an issue:
https://github.com/ansible-community/community-topics/issues/105
On Tuesday, May 24, 2022 at 4:55:55 PM UTC+3 Brian Coca wrote:
> FYI, the collection is 'owned' by Google itself.
>
>
> --
> --
> Brian Coca
>
>
--
You received this message because you are subscribed
Hello,
The google.cloud collection:
- had only one commit the past 6 months
- no release for almost 1.5 years
- 90 open and completely unanswered issues
- 26 pull requests ignored
- does not support hundreds of APIs and operations for google cloud.
Also, ansible was removed from the magic module
I am trying to use ansible-test to test my collections. So far, ansile-test
seems too opinionated of a tool for general-purpose use. For instance, I am
trying to use a custom yamlling config with it but i cant find a way. Is
this supported?
--
You received this message because you are subscrib
I remember quite some time ago reading somewhere a proposed structure for
collections that included a tasks folder, along with playbooks, roles, etc.
Is support for tasks in collections still planned, so that they can be
loaded with `include_tasks: my.namespace.task_file`?
--
You received thi
I am trying to run a loop over a task and I am registering the results. The
items in the loop are not unique and can repeat. I don't want to run the
same item twice. So, in the same task, I want to use a conditional to check
if the current loop item has run so far in the loop. For this, I use th
Yes, handlers make sense. But what if I want to make requests that have a
rate limit, e.g 1req / sec?
On Friday, September 11, 2020 at 10:56:26 AM UTC+2 brae...@gmail.com wrote:
> On 9/11/20 10:50 AM, tterr...@gmail.com wrote:
> > I have an inventory containing a few dozens hosts.
&
I have an inventory containing a few dozens hosts.
I have a short playbook that configures a monitoring service on a single
server. I build the contents of a per host config for the monitoring
service and then I upload it to the monitoring service and restart the
service in order for it to read
OK thanks a lot!
On Wednesday, September 9, 2020 at 5:59:16 PM UTC+2 Felix Fontein wrote:
> Hi,
>
> > Will installing ansible-lint from its development branch help?
>
> probably not, since it requires ansible >= 2.8:
> https://github.com/ansible/ansible-lint/blob/master/setup.cfg#L73
>
> If you i
Will installing ansible-lint from its development branch help?
On Wednesday, September 9, 2020 at 5:50:42 PM UTC+2 Felix Fontein wrote:
> Hi,
>
> > Can it be that ansible-lint breaks it?
>
> that's very likely, since it has a dependency on ansible, which right
> now means ansible 2.9. The situati
Can it be that ansible-lint breaks it?
On Wednesday, September 9, 2020 at 5:36:57 PM UTC+2 tterr...@gmail.com
wrote:
> In the past, yes I had, also from the devel branch using pip.
>
> At one point, I decided to update and re-installed ansible using pip from
> the devel branch.
In the past, yes I had, also from the devel branch using pip.
At one point, I decided to update and re-installed ansible using pip from
the devel branch. I got weird errors, searched, found out I had to remove
previous version, I uninstalled everything and then re-installed the devel
branch.
I am using:
sudo pip install git+https://github.com/ansible/ansible@devel
pip install git+https://github.com/ansible/ansible@devel --user
to install ansible. I have uninstalled any previous versions. I am using
python 3.8.
After installation is complete, I do not have the "ansible",
"ansible
ad to be run first, so I simply collected
> all the variables I needed into one dictionary and then stored that
> dictionary in a file for further reuse by other components.
>
> kind regards
> Pshem
>
>
> On Wed, 24 Jun 2020 at 03:54, tterr...@gmail.com
> wrote:
&g
I have a big ansible project where I have separated my files into
playbooks, vars files, an inventory folder and roles. These files make
extensive use of jinja templates.
For my use case, I need to be able to access the variables in these files
outside ansible. So far, I have included `copy` ta
18 matches
Mail list logo