From f246600cbb66834c1289bf52cf7bd95cc6428b02 Mon Sep 17 00:00:00 2001 From: clyhtsuriva Date: Sat, 1 Feb 2025 02:12:10 +0100 Subject: Working debian packer template w/ ansible to set up fw rules after reboot --- ansible/playbooks/test.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 ansible/playbooks/test.yml (limited to 'ansible/playbooks/test.yml') diff --git a/ansible/playbooks/test.yml b/ansible/playbooks/test.yml new file mode 100644 index 0000000..638572f --- /dev/null +++ b/ansible/playbooks/test.yml @@ -0,0 +1,13 @@ +--- +- name: Create a file in /root/ called toto with content tata + hosts: all + become: true + tasks: + - name: Ensure /root/toto exists with content "tata" + ansible.builtin.copy: + dest: /root/toto + content: "tata" + owner: root + group: root + mode: '0644' +... -- cgit v1.2.3