clear query| facets| time Search criteria: author:"Brian Coca".   Results from 11 to 20 from 2272 (0.0s).
Loading phrases to help you
refine your search...
Boolean evaluation fails on variables set via inventory - Ansible - [mail # user]
...@mickours, not sure what you are stating, but the inventory has for a long time included code similar to the sample you are quoting. -- Brian Coca -- To post to this group, send email...
   Author: Brian Coca , 2015-11-27, 21:03
Re: Do conditionals work with the replace module? - Ansible - [mail # user]
...no, you are doing and " " string before, which is always true. unless its an empty string. The when will not arbitrarily look inside quotes in hopes there is another conditional...
... in there. ---------- Brian Coca -- To post to this group, send email to [EMAIL PROTECTED]. ...
   Author: Brian Coca , 2016-03-15, 20:39
Stat not working as expected for file exists or not - Ansible - [mail # user]
...That seems unrelated to 'stat', you have an incorrectly formatted YAML file. looking at `path:`, you are missing quotes as the value starts with { see: https://docs.ansible.com/ansible...
.../latest/reference_appendices/YAMLSyntax.html#gotchas -- ---------- Brian Coca -- To post to this group, send email to [EMAIL PROTECTED]. ...
   Author: Brian Coca , 2018-06-27, 21:30
security implications of: local_action: shell command {{ fact_var }} - Ansible - [mail # user]
...No, Ansible can only protect you so much, like in normal shell, you really want to quote variable input: `cat "{{fact123}}"` would work the same as when running a shell script `cat "$MYVAR...
..."` -- Brian Coca -- To post to this group, send email to [EMAIL PROTECTED]. ...
   Author: Brian Coca , 2016-01-23, 19:00
[expand - 3 more] - user.state - Ansible - [mail # user]
...don't use {{ }} in when, its already implied, you'll get weird results, also if present is not a var, it should be quoted, again, double interpolation does not work.   when: hostvars...
...[inventory_hostname][item|basename]['user']['state'] == "present" ---------- Brian Coca -- To post to this group, send email to [EMAIL PROTECTED]. ...
   Author: Brian Coca , 2016-04-25, 20:32
security guidelines for ansible role creators? - Ansible - [mail # user]
... by quoting and escaping as the context requires it. Also try to always use the least privilege needed and disclose as little information as possible. -- Brian Coca -- To post to this group, send...
   Author: Brian Coca , 2016-02-06, 16:48
ansible wont use csh even if it set in inverntory - Ansible - [mail # user]
... this. ansible_shell_type does not force csh execution, it is there for when your default shell is csh and ansible needs to quote thing differently to pipe over ssh. -- Brian Coca -- To post to this group, send...
   Author: Brian Coca , 2015-07-17, 13:01
Re: Not sure why this when: is not working. - Ansible - [mail # user]
... interpolation, that is why you need the quotes.      when: ("{{ inventory_hostname }}" in groups["web"]) or ("{{ > inventory_hostname }}" in groups["web_backend"]) > >      ignore_errors: true...
... > >      notify: restart httpd > > ... > > # vim: set ft=ansible: > > ---------- Brian Coca -- To post to this group, send email to [EMAIL PROTECTED]. ...
   Author: Brian Coca , 2016-11-17, 00:44
Ansible - use variable from another host - Ansible - [mail # user]
... to use a specific hostname. But if you just want any host in the group you can do : hostvars[groups['windows'][0]]['value_to_reuse']['stdout_lines'] Also note that if you don't quote something...
... it will be interpreted as a variable that contains the name, not the variable name you want (list indecies are an exception as they are just numbers). -- ---------- Brian Coca -- To post to this group...
   Author: Brian Coca , 2018-02-22, 20:42
Re: Playbook gives inconsistent results - Ansible - [mail # user]
...       win_ping:       register: result       ignore_errors: yes     - meta: clear_host_errors     - debug:         msg: "{{ inventory_hostname | quote }} {{ result | default() }}" But that is not very...
...: Check server with win_ping         win_ping:         register: result      always:       - debug:           msg: "{{ inventory_hostname | quote }} {{ result | default() }}" ---------- Brian...
... Coca -- To post to this group, send email to [EMAIL PROTECTED]. ...
   Author: Brian Coca , 2017-07-14, 16:07