]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
remove ceph-common-coreos role
authorSébastien Han <seb@redhat.com>
Thu, 1 Nov 2018 11:52:00 +0000 (12:52 +0100)
committermergify[bot] <mergify[bot]@users.noreply.github.com>
Thu, 8 Nov 2018 10:22:02 +0000 (10:22 +0000)
This role is not maintained and not tested so removing it.

Signed-off-by: Sébastien Han <seb@redhat.com>
roles/ceph-common-coreos/README.md [deleted file]
roles/ceph-common-coreos/defaults/main.yml [deleted file]
roles/ceph-common-coreos/meta/main.yml [deleted file]
roles/ceph-common-coreos/tasks/install_pip.yml [deleted file]
roles/ceph-common-coreos/tasks/install_pypy.yml [deleted file]
roles/ceph-common-coreos/tasks/main.yml [deleted file]
roles/ceph-common-coreos/templates/install_pip.sh.j2 [deleted file]
roles/ceph-common-coreos/templates/install_python.sh.j2 [deleted file]

diff --git a/roles/ceph-common-coreos/README.md b/roles/ceph-common-coreos/README.md
deleted file mode 100644 (file)
index cd55804..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-# Ansible role: ceph-common
-
-Documentation is available at http://docs.ceph.com/ceph-ansible/.
diff --git a/roles/ceph-common-coreos/defaults/main.yml b/roles/ceph-common-coreos/defaults/main.yml
deleted file mode 100644 (file)
index 6263de7..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-coreos_pypy_version: 4.0.1
-coreos_pypy_arch: linux64
-coreos_pypy_url: https://bitbucket.org/pypy/pypy/downloads/pypy-{{coreos_pypy_version}}-{{coreos_pypy_arch}}.tar.bz2
-pypy_directory: /opt/pypy
-pypy_binary_directory: /opt/bin
-pip_url: https://bootstrap.pypa.io/get-pip.py
-local_temp_directory: /tmp
diff --git a/roles/ceph-common-coreos/meta/main.yml b/roles/ceph-common-coreos/meta/main.yml
deleted file mode 100644 (file)
index 3fa2e94..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
----
-galaxy_info:
-  author: Sébastien Han
-  description: Installs pre-requesite on Ceph for coreos
-  license: Apache
-  min_ansible_version: 2.4
-  platforms:
-    - name: EL
-      versions:
-        - 7
-  galaxy_tags:
-    - system
-dependencies: []
diff --git a/roles/ceph-common-coreos/tasks/install_pip.yml b/roles/ceph-common-coreos/tasks/install_pip.yml
deleted file mode 100644 (file)
index c2c85bb..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
----
-- name: download get_pip.py
-  raw: cd $HOME && https_proxy="{{ lookup('env', 'https_proxy') }}" wget {{pip_url}}
-
-- name: run get-pip.py
-  raw: "{{pypy_binary_directory}}/python $HOME/get-pip.py --proxy='{{ lookup('env', 'https_proxy') }}'"
-
-- name: create local temp directory
-  local_action:
-    module: raw
-      mkdir -p {{local_temp_directory}}
-  become: no
-
-- name: prepare install_pip.sh
-  local_action:
-    module: template
-    src: install_pip.sh.j2
-    dest: "{{local_temp_directory}}/install_pip.sh"
-  become: no
-
-- name: run pip.sh
-  script: "{{local_temp_directory}}/install_pip.sh"
-
-- name: add execute permission
-  raw: chmod a+x {{pypy_directory}}/pip
-
-- name: create pypy_directory
-  raw: mkdir -p {{pypy_binary_directory}}
-
-- name: move python to binary directory
-  raw: mv {{pypy_directory}}/pip {{pypy_binary_directory}}/pip
-
-- name: create .pip
-  raw: touch $HOME/.pip
-
-- name: remove pip.sh
-  local_action:
-    module: file
-    path: "{{local_temp_directory}}/pip.sh"
-    state: absent
-  become: no
diff --git a/roles/ceph-common-coreos/tasks/install_pypy.yml b/roles/ceph-common-coreos/tasks/install_pypy.yml
deleted file mode 100644 (file)
index 41b6e6f..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
----
-- name: download python
-  raw: cd $HOME && https_proxy="{{ lookup('env', 'https_proxy') }}" wget -O - {{coreos_pypy_url}} |tar -xjf -
-
-- name: create pypy_directory
-  raw: mkdir -p {{pypy_binary_directory}}
-
-- name: move pypy to pypy_install_directory
-  raw:  mv $HOME/pypy-{{coreos_pypy_version}}-{{coreos_pypy_arch}} {{pypy_directory}}
-
-- name: create local temp directory
-  local_action:
-    module: raw
-      mkdir -p {{local_temp_directory}}
-  become: no
-
-- name: prepare python executable
-  local_action:
-    module: template
-    src: install_python.sh.j2
-    dest: "{{local_temp_directory}}/install_python.sh"
-  become: no
-
-- name: fix library
-  raw: ln -s /lib64/libncurses.so.5.9 {{pypy_directory}}/lib_pypy/libtinfo.so.5
-
-- name: run install_python.sh
-  script: "{{local_temp_directory}}/install_python.sh"
-
-- name: add execute permission
-  raw: chmod a+x {{pypy_directory}}/python
-
-- name: move python to binary directory
-  raw: mv {{pypy_directory}}/python {{pypy_binary_directory}}/python
-
-- name: create .python
-  raw: touch $HOME/.python
-
-- name: remove install_python.sh
-  local_action:
-    module: file
-    path: "{{local_temp_directory}}/install_python.sh"
-    state: absent
-  become: no
diff --git a/roles/ceph-common-coreos/tasks/main.yml b/roles/ceph-common-coreos/tasks/main.yml
deleted file mode 100644 (file)
index 38ae82c..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
----
-- name: check if there is python
-  raw: stat $HOME/.python
-  register: need_python
-  ignore_errors: true
-  check_mode: no
-
-- include_tasks: install_pypy.yml
-  when: need_python | failed
-
-- name: check if there is pip
-  raw: stat $HOME/.pip
-  register: need_pip
-  ignore_errors: true
-  check_mode: no
-
-- include_tasks: install_pip.yml
-  when: need_pip | failed and need_python | failed
diff --git a/roles/ceph-common-coreos/templates/install_pip.sh.j2 b/roles/ceph-common-coreos/templates/install_pip.sh.j2
deleted file mode 100644 (file)
index af7bc59..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-#!/bin/bash
-
-
-cat > {{pypy_directory}}/pip << EOF
-#!/bin/bash
-LD_LIBRARY_PATH={{pypy_directory}}/lib_pypy:$LD_LIBRARY_PATH exec {{pypy_directory}}/bin/pip "\$@"\
\ No newline at end of file
diff --git a/roles/ceph-common-coreos/templates/install_python.sh.j2 b/roles/ceph-common-coreos/templates/install_python.sh.j2
deleted file mode 100644 (file)
index 04c14f0..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/bash
-
-cat > {{pypy_directory}}/python << EOF
-#!/bin/bash
-LD_LIBRARY_PATH={{pypy_directory}}/lib_pypy:$LD_LIBRARY_PATH exec {{pypy_directory}}/bin/pypy "\$@"\