summaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/roles/dashboard
diff options
context:
space:
mode:
authorcarey.xu <carey.xuhan@huawei.com>2015-12-14 16:57:52 +0800
committercarey.xu <carey.xuhan@huawei.com>2015-12-14 16:57:52 +0800
commitd31ab14e9c9fb8cb715fea4a468c71ae8b11dc5e (patch)
tree52325a8a9d5d54cb30b30b706d2c0745085f4185 /deploy/adapters/ansible/roles/dashboard
parent8345054b0c24c7acb3bca5bb41f9f0e5508c468c (diff)
disable NetworkManager on centos
JIRA: COMPASS-187 Change-Id: I82df8dee1e0cdd7f374552131e78e743c8e11dba Signed-off-by: carey.xu <carey.xuhan@huawei.com>
Diffstat (limited to 'deploy/adapters/ansible/roles/dashboard')
-rw-r--r--deploy/adapters/ansible/roles/dashboard/tasks/main.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/deploy/adapters/ansible/roles/dashboard/tasks/main.yml b/deploy/adapters/ansible/roles/dashboard/tasks/main.yml
index 5afcb157..ea9b829b 100644
--- a/deploy/adapters/ansible/roles/dashboard/tasks/main.yml
+++ b/deploy/adapters/ansible/roles/dashboard/tasks/main.yml
@@ -11,6 +11,9 @@
- name: restart http services
service: name={{ http_service }} state=restarted enabled=yes
+- name: write services to monitor list
+ lineinfile: dest=/opt/service create=yes line='{{ http_service }}'
+
- name: install dashboard packages
action: "{{ ansible_pkg_mgr }} name={{ item }} state=present"
with_items: packages | union(packages_noarch)