no need for backups in a git

This commit is contained in:
Antonio J. Delgado 2023-04-06 20:36:58 +03:00
parent 0789d46ccb
commit cf7db7e056

View file

@ -48,7 +48,6 @@
option: PublicKey option: PublicKey
value: "{{ public_key | replace('\n', '')}}" value: "{{ public_key | replace('\n', '')}}"
create: true create: true
backup: true
- name: Set allowed IPs to peer conf file - name: Set allowed IPs to peer conf file
ini_file: ini_file:
@ -57,7 +56,6 @@
option: AllowedIPs option: AllowedIPs
value: "{{ vpnes_ip }}/32" value: "{{ vpnes_ip }}/32"
create: true create: true
backup: true
- name: Set end point to peer conf file - name: Set end point to peer conf file
ini_file: ini_file:
@ -66,7 +64,6 @@
option: Endpoint option: Endpoint
value: "{{ ansible_host }}:{{ vpnes_port }}" value: "{{ ansible_host }}:{{ vpnes_port }}"
create: true create: true
backup: true
- name: Create commit with changes to repo of peers - name: Create commit with changes to repo of peers
shell: "git add . && git commit -am 'Update {{ inventory_hostname }}' && git push -f" shell: "git add . && git commit -am 'Update {{ inventory_hostname }}' && git push -f"