From eca99cefb8a4d765959fc22d0d343a762285a9b6 Mon Sep 17 00:00:00 2001 From: Arya Kiran Date: Fri, 12 Jan 2024 16:25:25 +0530 Subject: [PATCH] apparently i need to use dest instead of target --- pizza1/playbook.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pizza1/playbook.yaml b/pizza1/playbook.yaml index 3170a02..eab5a02 100644 --- a/pizza1/playbook.yaml +++ b/pizza1/playbook.yaml @@ -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: