diff options
author | Rodolfo Carvalho <rhcarvalho@gmail.com> | 2017-01-13 10:06:40 +0100 |
---|---|---|
committer | Rodolfo Carvalho <rhcarvalho@gmail.com> | 2017-01-13 16:59:31 +0100 |
commit | 43b22a73c43d8975403994b5f085735e1d3786ba (patch) | |
tree | 696337ac9b7f1ba7bbee4c47b7ec21b1d777f400 | |
parent | ac4db698d82d405f3b213f222ae22f62213af000 (diff) | |
download | openshift-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-x | roles/openshift_preflight/base/library/aos_version.py (renamed from library/aos_version.py) | 0 | ||||
-rwxr-xr-x | roles/openshift_preflight/base/library/check_yum_update.py (renamed from library/check_yum_update.py) | 0 | ||||
l--------- | roles/openshift_preflight/common/library | 1 | ||||
-rw-r--r-- | roles/openshift_preflight/common/meta/main.yml | 3 | ||||
l--------- | roles/openshift_preflight/masters/library | 1 | ||||
-rw-r--r-- | roles/openshift_preflight/masters/meta/main.yml | 3 | ||||
l--------- | roles/openshift_preflight/nodes/library | 1 | ||||
-rw-r--r-- | roles/openshift_preflight/nodes/meta/main.yml | 3 |
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 |