ers/main.yml
--
Nick Groenen | zoni | @NickGroenen
https://zoni.nl | GnuPG/GPG key ID: 0xAB5382F6
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to an
roles:
- role: common
- role: nfsserver
--
Nick Groenen | zoni | @NickGroenen
https://zoni.nl | GnuPG/GPG key ID: 0xAB5382F6
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop recei
Yes, if Ansible sees that as None, then you could use |default(None) like this:
when: foo|default(None) != None
--
Nick Groenen | zoni | @NickGroenen
https://zoni.nl | GnuPG/GPG key ID: 0xAB5382F6
--
You received this message because you are subscribed to the Google Groups
"Ansible Pr
If setting it to an empty string when you don't want it to run is okay
for your use case, you could do:
when: foo|default("") != ""
That will compare against the value of foo when it's defined, and
otherwise compare against an empty string.
--
Nick Groenen | zoni
help somewhat with this problem,
once it's implemented.
--
Nick Groenen | zoni | @NickGroenen
https://zoni.nl | GnuPG/GPG key ID: 0xAB5382F6
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and s
all ports 80 and 443
iptables:
state: present
ipversion: "{{ item }}"
name: 50_nginx
rules: |
-A INPUT -p tcp -m tcp --dport 80 -j ACCEPT
-A INPUT -p tcp -m tcp --dport 443 -j ACCEPT
with_items: [4,6]
when: nginx_firewall_integration|default(False)
[1]: ht
uggestions or tips from others as to a better approach than
> putting $STOW and $PATH modifications / exports in the .bashrc of the
> sysadmin user.
I'm not aware of any universal way to do so, either.
--
Nick Groenen | zoni | @NickGroenen
https://zoni.nl | GnuPG/GPG key ID: 0xAB5382
sh for example)? Is there a specific
reason you can't just set any necessary environment variables in your
playbook, and/or call programs by their full path instead of relying
on $PATH?
--
Nick Groenen | zoni | @NickGroenen
https://zoni.nl | GnuPG/GPG key ID: 0xAB5382F6
--
You received this me