clear query| facets| time Search criteria: author:"Dick Visser".   Results from 1 to 10 from 320 (0.0s).
Loading phrases to help you
refine your search...
[expand - 1 more] - [ansible-project] Re: Templating PHP and quoting vars - Ansible - [mail # user]
...I've come up with this custom filter: def phpescape(var, quote='\''):     """Escape a value based on it's type.     This is usefull for templating PHP files, where you need to quote...
...     strings but not booleans/null/etc.     """     if isinstance(var, string_types):         return quote + var + quote     elif var is None:         return 'null'     return var This way I can keep...
... 2017 at 11:52, Dick Visser  wrote: > Hi > > I'm templating PHP configuration files, but having some issues trying > to make variables work that can be different types. > Take for instance...
... be quotes around the value. > The same happens for other variables that can be string or boolean. > > If I add quotes to the template then those will also surround > null/booleans, resulting...
... in working PHP code, but with the wrong > outcome: > > session_cookie_domain: 'null' > > > > What I'm looking for is a way to have jinja add quotes depending on > the type of var that is being...
   Author: Dick Visser , 2017-07-29, 11:00
[expand - 1 more] - [ansible-project] Need to Replace single quote with double quotes in Ansible - Ansible - [mail # user]
...On Mon, 26 Aug 2019 at 18:19, Dick Visser  wrote: > > On Mon, 26 Aug 2019 at 11:03, Mohtashim S  wrote: > > > > I have a multiline variable "filedet" that contains string text having...
... multiple single quotes. > > > > I wish to replace the single quote to double quotes so that It can be acceptable for SQL query and below is what I tried. > > > >     filedet: "{{ ( filedet...
... that you're getting an error. It would have been nice to report that. In any case, what you have now will result in a loop. I you really must, you can replace the single quotes with double quotes...
... by:  doubles: "{{ filedet | regex_replace(\"'\", '\"') }}" Not sure why you're putting parentheses around the variable? Dick -- Dick Visser Trust & Identity Service Operations Manager GÉANT -- ...
   Author: Dick Visser , 2019-08-26, 16:37
[expand - 3 more] - Help: cant get Ansible blockinfile to work - Ansible - [mail # user]
...Those changes are to ensure compatibility and consistency, and are harmless. Dick On Tue, 29 Oct 2019 at 19:44, Michael  wrote: > Visser, you are right, i truncated the file but i am...
... including the > complete file below this reply. > > Using the solution you provided got me somewhere but i noticed that some > changes in the file with respect to change from double to single quotes...
... requests --> >                 >         > > > On Tuesday, October 29, 2019 at 10:48:36 AM UTC-4, Dick Visser wrote: >> >> On Tue, 29 Oct 2019 at 15:32, Dick Visser  wrote: >> > >> > Thanks...
..."] >>        state: absent >> >> >> Note that you'd have to "pip install lxml" or equivalent for the xml >> module to work. >> >> >> >> >> >> -- >> Dick Visser >> Trust & Identity Service Operations Manager...
   Author: Dick Visser , 2019-10-29, 21:29
[expand - 1 more] - How to filter ipaddress and hostname and store it to different variable - Ansible - [mail # user]
...] ***************************************************************************************************** > fatal: [lab1]: FAILED! => {"msg": "Unexpected templating type error occurred on ({{ ip_addr.split(\n) |  regex_search('^[a-z].*')  }}): expected string or buffer"} You didn't quote the newline...
...-Z]+(-[a-zA-Z]+)*\\.)+[a-zA-Z]{2,}$') | list }}"     - debug:  var=host_list This should give you some results. Dick -- Dick Visser Trust & Identity Service Operations Manager GÉANT...
   Author: Dick Visser , 2019-06-24, 18:43
[expand - 2 more] - Re: mapping AWS 'Username' tag to ansible_user inventory var? - Ansible - [mail # user]
...I had a look at the ec2.py code and I was able to add this as a feature: https://github.com/ansible/ansible/pull/65070 thx!! On Tue, 19 Nov 2019 at 15:01, Dick Visser  wrote: > > On Tue...
..., 19 Nov 2019 at 14:45, Dick Visser  wrote: > > > [tag_Username_admin:centos] > > ansible_user=centos > > This last entry should of course read: > > [tag_Username_centos:vars] > ansible_user...
...=centos -- Dick Visser Trust & Identity Service Operations Manager GÉANT -- ...
   Author: Dick Visser , 2019-11-19, 16:01
Error in expansible script - Ansible - [mail # user]
...=present" >     ^ here > We could be wrong, but this one looks like it might be an issue with > missing quotes.  Always quote template expression brackets when they > start a value. For instance...
.../ansible-project/b78e0ad5-b7a4-41ae-b915-deb786f13b53%40googlegroups.com. -- Dick Visser Trust & Identity Service Operations Manager GÉANT -- ...
   Author: Dick Visser , 2019-07-26, 10:01
[expand - 1 more] - Re: regex_replace flags - Ansible - [mail # user]
...') I would preferred this over hard coded flag options in Ansible. Dick On 5 January 2017 at 12:12, Dick Visser  wrote: > Hi > > One of my plays tries to do a regex_replace on the returned...
...? > > This would make things much more flexible (and powerful!). > > > > -- > Dick Visser > Sr. System & Network Engineer > GÉANT > > Want to join us? We're hiring: https://www.geant.org/jobs -- Dick...
... Visser Sr. System & Network Engineer GÉANT Want to join us? We're hiring: http://www.geant.org/jobs -- To post to this group, send email to [EMAIL PROTECTED]. ...
   Author: Dick Visser , 2017-01-05, 11:38
[expand - 1 more] - [find module][mail module] Report only file name list - Ansible - [mail # user]
... %} You might need to tweak the newlines and formatting a bit. Dick On Thu, 5 Sep 2019 at 10:27, Tran Khang  wrote: > > Hi Visser, > > I'm an ansible newbie, could you please help me in detail...
...://groups.google.com/d/msgid/ansible-project/aa8c88ee-953b-418b-8d03-c7a4c60de12f%40googlegroups.com. -- Dick Visser Trust & Identity Service Operations Manager GÉANT -- ...
   Author: Dick Visser , 2019-09-05, 09:12
[expand - 1 more] - Subdirectories in host_vars - Ansible - [mail # user]
.../main.yaml) and should use the roles/something/defaults/main.yaml for that. The host_vars work as expected. > > On Thursday, 12 September 2019 00:27:45 UTC+2, Dick Visser wrote: >> >> Yes...
...-project/be400fbe-9f32-4722-96fa-65735f9b6210%40googlegroups.com. >> >> >> >> -- >> Dick Visser >> Trust & Identity Service Operations Manager >> GÉANT > > -- > You received this message because...
...@googlegroups.com. > To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/6d83c372-035f-42c0-8ab3-794dbb23553d%40googlegroups.com. -- Dick Visser Trust & Identity...
   Author: Dick Visser , 2019-09-12, 07:04
[expand - 2 more] - lineinfile - simply replace a string - Ansible - [mail # user]
...On 16 May 2017 at 23:37, Dick Visser  wrote: > Then you should use a regex that does just that? > >     lineinfile: >       dest: /tmp/test.txt >       backrefs: yes >       regexp: '^(\s...
...? -- Dick Visser Sr. System & Network Engineer GÉANT Want to join us? We're hiring: https://www.geant.org/jobs -- To post to this group, send email to [EMAIL PROTECTED]. ...
   Author: Dick Visser , 2017-05-17, 07:20