apparently i need to use dest instead of target

This commit is contained in:
Arya 2024-01-12 16:25:25 +05:30
parent d0fe187347
commit eca99cefb8
Signed by: arya
GPG Key ID: 842D12BDA50DF120

View File

@ -15,7 +15,7 @@
- name: Setup postfix configs
ansible.builtin.copy:
src: ./configs/postfix
target: /etc/postfix
dest: /etc/postfix
mode: preserve
- name: Restart postfix
ansible.builtin.service:
@ -25,7 +25,7 @@
- name: Setup torrc
ansible.builtin.copy:
src: ./configs/tor/torrc
target: /etc/tor/torrc
dest: /etc/tor/torrc
mode: preserve
# You gotta copy pjsfsvc manually though
- name: Restart tor
@ -36,7 +36,7 @@
- name: Setup haproxy configs
ansible.builtin.copy:
src: ./configs/haproxy/haproxy.cfg
target: /etc/haproxy/haproxy.cfg
dest: /etc/haproxy/haproxy.cfg
mode: preserve
- name: Restart+Enable haproxy
ansible.builtin.service: