Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Beautiful -v output from ansible | jpic | 2016-07-27 | 1 | -0/+60 |
| | | | | | | | | | | | When supporting openshift-ansible, users share pastes like:: TASK: [openshift_serviceaccounts | Grant the user access to the privileged scc] *** changed: [li1491-86.members.linode.com] => (item=['router', {'cmd': ['oc', 'get', 'scc', 'privileged', '-o', 'yaml'], 'end': '2016-05-05 13:31:50.216857', 'stderr': u'', 'stdout': 'allowHostDirVolumePlugin: true\nallowHostIPC: true\nallowHostNetwork: true\nallowHostPID: true\nallowHostPorts: true\nallowPrivilegedContainer: true\nallowedCapabilities: null\napiVersion: v1\ndefaultAddCapabilities: null\nfsGroup:\n type: RunAsAny\ngroups:\n- system:cluster-admins\n- system:nodes\nkind: SecurityContextConstraints\nmetadata:\n annotations:\n kubernetes.io/description: \'privileged allows access to all privileged and host\n features and the ability to run as any user, any group, any fsGroup, and with\n any SELinux context. WARNING: this is the most relaxed SCC and should be used\n only for cluster administration. Grant with caution.\'\n creationTimestamp: 2016-05-05T13:30:06Z\n name: privileged\n resourceVersion: "371"\n selfLink: /api/v1/securitycontextconstraints/privileged\n uid: 7ae22005-12c5-11e6-9bc5-06174e73e52a\npriority: null\nreadOnlyRootFilesystem: false\nrequiredDropCapabilities: null\nrunAsUser:\n type: RunAsAny\nseLinuxContext:\n type: RunAsAny\nsupplementalGroups:\n type: RunAsAny\nusers:\n- system:serviceaccount:openshift-infra:build-controller\n- system:serviceaccount:management-infra:management-admin\n- system:serviceaccount:management-infra:inspector-admin\nvolumes:\n- \'*\'', 'item': 'privileged', 'changed': False, 'rc': 0, 'failed': False, 'warnings': [], 'delta': '0:00:00.264340', 'invocation': {'module_name': u'command', 'module_complex_args': {}, 'module_args': u'oc get scc privileged -o yaml'}, 'stdout_lines': ['allowHostDirVolumePlugin: true', 'allowHostIPC: true', 'allowHostNetwork: true', 'allowHostPID: true', 'allowHostPorts: true', 'allowPrivilegedContainer: true', 'allowedCapabilities: null', 'apiVersion: v1', 'defaultAddCapabilities: null', 'fsGroup:', ' type: RunAsAny', 'groups:', '- system:cluster-admins', '- system:nodes', 'kind: SecurityContextConstraints', 'metadata:', ' annotations:', " kubernetes.io/description: 'privileged allows access to all privileged and host", ' features and the ability to run as any user, any group, any fsGroup, and with', ' any SELinux context. WARNING: this is the most relaxed SCC and should be used', " only for cluster administration. Grant with caution.'", ' creationTimestamp: 2016-05-05T13:30:06Z', ' name: privileged', ' resourceVersion: "371"', ' selfLink: /api/v1/securitycontextconstraints/privileged', ' uid: 7ae22005-12c5-11e6-9bc5-06174e73e52a', 'priority: null', 'readOnlyRootFilesystem: false', 'requiredDropCapabilities: null', 'runAsUser:', ' type: RunAsAny', 'seLinuxContext:', ' type: RunAsAny', 'supplementalGroups:', ' type: RunAsAny', 'users:', '- system:serviceaccount:openshift-infra:build-controller', '- system:serviceaccount:management-infra:management-admin', '- system:serviceaccount:management-infra:inspector-admin', 'volumes:', "- '*'"], 'failed_when_result': False, 'start': '2016-05-05 13:31:49.952517'}]) changed: [li1491-86.members.linode.com] => (item=['registry', {'cmd': ['oc', 'get', 'scc', 'privileged', '-o', 'yaml'], 'end': '2016-05-05 13:31:50.216857', 'stderr': u'', 'stdout': 'allowHostDirVolumePlugin: true\nallowHostIPC: true\nallowHostNetwork: true\nallowHostPID: true\nallowHostPorts: true\nallowPrivilegedContainer: true\nallowedCapabilities: null\napiVersion: v1\ndefaultAddCapabilities: null\nfsGroup:\n type: RunAsAny\ngroups:\n- system:cluster-admins\n- system:nodes\nkind: SecurityContextConstraints\nmetadata:\n annotations:\n kubernetes.io/description: \'privileged allows access to all privileged and host\n features and the ability to run as any user, any group, any fsGroup, and with\n any SELinux context. WARNING: this is the most relaxed SCC and should be used\n only for cluster administration. Grant with caution.\'\n creationTimestamp: 2016-05-05T13:30:06Z\n name: privileged\n resourceVersion: "371"\n selfLink: /api/v1/securitycontextconstraints/privileged\n uid: 7ae22005-12c5-11e6-9bc5-06174e73e52a\npriority: null\nreadOnlyRootFilesystem: false\nrequiredDropCapabilities: null\nrunAsUser:\n type: RunAsAny\nseLinuxContext:\n type: RunAsAny\nsupplementalGroups:\n type: RunAsAny\nusers:\n- system:serviceaccount:openshift-infra:build-controller\n- system:serviceaccount:management-infra:management-admin\n- system:serviceaccount:management-infra:inspector-admin\nvolumes:\n- \'*\'', 'item': 'privileged', 'changed': False, 'rc': 0, 'failed': False, 'warnings': [], 'delta': '0:00:00.264340', 'invocation': {'module_name': u'command', 'module_complex_args': {}, 'module_args': u'oc get scc privileged -o yaml'}, 'stdout_lines': ['allowHostDirVolumePlugin: true', 'allowHostIPC: true', 'allowHostNetwork: true', 'allowHostPID: true', 'allowHostPorts: true', 'allowPrivilegedContainer: true', 'allowedCapabilities: null', 'apiVersion: v1', 'defaultAddCapabilities: null', 'fsGroup:', ' type: RunAsAny', 'groups:', '- system:cluster-admins', '- system:nodes', 'kind: SecurityContextConstraints', 'metadata:', ' annotations:', " kubernetes.io/description: 'privileged allows access to all privileged and host", ' features and the ability to run as any user, any group, any fsGroup, and with', ' any SELinux context. WARNING: this is the most relaxed SCC and should be used', " only for cluster administration. Grant with caution.'", ' creationTimestamp: 2016-05-05T13:30:06Z', ' name: privileged', ' resourceVersion: "371"', ' selfLink: /api/v1/securitycontextconstraints/privileged', ' uid: 7ae22005-12c5-11e6-9bc5-06174e73e52a', 'priority: null', 'readOnlyRootFilesystem: false', 'requiredDropCapabilities: null', 'runAsUser:', ' type: RunAsAny', 'seLinuxContext:', ' type: RunAsAny', 'supplementalGroups:', ' type: RunAsAny', 'users:', '- system:serviceaccount:openshift-infra:build-controller', '- system:serviceaccount:management-infra:management-admin', '- system:serviceaccount:management-infra:inspector-admin', 'volumes:', "- '*'"], 'failed_when_result': False, 'start': '2016-05-05 13:31:49.952517'}]) With this patch, the json is nicely indented and std{err,out} are properly printed by default with -v. | ||||
* | Merge pull request #1855 from abutcher/v2-vars-files | Jason DeTiberus | 2016-05-05 | 6 | -10/+79 |
|\ | | | | | Remove vars_files for byo, scaleup and restart playbooks. | ||||
| * | Remove vars_files on play includes for byo, scaleup and restart playbooks. | Andrew Butcher | 2016-05-05 | 6 | -10/+79 |
|/ | |||||
* | Merge pull request #1853 from abutcher/v2-hostvars | Jason DeTiberus | 2016-05-05 | 4 | -7/+46 |
|\ | | | | | Replace hostvars with vars for openshift env facts when ansible >= v2. | ||||
| * | Add oo_merge_hostvars filter for merging host & play variables. | Andrew Butcher | 2016-05-04 | 4 | -13/+46 |
| | | |||||
| * | Replace hostvars with vars for openshift env facts when ansible >= v2. | Andrew Butcher | 2016-05-03 | 3 | -3/+9 |
| | | |||||
* | | Merge pull request #1688 from jprovaznik/dns | Jason DeTiberus | 2016-05-05 | 6 | -4/+63 |
|\ \ | |/ |/| | Allow containerized deployment of dns role | ||||
| * | Allow containerized deployment of dns role | Jan Provaznik | 2016-04-26 | 6 | -4/+63 |
| | | | | | | | | | | | | | | | | If containerized, docker image for bind service is built during ansible run. The default named systemd unit file triggers named-checkconf on named service start so it's not neccessary to include this validation when copying file templates (equivalent named-checkconf is included in the containerized named unit file too). | ||||
* | | Merge pull request #1856 from glnds/master | Jason DeTiberus | 2016-05-03 | 1 | -1/+1 |
|\ \ | | | | | | | Added extra install dependency on OSX | ||||
| * | | Added extra install dependency on OSX | Gert Leenders | 2016-05-03 | 1 | -1/+1 |
|/ / | |||||
* | | Merge pull request #1854 from abutcher/v2-iptables-overrides | Jason DeTiberus | 2016-05-02 | 8 | -12/+35 |
|\ \ | | | | | | | V2 iptables overrides | ||||
| * | | Check and unmask iptables/firewalld. | Andrew Butcher | 2016-05-02 | 2 | -0/+30 |
| | | | |||||
| * | | Default os_firewall_use_firewalld to false in os_firewall and remove overrides. | Andrew Butcher | 2016-05-02 | 6 | -12/+5 |
| | | | |||||
* | | | Merge pull request #1852 from sdodson/dns-improvements | Jason DeTiberus | 2016-05-02 | 2 | -2/+1 |
|\ \ \ | | | | | | | | | Fix openshift_use_dnsmasq=False on 1.2/3.2 installs | ||||
| * | | | listen on all interfaces | Scott Dodson | 2016-05-02 | 1 | -1/+0 |
| | | | | |||||
| * | | | Fix configuration of dns_ip | Scott Dodson | 2016-05-02 | 1 | -1/+1 |
| | | | | |||||
* | | | | Merge pull request #1775 from detiber/kill_deprecated_roles | Jason DeTiberus | 2016-05-02 | 0 | -0/+0 |
|\ \ \ \ | |_|/ / |/| | | | Remove deprecated online playbooks/roles | ||||
| * | | | Remove deprecated online playbooks/roles | Jason DeTiberus | 2016-04-19 | 25 | -498/+0 |
| | | | | |||||
* | | | | Merge pull request #1850 from cben/patch-1 | Jason DeTiberus | 2016-05-02 | 1 | -1/+5 |
|\ \ \ \ | |_|/ / |/| | | | Fix tables in roles/openshift_metrics/README.md | ||||
| * | | | Fix markdown in roles/openshift_metrics/README.md | Beni Cherniavsky-Paskin | 2016-05-02 | 1 | -1/+5 |
| | | | | | | | | | | | | | | | | (tables, literal example) | ||||
* | | | | Merge pull request #1848 from detiber/stat | Andrew Butcher | 2016-05-02 | 1 | -9/+7 |
|\ \ \ \ | |/ / / |/| | | | use stat module instead of shell module and ls to check for rpm-ostree | ||||
| * | | | use stat module instead of shell module and ls to check for rpm-ostree | Jason DeTiberus | 2016-04-30 | 1 | -9/+7 |
|/ / / | |||||
* | | | Merge pull request #1847 from sjenning/fix-openstack-template | Jason DeTiberus | 2016-04-29 | 1 | -4/+3 |
|\ \ \ | | | | | | | | | fix openstack template | ||||
| * | | | fix openstack template | Seth Jennings | 2016-04-29 | 1 | -4/+3 |
|/ / / | |||||
* | | | Merge pull request #1839 from abutcher/v2-deprecations | Jason DeTiberus | 2016-04-29 | 16 | -61/+56 |
|\ \ \ | | | | | | | | | Cleanup various deprecation warnings. | ||||
| * | | | Remove duplicate oauth_template fact. | Andrew Butcher | 2016-04-29 | 1 | -1/+0 |
| | | | | |||||
| * | | | Cleanup various deprecation warnings. | Andrew Butcher | 2016-04-29 | 15 | -60/+56 |
| | | | | |||||
* | | | | Merge pull request #1845 from sdodson/nm-msg | Jason DeTiberus | 2016-04-29 | 1 | -1/+1 |
|\ \ \ \ | | | | | | | | | | | Make NetworkManager failure friendlier | ||||
| * | | | | Make NetworkManager failure friendlier | Scott Dodson | 2016-04-29 | 1 | -1/+1 |
| |/ / / | |||||
* | | | | Merge pull request #1843 from detiber/remove_deprecated_roles | Jason DeTiberus | 2016-04-29 | 47 | -706/+59 |
|\ \ \ \ | |/ / / |/| | | | Remove deprecated roles | ||||
| * | | | Remove deprecated online playbooks/roles | Jason DeTiberus | 2016-04-29 | 20 | -379/+0 |
| | | | | |||||
| * | | | fix up variable references remove "online" support from bin/cluster | Jason DeTiberus | 2016-04-29 | 20 | -206/+59 |
| | | | | |||||
| * | | | Remove Ops specific ansible-tower aws playbooks | Jason DeTiberus | 2016-04-29 | 7 | -121/+0 |
| | | | | |||||
* | | | | Merge pull request #1841 from andrewklau/insecure-registry | Jason DeTiberus | 2016-04-29 | 1 | -2/+2 |
|\ \ \ \ | | | | | | | | | | | Add openshift_docker_hosted_registry_insecure option | ||||
| * | | | | Add openshift_docker_hosted_registry_insecure option | Andrew Lau | 2016-04-29 | 1 | -2/+2 |
| |/ / / | |||||
* | | | | Merge pull request #1844 from openshift/README-updates | Jason DeTiberus | 2016-04-29 | 1 | -8/+5 |
|\ \ \ \ | | | | | | | | | | | README Updates | ||||
| * | | | | README Updates | Jason DeTiberus | 2016-04-29 | 1 | -8/+5 |
|/ / / / | |||||
* | | | | Merge pull request #1842 from talset/inventory_cert | Jason DeTiberus | 2016-04-29 | 3 | -3/+3 |
|\ \ \ \ | |/ / / |/| | | | Fix inventory syntax | ||||
| * | | | Fix inventory syntaxe | talset | 2016-04-29 | 3 | -3/+3 |
|/ / / | | | | | | | | | | | | | * ERROR: /etc/ansible/hosts:...: variables assigned to group must be in key=value form * change key: value by key=value | ||||
* | | | Merge pull request #1840 from detiber/logging_fix | Jason DeTiberus | 2016-04-29 | 1 | -16/+24 |
|\ \ \ | | | | | | | | | Fix templating issue with logging role | ||||
| * | | | additional fixes | Jason DeTiberus | 2016-04-28 | 1 | -15/+22 |
| | | | | |||||
| * | | | Fix templating issue with logging role | Jason DeTiberus | 2016-04-28 | 1 | -1/+2 |
| | | | | |||||
* | | | | Merge pull request #1835 from sdodson/bz1331346 | Jason DeTiberus | 2016-04-28 | 1 | -4/+7 |
|\ \ \ \ | |/ / / |/| | | | BuildDefaults are a kube admission controller not an openshift admission | ||||
| * | | | BuildDefaults are a kube admission controller not an openshift admission | Scott Dodson | 2016-04-28 | 1 | -4/+7 |
| | | | | | | | | | | | | | | | | | | | | | | | | controller Also, improve commenting | ||||
* | | | | Merge pull request #1836 from smunilla/BZ1331365 | Jason DeTiberus | 2016-04-28 | 2 | -9/+16 |
|\ \ \ \ | | | | | | | | | | | a-o-i: More friendly proxy questions | ||||
| * | | | | a-o-i: More friendly proxy questions | Samuel Munilla | 2016-04-28 | 2 | -9/+16 |
|/ / / / | | | | | | | | | | | | | | | | | Some UI improvements to help make it more clear to the user what information we are looking for. | ||||
* | | | | Merge pull request #1831 from sdodson/update-repos-on-upgrade | Jason DeTiberus | 2016-04-28 | 1 | -1/+2 |
|\ \ \ \ | | | | | | | | | | | Update repos per inventory before upgrading | ||||
| * | | | | Update repos per inventory before upgrading | Scott Dodson | 2016-04-27 | 1 | -1/+2 |
| | | | | | |||||
* | | | | | Merge pull request #1834 from jianlinliu/master | Jason DeTiberus | 2016-04-28 | 3 | -3/+3 |
|\ \ \ \ \ | |_|/ / / |/| | | | | update tenand_id typo in example file | ||||
| * | | | | update tenand_id typo in example file | Jianlin Liu | 2016-04-28 | 1 | -1/+1 |
| | | | | |