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