summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRodolfo Carvalho <rhcarvalho@gmail.com>2017-01-13 10:06:40 +0100
committerRodolfo Carvalho <rhcarvalho@gmail.com>2017-01-13 16:59:31 +0100
commit43b22a73c43d8975403994b5f085735e1d3786ba (patch)
tree696337ac9b7f1ba7bbee4c47b7ec21b1d777f400
parentac4db698d82d405f3b213f222ae22f62213af000 (diff)
downloadopenshift-43b22a73c43d8975403994b5f085735e1d3786ba.tar.gz
openshift-43b22a73c43d8975403994b5f085735e1d3786ba.tar.bz2
openshift-43b22a73c43d8975403994b5f085735e1d3786ba.tar.xz
openshift-43b22a73c43d8975403994b5f085735e1d3786ba.zip
Move Python modules into role
Allow reuse via role dependency.
-rwxr-xr-xroles/openshift_preflight/base/library/aos_version.py (renamed from library/aos_version.py)0
-rwxr-xr-xroles/openshift_preflight/base/library/check_yum_update.py (renamed from library/check_yum_update.py)0
l---------roles/openshift_preflight/common/library1
-rw-r--r--roles/openshift_preflight/common/meta/main.yml3
l---------roles/openshift_preflight/masters/library1
-rw-r--r--roles/openshift_preflight/masters/meta/main.yml3
l---------roles/openshift_preflight/nodes/library1
-rw-r--r--roles/openshift_preflight/nodes/meta/main.yml3
8 files changed, 9 insertions, 3 deletions
diff --git a/library/aos_version.py b/roles/openshift_preflight/base/library/aos_version.py
index f7fcb6da5..f7fcb6da5 100755
--- a/library/aos_version.py
+++ b/roles/openshift_preflight/base/library/aos_version.py
diff --git a/library/check_yum_update.py b/roles/openshift_preflight/base/library/check_yum_update.py
index 296ebd44f..296ebd44f 100755
--- a/library/check_yum_update.py
+++ b/roles/openshift_preflight/base/library/check_yum_update.py
diff --git a/roles/openshift_preflight/common/library b/roles/openshift_preflight/common/library
deleted file mode 120000
index ba40d2f56..000000000
--- a/roles/openshift_preflight/common/library
+++ /dev/null
@@ -1 +0,0 @@
-../../../library \ No newline at end of file
diff --git a/roles/openshift_preflight/common/meta/main.yml b/roles/openshift_preflight/common/meta/main.yml
new file mode 100644
index 000000000..6f23cbf3b
--- /dev/null
+++ b/roles/openshift_preflight/common/meta/main.yml
@@ -0,0 +1,3 @@
+---
+dependencies:
+ - role: openshift_preflight/base
diff --git a/roles/openshift_preflight/masters/library b/roles/openshift_preflight/masters/library
deleted file mode 120000
index ba40d2f56..000000000
--- a/roles/openshift_preflight/masters/library
+++ /dev/null
@@ -1 +0,0 @@
-../../../library \ No newline at end of file
diff --git a/roles/openshift_preflight/masters/meta/main.yml b/roles/openshift_preflight/masters/meta/main.yml
new file mode 100644
index 000000000..6f23cbf3b
--- /dev/null
+++ b/roles/openshift_preflight/masters/meta/main.yml
@@ -0,0 +1,3 @@
+---
+dependencies:
+ - role: openshift_preflight/base
diff --git a/roles/openshift_preflight/nodes/library b/roles/openshift_preflight/nodes/library
deleted file mode 120000
index ba40d2f56..000000000
--- a/roles/openshift_preflight/nodes/library
+++ /dev/null
@@ -1 +0,0 @@
-../../../library \ No newline at end of file
diff --git a/roles/openshift_preflight/nodes/meta/main.yml b/roles/openshift_preflight/nodes/meta/main.yml
new file mode 100644
index 000000000..6f23cbf3b
--- /dev/null
+++ b/roles/openshift_preflight/nodes/meta/main.yml
@@ -0,0 +1,3 @@
+---
+dependencies:
+ - role: openshift_preflight/base