This file contains 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
# Installation | |
python3 -m venv venv | |
. venv/bin/activate | |
pip install ansible-argspec-gen[base] | |
# Dry run with diagnostics | |
ansible-argspec-gen --diff --dry-run sample.py | |
echo $? # Will report back 1 | |
# Perform changes |
This file contains 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
server { | |
{% for location in nginx_extra_basic_location_options %} | |
{{ location }}; | |
{% endfor %} | |
} |
This file contains 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
--- | |
- hosts: localhost | |
gather_facts: false | |
tasks: | |
- name: Test | |
shell: echo {{ item }} | |
with_flattened: | |
- [ a, b, c ] | |
- [ d, e ] |
OlderNewer