upt playbook

This commit is contained in:
jaydee 2023-08-29 13:43:01 +02:00
parent fad6a3cf6c
commit d4840c1324

View File

@ -20,9 +20,9 @@
when: inventory_hostname in groups['router'] when: inventory_hostname in groups['router']
register: ruleset register: ruleset
- name: Pause for 30 seconds - name: Pause for 60 seconds
ansible.builtin.pause: ansible.builtin.pause:
seconds: 30 seconds: 60
- name: Set new ruleset - name: Set new ruleset
command: nvram set vts_rulelist="{{ ruleset.stdout | replace('192.168.77.106', '192.168.77.246') }}" command: nvram set vts_rulelist="{{ ruleset.stdout | replace('192.168.77.106', '192.168.77.246') }}"
@ -71,7 +71,7 @@
- name: Pause for 30 seconds - name: Pause for 30 seconds
ansible.builtin.pause: ansible.builtin.pause:
seconds: 30 seconds: 60
#- debug: #- debug:
# msg: "{{ ruleset.stdout }}" # msg: "{{ ruleset.stdout }}"