diff options
Diffstat (limited to 'roles/host_test')
| -rw-r--r-- | roles/host_test/handlers/main.yml | 2 | ||||
| -rw-r--r-- | roles/host_test/tasks/main.yml | 13 |
2 files changed, 15 insertions, 0 deletions
diff --git a/roles/host_test/handlers/main.yml b/roles/host_test/handlers/main.yml new file mode 100644 index 0000000..46fcbde --- /dev/null +++ b/roles/host_test/handlers/main.yml @@ -0,0 +1,2 @@ +- name: Apply rc.conf + shell: service kld start; service netif restart && service routing restart diff --git a/roles/host_test/tasks/main.yml b/roles/host_test/tasks/main.yml new file mode 100644 index 0000000..1246073 --- /dev/null +++ b/roles/host_test/tasks/main.yml @@ -0,0 +1,13 @@ +- name: Set up /etc/rc.conf + template: + src: "{{ playbook_dir }}/roles/host/templates/etc_rc.conf.j2" + dest: /etc/rc.conf + owner: root + group: wheel + mode: "0644" + vars: + is_prod: false + notify: Apply rc.conf + +- name: Flush handlers + meta: flush_handlers |
