diff --git a/playbooks/test_replace.yml b/playbooks/test_replace.yml index c7b726c..cc7db9f 100644 --- a/playbooks/test_replace.yml +++ b/playbooks/test_replace.yml @@ -19,4 +19,11 @@ msg: "var is {{ app_path }}" - name: Set ruleset command: nvram set vts_rulelist={{ app_path }} - when: inventory_hostname in groups['router'] \ No newline at end of file + when: inventory_hostname in groups['router'] + + - name: Commit ruleset + command: nvram commit + when: inventory_hostname in groups['router'] + - name: Commit ruleset + command: service restart_firewall + when: inventory_hostname in groups['router']