summaryrefslogtreecommitdiffstats
path: root/roles
diff options
context:
space:
mode:
authorThomas Wiest <twiest@users.noreply.github.com>2015-03-09 13:33:36 -0400
committerThomas Wiest <twiest@users.noreply.github.com>2015-03-09 13:33:36 -0400
commita7d3c9b09694bf120652805f1a7b62b1ae20260e (patch)
treec8a5d5a9344697fd14726f9699d589f9f271ea00 /roles
parent16b4b62c7f8abfcb690da19d9b3d05a120407f3f (diff)
parent3befc3959b09e6834845b12b42561ef88c97a8be (diff)
downloadopenshift-a7d3c9b09694bf120652805f1a7b62b1ae20260e.tar.gz
openshift-a7d3c9b09694bf120652805f1a7b62b1ae20260e.tar.bz2
openshift-a7d3c9b09694bf120652805f1a7b62b1ae20260e.tar.xz
openshift-a7d3c9b09694bf120652805f1a7b62b1ae20260e.zip
Merge pull request #100 from detiber/randomCleanup
Random cleanup
Diffstat (limited to 'roles')
-rw-r--r--roles/openshift_common/README.md30
-rw-r--r--roles/openshift_common/meta/main.yml2
-rw-r--r--roles/openshift_master/README.md38
-rw-r--r--roles/openshift_master/meta/main.yml2
-rw-r--r--roles/openshift_node/README.md41
-rw-r--r--roles/openshift_node/meta/main.yml2
-rw-r--r--roles/openshift_sdn_master/README.md29
-rw-r--r--roles/openshift_sdn_master/meta/main.yml2
-rw-r--r--roles/openshift_sdn_node/README.md39
-rw-r--r--roles/openshift_sdn_node/meta/main.yml2
-rw-r--r--roles/os_firewall/README.md2
-rw-r--r--roles/os_firewall/meta/main.yml2
12 files changed, 118 insertions, 73 deletions
diff --git a/roles/openshift_common/README.md b/roles/openshift_common/README.md
index 225dd44b9..c2ae609ff 100644
--- a/roles/openshift_common/README.md
+++ b/roles/openshift_common/README.md
@@ -1,38 +1,42 @@
-Role Name
-=========
+OpenShift Common
+================
-A brief description of the role goes here.
+OpenShift common installation and configuration tasks.
Requirements
------------
-Any pre-requisites that may not be covered by Ansible itself or the role should be mentioned here. For instance, if the role uses the EC2 module, it may be a good idea to mention in this section that the boto package is required.
+A RHEL 7.1 host pre-configured with access to the rhel-7-server-rpms,
+rhel-7-server-extra-rpms, and rhel-7-server-ose-beta-rpms repos.
Role Variables
--------------
-A description of the settable variables for this role should go here, including any variables that are in defaults/main.yml, vars/main.yml, and any variables that can/should be set via parameters to the role. Any variables that are read from other roles and/or the global scope (ie. hostvars, group vars, etc.) should be mentioned here as well.
+| Name | Default value | |
+|-------------------------------|------------------------------|----------------------------------------|
+| openshift_bind_ip | ansible_default_ipv4.address | IP to use for local binding |
+| openshift_debug_level | 0 | Global openshift debug log verbosity |
+| openshift_hostname_workaround | True | Workaround needed to set hostname to IP address |
+| openshift_hostname | openshift_public_ip if openshift_hostname_workaround else ansible_fqdn | hostname to use for this instance |
+| openshift_public_ip | UNDEF (Required) | Public IP address to use for this host |
+| openshift_env | default | Envrionment name if multiple OpenShift instances |
Dependencies
------------
-A list of other roles hosted on Galaxy should go here, plus any details in regards to parameters that may need to be set for other roles, or variables that are used from other roles.
+os_firewall
Example Playbook
----------------
-Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:
-
- - hosts: servers
- roles:
- - { role: username.rolename, x: 42 }
+TODO
License
-------
-BSD
+Apache License, Version 2.0
Author Information
------------------
-An optional section for the role authors to include contact information, or a website (HTML is not allowed).
+TODO
diff --git a/roles/openshift_common/meta/main.yml b/roles/openshift_common/meta/main.yml
index 7dc4603d0..88b7677d0 100644
--- a/roles/openshift_common/meta/main.yml
+++ b/roles/openshift_common/meta/main.yml
@@ -3,7 +3,7 @@ galaxy_info:
author: Jason DeTiberus
description: OpenShift Common
company: Red Hat, Inc.
- license: ASL 2.0
+ license: Apache License, Version 2.0
min_ansible_version: 1.7
platforms:
- name: EL
diff --git a/roles/openshift_master/README.md b/roles/openshift_master/README.md
index 225dd44b9..5a1b889b2 100644
--- a/roles/openshift_master/README.md
+++ b/roles/openshift_master/README.md
@@ -1,38 +1,50 @@
-Role Name
-=========
+OpenShift Master
+================
-A brief description of the role goes here.
+OpenShift Master service installation
Requirements
------------
-Any pre-requisites that may not be covered by Ansible itself or the role should be mentioned here. For instance, if the role uses the EC2 module, it may be a good idea to mention in this section that the boto package is required.
+A RHEL 7.1 host pre-configured with access to the rhel-7-server-rpms,
+rhel-7-server-extras-rpms, and rhel-server-7-ose-beta-rpms repos.
Role Variables
--------------
-A description of the settable variables for this role should go here, including any variables that are in defaults/main.yml, vars/main.yml, and any variables that can/should be set via parameters to the role. Any variables that are read from other roles and/or the global scope (ie. hostvars, group vars, etc.) should be mentioned here as well.
+From this role:
+| Name | Default value |
+|
+|------------------------------------------|-----------------------|----------------------------------------|
+| openshift_master_manage_service_externally | False | Should the openshift-master role manage the openshift-master service? |
+| openshift_master_debug_level | openshift_debug_level | Verbosity of the debug logs for openshift-master |
+| openshift_node_ips | [] | List of the openshift node ip addresses, that we want to pre-register to the system when openshift-master starts up |
+| openshift_registry_url | UNDEF (Optional) | Default docker registry to use |
+
+From openshift_common:
+| Name | Default Value | |
+|-------------------------------|---------------------|---------------------|
+| openshift_debug_level | 0 | Global openshift debug log verbosity |
+| openshift_hostname_workaround | True | |
+| openshift_public_ip | UNDEF (Required) | Public IP address to use for this host |
+| openshift_hostname | openshift_public_ip if openshift_hostname_workaround else ansible_fqdn | hostname to use for this instance |
Dependencies
------------
-A list of other roles hosted on Galaxy should go here, plus any details in regards to parameters that may need to be set for other roles, or variables that are used from other roles.
+openshift_common
Example Playbook
----------------
-Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:
-
- - hosts: servers
- roles:
- - { role: username.rolename, x: 42 }
+TODO
License
-------
-BSD
+Apache License, Version 2.0
Author Information
------------------
-An optional section for the role authors to include contact information, or a website (HTML is not allowed).
+TODO
diff --git a/roles/openshift_master/meta/main.yml b/roles/openshift_master/meta/main.yml
index bb0fc00e9..41a183c3b 100644
--- a/roles/openshift_master/meta/main.yml
+++ b/roles/openshift_master/meta/main.yml
@@ -3,7 +3,7 @@ galaxy_info:
author: Jhon Honce
description: OpenShift Master
company: Red Hat, Inc.
- license: ASL 2.0
+ license: Apache License, Version 2.0
min_ansible_version: 1.7
platforms:
- name: EL
diff --git a/roles/openshift_node/README.md b/roles/openshift_node/README.md
index 225dd44b9..87913a0d5 100644
--- a/roles/openshift_node/README.md
+++ b/roles/openshift_node/README.md
@@ -1,38 +1,51 @@
-Role Name
-=========
+OpenShift Node
+==============
-A brief description of the role goes here.
+OpenShift Node service installation
Requirements
------------
-Any pre-requisites that may not be covered by Ansible itself or the role should be mentioned here. For instance, if the role uses the EC2 module, it may be a good idea to mention in this section that the boto package is required.
+One or more OpenShift Master servers.
+
+A RHEL 7.1 host pre-configured with access to the rhel-7-server-rpms,
+rhel-7-server-extras-rpms, and rhel-server-7-ose-beta-rpms repos.
Role Variables
--------------
-
-A description of the settable variables for this role should go here, including any variables that are in defaults/main.yml, vars/main.yml, and any variables that can/should be set via parameters to the role. Any variables that are read from other roles and/or the global scope (ie. hostvars, group vars, etc.) should be mentioned here as well.
+From this role:
+| Name | Default value | |
+|------------------------------------------|-----------------------|----------------------------------------|
+| openshift_node_manage_service_externally | False | Should the openshift-node role manage the openshift-node service? |
+| openshift_node_debug_level | openshift_debug_level | Verbosity of the debug logs for openshift-node |
+| openshift_master_public_ips | UNDEF (Required) | List of the public IPs for the openhift-master hosts |
+| openshift_master_ips | UNDEF (Required) | List of IP addresses for the openshift-master hosts to be used for node -> master communication |
+| openshift_registry_url | UNDEF (Optional) | Default docker registry to use |
+
+From openshift_common:
+| Name | Default Value | |
+|-------------------------------|---------------------|---------------------|
+| openshift_debug_level | 0 | Global openshift debug log verbosity |
+| openshift_hostname_workaround | True | |
+| openshift_public_ip | UNDEF (Required) | Public IP address to use for this host |
+| openshift_hostname | openshift_public_ip if openshift_hostname_workaround else ansible_fqdn | hostname to use for this instance |
Dependencies
------------
-A list of other roles hosted on Galaxy should go here, plus any details in regards to parameters that may need to be set for other roles, or variables that are used from other roles.
+openshift_common
Example Playbook
----------------
-Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:
-
- - hosts: servers
- roles:
- - { role: username.rolename, x: 42 }
+TODO
License
-------
-BSD
+Apache License, Version 2.0
Author Information
------------------
-An optional section for the role authors to include contact information, or a website (HTML is not allowed).
+TODO
diff --git a/roles/openshift_node/meta/main.yml b/roles/openshift_node/meta/main.yml
index 674a320cb..c92008a77 100644
--- a/roles/openshift_node/meta/main.yml
+++ b/roles/openshift_node/meta/main.yml
@@ -3,7 +3,7 @@ galaxy_info:
author: Jhon Honce
description: OpenShift Node
company: Red Hat, Inc.
- license: ASL 2.0
+ license: Apache License, Version 2.0
min_ansible_version: 1.7
platforms:
- name: EL
diff --git a/roles/openshift_sdn_master/README.md b/roles/openshift_sdn_master/README.md
index 225dd44b9..d0dcf6d11 100644
--- a/roles/openshift_sdn_master/README.md
+++ b/roles/openshift_sdn_master/README.md
@@ -1,38 +1,41 @@
-Role Name
-=========
+OpenShift SDN Master
+====================
-A brief description of the role goes here.
+OpenShift SDN Master service installation
Requirements
------------
-Any pre-requisites that may not be covered by Ansible itself or the role should be mentioned here. For instance, if the role uses the EC2 module, it may be a good idea to mention in this section that the boto package is required.
+A host with the openshift_master role applied
Role Variables
--------------
-A description of the settable variables for this role should go here, including any variables that are in defaults/main.yml, vars/main.yml, and any variables that can/should be set via parameters to the role. Any variables that are read from other roles and/or the global scope (ie. hostvars, group vars, etc.) should be mentioned here as well.
+From this role:
+| Name | Default value | |
+|----------------------------------|-----------------------|--------------------------------------------------|
+| openshift_sdn_master_debug_level | openshift_debug_level | Verbosity of the debug logs for openshift-master |
+
+From openshift_common:
+| Name | Default value | |
+|-----------------------|---------------|--------------------------------------|
+| openshift_debug_level | 0 | Global openshift debug log verbosity |
Dependencies
------------
-A list of other roles hosted on Galaxy should go here, plus any details in regards to parameters that may need to be set for other roles, or variables that are used from other roles.
Example Playbook
----------------
-Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:
-
- - hosts: servers
- roles:
- - { role: username.rolename, x: 42 }
+TODO
License
-------
-BSD
+Apache License, Version 2.0
Author Information
------------------
-An optional section for the role authors to include contact information, or a website (HTML is not allowed).
+TODO
diff --git a/roles/openshift_sdn_master/meta/main.yml b/roles/openshift_sdn_master/meta/main.yml
index 2fd6c64e0..e6e5514d1 100644
--- a/roles/openshift_sdn_master/meta/main.yml
+++ b/roles/openshift_sdn_master/meta/main.yml
@@ -3,7 +3,7 @@ galaxy_info:
author: Jason DeTiberus
description: OpenShift SDN Master
company: Red Hat, Inc.
- license: ASL 2.0
+ license: Apache License, Version 2.0
min_ansible_version: 1.7
platforms:
- name: EL
diff --git a/roles/openshift_sdn_node/README.md b/roles/openshift_sdn_node/README.md
index 225dd44b9..294550219 100644
--- a/roles/openshift_sdn_node/README.md
+++ b/roles/openshift_sdn_node/README.md
@@ -1,38 +1,51 @@
-Role Name
-=========
+OpenShift SDN Node
+==================
-A brief description of the role goes here.
+OpenShift SDN Node service installation
Requirements
------------
-Any pre-requisites that may not be covered by Ansible itself or the role should be mentioned here. For instance, if the role uses the EC2 module, it may be a good idea to mention in this section that the boto package is required.
+A host with the openshift_node role applied
Role Variables
--------------
-A description of the settable variables for this role should go here, including any variables that are in defaults/main.yml, vars/main.yml, and any variables that can/should be set via parameters to the role. Any variables that are read from other roles and/or the global scope (ie. hostvars, group vars, etc.) should be mentioned here as well.
+From this role:
+| Name | Default value | |
+|--------------------------------|-----------------------|--------------------------------------------------|
+| openshift_sdn_node_debug_level | openshift_debug_level | Verbosity of the debug logs for openshift-master |
+
+
+From openshift_node:
+| Name | Default value | |
+|-----------------------|------------------|--------------------------------------|
+| openshift_master_ips | UNDEF (Required) | List of IP addresses for the openshift-master hosts to be used for node -> master communication |
+
+
+From openshift_common:
+| Name | Default value | |
+|-------------------------------|---------------------|----------------------------------------|
+| openshift_debug_level | 0 | Global openshift debug log verbosity |
+| openshift_hostname_workaround | True | |
+| openshift_public_ip | UNDEF (Required) | Public IP address to use for this host |
+| openshift_hostname | openshift_public_ip if openshift_hostname_workaround else ansible_fqdn | hostname to use for this instance |
Dependencies
------------
-A list of other roles hosted on Galaxy should go here, plus any details in regards to parameters that may need to be set for other roles, or variables that are used from other roles.
Example Playbook
----------------
-Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:
-
- - hosts: servers
- roles:
- - { role: username.rolename, x: 42 }
+TODO
License
-------
-BSD
+Apache License, Version 2.0
Author Information
------------------
-An optional section for the role authors to include contact information, or a website (HTML is not allowed).
+TODO
diff --git a/roles/openshift_sdn_node/meta/main.yml b/roles/openshift_sdn_node/meta/main.yml
index a68ae8e54..ab45ff51e 100644
--- a/roles/openshift_sdn_node/meta/main.yml
+++ b/roles/openshift_sdn_node/meta/main.yml
@@ -3,7 +3,7 @@ galaxy_info:
author: Jason DeTiberus
description: OpenShift SDN Node
company: Red Hat, Inc.
- license: ASL 2.0
+ license: Apache License, Version 2.0
min_ansible_version: 1.7
platforms:
- name: EL
diff --git a/roles/os_firewall/README.md b/roles/os_firewall/README.md
index fe6318184..187d74b06 100644
--- a/roles/os_firewall/README.md
+++ b/roles/os_firewall/README.md
@@ -59,7 +59,7 @@ Use firewalld and open tcp port 443 and close previously open tcp port 80:
License
-------
-ASL 2.0
+Apache License, Version 2.0
Author Information
------------------
diff --git a/roles/os_firewall/meta/main.yml b/roles/os_firewall/meta/main.yml
index e431f531c..7a8cef6c5 100644
--- a/roles/os_firewall/meta/main.yml
+++ b/roles/os_firewall/meta/main.yml
@@ -2,7 +2,7 @@ galaxy_info:
author: Jason DeTiberus
description: os_firewall
company: Red Hat, Inc.
- license: ASL 2.0
+ license: Apache License, Version 2.0
min_ansible_version: 1.7
platforms:
- name: EL