Skip to content

Commit

Permalink
Merge pull request #100 from DaisyDomergue/master
Browse files Browse the repository at this point in the history
Allow user-provided templates #73
  • Loading branch information
geerlingguy committed Jan 29, 2024
2 parents 09c948d + f0b8fa8 commit f546443
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions defaults/main.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
firewall_bash_template: firewall.bash.j2
firewall_state: started
firewall_enabled_at_boot: true

Expand Down
2 changes: 1 addition & 1 deletion tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
- name: Copy firewall script into place.
template:
src: firewall.bash.j2
src: "{{ firewall_bash_template | default(firewall_bash_template)}}"
dest: /etc/firewall.bash
owner: root
group: root
Expand Down

0 comments on commit f546443

Please sign in to comment.