Created
July 30, 2020 15:02
-
-
Save zeitounator/33edb7a5e7eb5450fddc8424eb788cac to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ ansible --version | |
ansible 2.9.11 | |
config file = None | |
configured module search path = ['/home/USER/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] | |
ansible python module location = /usr/local/lib/python3.6/dist-packages/ansible | |
executable location = /usr/local/bin/ansible | |
python version = 3.6.9 (default, Jul 17 2020, 12:50:27) [GCC 8.4.0] | |
$ ansible localhost -m debug -a msg="{{ 'myapp' in sites }}" -e '{"sites":{"myapp":{"frontend": 80, "backend": 80}}}' | |
localhost | SUCCESS => { | |
"msg": true | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment