Skip to content

Commit

Permalink
Merge branch 'main' into certbot-cloudflare
Browse files Browse the repository at this point in the history
  • Loading branch information
MattKobayashi authored Jun 27, 2023
2 parents 0eb8d31 + 592ac3f commit cc42177
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion yancobat/config-backup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@

- name: Save RouterOS configuration
ansible.builtin.copy:
content: "{{ routeros_conf.stdout[0] | regex_replace('# [0-9a-z]{3,4}[-/]{1}[0-9]{2}[-/]{1}[0-9]{2,4} [0-9]{2}:[0-9]{2}:[0-9]{2} ') }}"
content: "{{ routeros_conf.stdout[0] | regex_replace('# [0-9a-z]{3,4}[-/]{1}[0-9]{2}[-/]{1}[0-9]{2,4} [0-9]{2}:[0-9]{2}:[0-9]{2}', '#') }}"
dest: "/repo/backups/routeros/{{ inventory_hostname }}.txt"
register: routeros_save

Expand Down

0 comments on commit cc42177

Please sign in to comment.