Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

Recent questions tagged jinja2

0 votes
1.4k views
1 answer
    I have an Ansible playbook like the one below, I want use nested variable like this: msg={{{{Component}}. ... nested variable, if yes, how to use it? Question&Answers:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.1k views
1 answer
    I have variable named "network" registered in Ansible: { "addresses": { "private_ext": [ { "type": "fixed", " ... know the syntax is wrong but you get the idea. Question&Answers:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
994 views
1 answer
    I'm trying to figure out how to insert an OpenLayers map in a small Flask application. The structure of this ... /questions/65834110/get-an-openlayer-map-in-a-flask-app-template...
asked Oct 7, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
948 views
1 answer
    For example have following list of events: - id: 11 message: "Something happened yet again." - id: ... /access-filters-resulting-object-fields-properties-items-oneliner-in-ansible...
asked Oct 7, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
961 views
1 answer
    I have this list where I want to only get the first word (I would like to remove the "engineering" in all of ... /django-how-to-take-first-word-of-a-string-in-html-template...
asked Oct 7, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.2k views
1 answer
    I have a string "abc1234" and want to store the numbers alone as a separate string. Tried below code. It ... ://stackoverflow.com/questions/65865902/find-digits-in-a-string-jinja...
asked Oct 7, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.9k views
1 answer
    I am trying to iterate over hostvars in an ansible playbook and it appears to be working just fine to several ... /65910468/ansible-jinja-template-hostvars-can-not-get-ansible-host...
asked Oct 7, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.0k views
1 answer
    Say that I want to drop the ajs schema as a clean up activity on our dev db, not as part of a regular ... /65912839/dbt-run-operation-to-call-macros-that-have-non-string-arguments...
asked Oct 7, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.5k views
1 answer
    I'm trying to loop over a simple list of strings & insert each of them into an ansible jinja ... /stackoverflow.com/questions/65942219/jinja-ansible-flat-array-template-loop...
asked Oct 7, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.2k views
1 answer
    I am using this JS function to populate a select option with "states" from a countries list in a JSON file. $('#state' ... option-in-a-jinja-for-loop-that-is-being-populated-by-a-j...
asked Oct 7, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.3k views
1 answer
    Based on extra vars parameter I Need to write variable value in ansible playbook ansible-playbook playbook.yml - ... /23264226/how-to-write-dynamic-variable-in-ansible-playbook...
asked Oct 6, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.8k views
1 answer
    Based on extra vars parameter I Need to write variable value in ansible playbook ansible-playbook playbook.yml - ... /23264226/how-to-write-dynamic-variable-in-ansible-playbook...
asked Oct 6, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.7k views
1 answer
    I received the following data from the setup module: "ansible_nodename": "3d734bc2a391", "ansible_os_family": "RedHat", " ... -a-list-from-the-output-of-setup-module-in-ansibl...
asked Oct 6, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.2k views
1 answer
    I'm using Python 2.6 and Jinja2 to create HTML reports. I provide the template with many results and ... //stackoverflow.com/questions/5040532/python-ascii-codec-cant-decode-byte...
asked Oct 6, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.4k views
1 answer
    I'm using Python 2.6 and Jinja2 to create HTML reports. I provide the template with many results and ... //stackoverflow.com/questions/5040532/python-ascii-codec-cant-decode-byte...
asked Oct 6, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.0k views
1 answer
    Is there a way to add no commands in templates based on difference and not hardcoding any variable to be removed in a separate file ... 10.5.5.98 no ip dhcp relay address 10.5.5.99...
asked Feb 19, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
998 views
1 answer
    Apologies for asking dumb question. But I tried many different approaches but none of them seems to work. I have a ... % endif %} Any help is appreciated. Thanks in advance....
asked Feb 19, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.4k views
1 answer
    Friends, I am learning Ansible here and trying to apply what I am learning to one of my simple projects. I got stuck ... 't figure out another way to get this done. Any Idea?...
asked Feb 19, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.1k views
1 answer
    In Ansible, I currently have vars set out like this container_a_version: 1 container_b_version: 6 container_c_version: 3 ... container version in my template. Is this possible?...
asked Jan 27, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
5.1k views
1 answer
    running-config on the switch: switch-1# interface Ethernet1/1 ip dhcp relay address 1.1.1.2 j2 template: {% ... without needing to delete the ip from variable list (dhcp_servers)...
asked Jan 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
4.3k views
1 answer
    I'm trying to figure out how to insert an OpenLayers map in a small Flask application. The structure of this app is as ... what's wrong. How do you debug such error-less errors?...
asked Jan 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
4.4k views
1 answer
    I'm trying to figure out how to insert an OpenLayers map in a small Flask application. The structure of this app is as ... what's wrong. How do you debug such error-less errors?...
asked Jan 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
To see more, click for the full list of questions or popular tags.
Ask a question:
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...