Skip to content

Commit

Permalink
create config directories
Browse files Browse the repository at this point in the history
  • Loading branch information
iljarotar committed Dec 4, 2024
1 parent 2f73131 commit 0fd2cd9
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions partition/roles/dhcp/tasks/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,15 @@
loop_control:
label: "{{ item.network }}"

- name: ensure config directories are present
file:
path: "{{ item }}"
state: directory
mode: 0755
loop:
- /etc/dhcp
- /etc/default

- name: render dhcpd conf
template:
src: dhcpd.conf.j2
Expand Down

0 comments on commit 0fd2cd9

Please sign in to comment.