summaryrefslogtreecommitdiffstats
path: root/roles/openshift_common/tasks
Commit message (Collapse)AuthorAgeFilesLines
* Do not set KUBECONFIG for root userJason DeTiberus2015-03-061-8/+0
| | | | | | | - instead of setting KUBECONFIG, copy the admin kubeconfig to /root/.kube/.kubeconfig in the openshift_master and openshift_node roles - pause for 30 seconds if the openshift-master service has changed state, since the file we are copying is generated by the master
* refactor firewall management into new roleJason DeTiberus2015-03-052-42/+8
| | | | | | | | | | | | | | | | | - Add os_firewall role - Remove firewall settings from base_os, add wait task to os_firewall - Added a iptables firewall module for maintaining the following (in a mostly naive manner): - ensure the OPENSHIFT_ALLOW chain is defined - ensure that there is a jump rule in the INPUT chain for OPENSHIFT_ALLOW - adds or removes entries from the OPENSHIFT_ALLOW chain - issues '/usr/libexec/iptables/iptables.init save' when rules are changed - Limitations of iptables firewall module - only allows setting of ports/protocols to open - no testing on ipv6 support - made os_firewall a dependency of openshift_common - Hardcoded openshift_common to use iptables (through the vars directory) until upstream support is in place for firewalld
* Merge pull request #91 from detiber/downWithJSONThomas Wiest2015-03-021-3/+9
|\ | | | | Prefer YAML style datastructures over JSON
| * Prefer YAML style datastructures over JSONJason DeTiberus2015-03-021-3/+9
| | | | | | | | - Switch JSON style datastructures to YAML for debuggability
* | add openshift_hostname workaround varJason DeTiberus2015-03-021-0/+1
|/ | | | | - use openshift_bind_ip for hostname when openshift_hostname_workaround is true - defaults to true to maintain current behavior.
* move KUBECONFIG setting to openshift_commonJason DeTiberus2015-02-241-0/+8
|
* create openshift_common roleJason DeTiberus2015-02-243-0/+57
- move common openshift logic into openshift_common - set openshift_common as a dependency for openshift_node and openshift_master - rename role variables to openshift_* to be more descriptive - start recording local_facts on the openshift hosts - clean up firewalld config to be a bit more dry - Update firewall ports for https, make sure http rules are removed - Replace references to ansible_eth0.ipv4.address with ansible_default_ipv4.address