summaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/roles/setup-network/tasks
diff options
context:
space:
mode:
Diffstat (limited to 'deploy/adapters/ansible/roles/setup-network/tasks')
-rw-r--r--deploy/adapters/ansible/roles/setup-network/tasks/main.yml3
1 files changed, 1 insertions, 2 deletions
diff --git a/deploy/adapters/ansible/roles/setup-network/tasks/main.yml b/deploy/adapters/ansible/roles/setup-network/tasks/main.yml
index 689e6e3d..8667a9b1 100644
--- a/deploy/adapters/ansible/roles/setup-network/tasks/main.yml
+++ b/deploy/adapters/ansible/roles/setup-network/tasks/main.yml
@@ -41,5 +41,4 @@
shell: python /opt/setup_networks/setup_networks.py
- name: add to boot scripts
- shell: update-rc.d net_init defaults 0 6
- when: ansible_os_family == "Debian"
+ service: name=net_init enabled=yes