aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/roles/setup-network
diff options
context:
space:
mode:
Diffstat (limited to 'deploy/adapters/ansible/roles/setup-network')
-rwxr-xr-xdeploy/adapters/ansible/roles/setup-network/files/setup_networks/net_init2
-rw-r--r--deploy/adapters/ansible/roles/setup-network/tasks/main.yml3
2 files changed, 2 insertions, 3 deletions
diff --git a/deploy/adapters/ansible/roles/setup-network/files/setup_networks/net_init b/deploy/adapters/ansible/roles/setup-network/files/setup_networks/net_init
index a74a0065..c27a8bf8 100755
--- a/deploy/adapters/ansible/roles/setup-network/files/setup_networks/net_init
+++ b/deploy/adapters/ansible/roles/setup-network/files/setup_networks/net_init
@@ -12,7 +12,7 @@
#
# anamon.init: Starts the cobbler post-install boot notification program
#
-# chkconfig: 35 95 95
+# chkconfig: 35 0 6
#
# description: anamon runs the first time a machine is booted after
# installation.
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