aboutsummaryrefslogtreecommitdiff
path: root/ansible/roles/multipathd/tasks
diff options
context:
space:
mode:
authorSteven Dake <stdake@cisco.com>2016-11-15 19:01:25 -0700
committerSteven Dake <stdake@cisco.com>2016-11-15 21:34:17 -0700
commit3fcef82946f7053affcfb0b1b3ef4292beb9fa95 (patch)
tree0b9083d2cbf7d6c8d372de6b016419d6a719d424 /ansible/roles/multipathd/tasks
parent0963c2255a9718419c1cf8deaff350ea6ddc8472 (diff)
downloadkolla-3fcef82946f7053affcfb0b1b3ef4292beb9fa95.tar.gz
kolla-3fcef82946f7053affcfb0b1b3ef4292beb9fa95.zip
Remove Ansible from Kolla
Change-Id: I5396e4b9927d3e65b6aa4185238a43a4765a996b
Diffstat (limited to 'ansible/roles/multipathd/tasks')
-rw-r--r--ansible/roles/multipathd/tasks/config.yml24
-rw-r--r--ansible/roles/multipathd/tasks/deploy.yml4
-rw-r--r--ansible/roles/multipathd/tasks/main.yml2
-rw-r--r--ansible/roles/multipathd/tasks/precheck.yml1
-rw-r--r--ansible/roles/multipathd/tasks/pull.yml7
-rw-r--r--ansible/roles/multipathd/tasks/reconfigure.yml1
-rw-r--r--ansible/roles/multipathd/tasks/start.yml21
-rw-r--r--ansible/roles/multipathd/tasks/upgrade.yml4
8 files changed, 0 insertions, 64 deletions
diff --git a/ansible/roles/multipathd/tasks/config.yml b/ansible/roles/multipathd/tasks/config.yml
deleted file mode 100644
index a831b32a6..000000000
--- a/ansible/roles/multipathd/tasks/config.yml
+++ /dev/null
@@ -1,24 +0,0 @@
----
-- name: Ensuring config directories exist
- file:
- path: "{{ node_config_directory }}/{{ item }}"
- state: "directory"
- recurse: yes
- when: inventory_hostname in groups['compute']
- with_items:
- - "multipathd"
-
-- name: Copying over config.json files for services
- template:
- src: "{{ item }}.json.j2"
- dest: "{{ node_config_directory }}/{{ item }}/config.json"
- when: inventory_hostname in groups['compute']
- with_items:
- - "multipathd"
-
-- name: Copying over multipath.conf
- template:
- src: "{{ role_path }}/templates/multipath.conf.j2"
- dest: "{{ node_config_directory }}/{{ item }}/multipath.conf"
- with_items:
- - "multipathd"
diff --git a/ansible/roles/multipathd/tasks/deploy.yml b/ansible/roles/multipathd/tasks/deploy.yml
deleted file mode 100644
index 1f16915ad..000000000
--- a/ansible/roles/multipathd/tasks/deploy.yml
+++ /dev/null
@@ -1,4 +0,0 @@
----
-- include: config.yml
-
-- include: start.yml
diff --git a/ansible/roles/multipathd/tasks/main.yml b/ansible/roles/multipathd/tasks/main.yml
deleted file mode 100644
index b017e8b4a..000000000
--- a/ansible/roles/multipathd/tasks/main.yml
+++ /dev/null
@@ -1,2 +0,0 @@
----
-- include: "{{ action }}.yml"
diff --git a/ansible/roles/multipathd/tasks/precheck.yml b/ansible/roles/multipathd/tasks/precheck.yml
deleted file mode 100644
index ed97d539c..000000000
--- a/ansible/roles/multipathd/tasks/precheck.yml
+++ /dev/null
@@ -1 +0,0 @@
----
diff --git a/ansible/roles/multipathd/tasks/pull.yml b/ansible/roles/multipathd/tasks/pull.yml
deleted file mode 100644
index 41d70f65e..000000000
--- a/ansible/roles/multipathd/tasks/pull.yml
+++ /dev/null
@@ -1,7 +0,0 @@
----
-- name: Pulling multipathd image
- kolla_docker:
- action: "pull_image"
- common_options: "{{ docker_common_options }}"
- image: "{{ multipathd_image_full }}"
- when: inventory_hostname in groups['multipathd']
diff --git a/ansible/roles/multipathd/tasks/reconfigure.yml b/ansible/roles/multipathd/tasks/reconfigure.yml
deleted file mode 100644
index ed97d539c..000000000
--- a/ansible/roles/multipathd/tasks/reconfigure.yml
+++ /dev/null
@@ -1 +0,0 @@
----
diff --git a/ansible/roles/multipathd/tasks/start.yml b/ansible/roles/multipathd/tasks/start.yml
deleted file mode 100644
index 2bf69eab2..000000000
--- a/ansible/roles/multipathd/tasks/start.yml
+++ /dev/null
@@ -1,21 +0,0 @@
----
-- name: Starting multipathd container
- kolla_docker:
- action: "start_container"
- common_options: "{{ docker_common_options }}"
- image: "{{ multipathd_image_full }}"
- name: "multipathd"
- ipc_mode: "host"
- privileged: True
- volumes:
- - "{{ node_config_directory }}/multipathd/:{{ container_config_directory }}/:ro"
- - "kolla_logs:/var/log/kolla/"
- - "/etc/localtime:/etc/localtime:ro"
- - "/dev/:/dev/"
- - "/run/:/run/:shared"
- - "/sys/fs/cgroup:/sys/fs/cgroup:ro"
- - "/lib/modules:/lib/modules:ro"
- - "/sys/kernel/config:/configfs"
- - "cinder:/var/lib/cinder"
- - "iscsi_info:/etc/iscsi"
- when: inventory_hostname in groups['compute']
diff --git a/ansible/roles/multipathd/tasks/upgrade.yml b/ansible/roles/multipathd/tasks/upgrade.yml
deleted file mode 100644
index 1f16915ad..000000000
--- a/ansible/roles/multipathd/tasks/upgrade.yml
+++ /dev/null
@@ -1,4 +0,0 @@
----
-- include: config.yml
-
-- include: start.yml