summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Bug 1274201 - Fixing non-root installations if using a local connectionBrenton Leanhardt2015-11-051-9/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously we were writing out a inventory like this: ~~~ [OSEv3:children] masters nodes [OSEv3:vars] ansible_ssh_user=root deployment_type=openshift-enterprise ansible_connection=local [masters] ose3-master.example.com openshift_hostname=ose3-master.example.com [nodes] ose3-master.example.com openshift_hostname=ose3-master.example.com ose3-node1.example.com openshift_hostname=ose3-node1.example.com ose3-node2.example.com openshift_hostname=ose3-node2.example.com ~~~ The problem with that is now all the hosts are consider local connections. In addition our sudo check wasn't working as expected. We would check that we have sudo, but the playbooks were not running with root privileges. When gathering facts you'd hit: ~~~ __main__.OpenShiftFactsFileWriteError: Could not create fact file: /etc/ansible/facts.d/openshift.fact, error: [Errno 13] Permission denied: '/etc/ansible/facts.d/openshift.fact' ~~~ Instead the test for locale connections needs to be per host. Anytime we're not running as root we need `ansible_become` set: ~~~ ose3-master.example.com openshift_hostname=ose3-master.example.com ansible_connection=local ansible_become=true ~~~
* Bug 1274201 - Fixing sudo non-interactive testBrenton Leanhardt2015-11-051-1/+1
| | | | https://bugzilla.redhat.com/show_bug.cgi?id=1274201#c13
* Merge pull request #817 from abutcher/uninstall-pacemakerBrenton Leanhardt2015-11-051-0/+6
|\ | | | | Add pacemaker configuration to uninstall
| * Remove pacemaker bits.Andrew Butcher2015-11-041-0/+6
|/
* Merge pull request #792 from dgoodwin/upgradeBrenton Leanhardt2015-11-049-35/+383
|\ | | | | Upgrade Improvements
| * Override hosts deployment_type fact for version we're upgrading to.Devan Goodwin2015-11-041-0/+10
| |
| * Pylint fixes for config upgrade module.Devan Goodwin2015-11-041-10/+13
| |
| * Disable proxy cert config upgrade until certs being generated.Devan Goodwin2015-11-041-5/+6
| |
| * Merge remote-tracking branch 'upstream/master' into upgradeDevan Goodwin2015-11-0433-310/+582
| |\ | |/ |/|
* | Merge pull request #812 from talset/masterBrenton Leanhardt2015-11-041-3/+0
|\ \ | | | | | | [openshift_master_certificates] Fix variable master.all_hostnames
| * | remove debug linetalset2015-11-041-3/+0
| | |
| * | [roles/openshift_master_certificates/tasks/main.yml] Fix variable ↵talset2015-11-041-1/+1
|/ / | | | | | | openshift.master.all_hostnames to openshift.common.all_hostnames
* | Merge pull request #807 from detiber/fixRPMDepsBrenton Leanhardt2015-11-041-0/+5
|\ \ | | | | | | Fix subpackage dependencies
| * | Fix subpackage dependenciesJason DeTiberus2015-11-041-0/+5
| | |
* | | Merge pull request #761 from smunilla/scaleupBrenton Leanhardt2015-11-049-75/+83
|\ \ \ | | | | | | | | openshift-cluster: Scaleup
| * | | Refactor common group evaluation to avoid duplicationJason DeTiberus2015-11-049-139/+77
| | | |
| * | | common/openshift-cluster: Scaleup playbookSamuel Munilla2015-11-041-0/+70
| | | | | | | | | | | | | | | | New playbook to add nodes to a cluster without altering the masters
* | | | Merge pull request #809 from kwoodson/invenupdateKenny Woodson2015-11-041-1/+5
|\ \ \ \ | | | | | | | | | | Adding aws and gce to ansibe-inventory.
| * | | | Adding aws and gce packages to ansible-inventoryKenny Woodson2015-11-041-1/+5
| | | | |
* | | | | Merge pull request #767 from abutcher/custom-certsBrenton Leanhardt2015-11-045-5/+106
|\ \ \ \ \ | | | | | | | | | | | | Add custom certificates to serving info in master configuration.
| * | | | | Filter internal hostnames from the list of parsed names.Andrew Butcher2015-11-035-8/+28
| | | | | |
| * | | | | Add custom certificates to serving info in master configuration.Andrew Butcher2015-11-034-1/+82
| | | | | |
* | | | | | Automatic commit of package [openshift-ansible] release [3.0.7-1].Kenny Woodson2015-11-042-2/+41
| |/ / / / |/| | | |
* | | | | Merge pull request #806 from mwoodson/disk_checksMatt Woodson2015-11-041-0/+8
|\ \ \ \ \ | |_|_|/ / |/| | | | added %util in zabbix
| * | | | added the %util in zabbixMatt Woodson2015-11-041-0/+8
|/ / / /
* | | | Merge pull request #793 from kwoodson/multiinventoryKenny Woodson2015-11-0414-213/+294
|\ \ \ \ | | | | | | | | | | Renamed multi_ec2 to multi_inventory. Adding support for gce to mult_inventory.
| * | | | Support for gceKenny Woodson2015-11-0314-213/+294
| | | | |
* | | | | Merge pull request #805 from smunilla/default_playbook_argBrenton Leanhardt2015-11-041-1/+1
|\ \ \ \ \ | |_|_|/ / |/| | | | atomic-openshift-installer: Correct default playbook directory
| * | | | atomic-openshift-installer: Correct default playbook directorySamuel Munilla2015-11-041-1/+1
| | | | |
* | | | | Merge pull request #804 from mwoodson/disk_checksMatt Woodson2015-11-031-1/+1
|\ \ \ \ \ | | | | | | | | | | | | fixed copy and paste spelling error
| * | | | | fixed a dumb naming mistakeMatt Woodson2015-11-031-1/+1
| | | | | |
* | | | | | Merge pull request #771 from kwoodson/updategceKenny Woodson2015-11-031-11/+21
|\ \ \ \ \ \ | | | | | | | | | | | | | | Updating to latest gce.py inventory module from ansible
| * | | | | | Pulling latest gce.py module from ansibleKenny Woodson2015-10-301-11/+21
| | | | | | |
* | | | | | | Merge pull request #803 from mwoodson/disk_checksMatt Woodson2015-11-031-0/+13
|\ \ \ \ \ \ \ | | |/ / / / / | |/| | | | | added disk tps check to zabbix
| * | | | | | added disk tps checks to zabbixMatt Woodson2015-11-031-0/+13
| | |_|_|/ / | |/| | | |
* | | | | | Merge pull request #778 from error10/patch-1Brenton Leanhardt2015-11-031-0/+6
|\ \ \ \ \ \ | | | | | | | | | | | | | | Don't require tty to run sudo
| * | | | | | Disable requiretty for only the openshift usererror102015-11-011-1/+6
| | | | | | | | | | | | | | | | | | | | | Use write_files to disable requiretty for the openshift user as suggested by @detiberm, fixes #773
| * | | | | | Update user-dataerror102015-11-010-0/+0
| | | | | | |
| * | | | | | Don't require tty to run sudoerror102015-10-301-0/+1
| | | | | | | | | | | | | | | | | | | | | Set Defaults !requiretty so that ansible can run sudo without a terminal. Fixes #773
| | | | | | * Fix bug with not upgrading openshift-master to atomic-openshift-master.Devan Goodwin2015-11-042-14/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Removing the full call to config resulted in rpms not getting upgraded. Config was doing a yum update of everything, which picks up the atomic-openshift-master obsoleting openshift-master. The actual yum call changed here would not. Instead we switch to a direct call to yum which correctly picks up the obsoletes and updates to atomic-openshift packages.
| | | | | | * Fix bug from module rename.Devan Goodwin2015-11-041-1/+1
| | | | | | |
| | | | | | * Fix bug with default ansible playbook dir.Devan Goodwin2015-11-041-1/+1
| | | | | | |
| | | | | | * Merge branch 'config-upgrade' into upgradeDevan Goodwin2015-11-043-11/+128
| | | | | | |\
| | | | | | | * Move config upgrade to correct place, fix node facts.Devan Goodwin2015-11-033-13/+24
| | | | | | | |
| | | | | | | * Add in proxyClientInfo if missing during config upgrade.Devan Goodwin2015-11-031-3/+9
| | | | | | | |
| | | | | | | * Implement master-config.yaml upgrade for v1beta3 apiLevel removal.Devan Goodwin2015-11-033-13/+67
| | | | | | | |
| | | | | | | * Merge branch 'upgrade' into config-upgradeDevan Goodwin2015-11-031-1/+1
| | | | | | | |\
| | | | | | | * \ Merge branch 'upgrade' into config-upgradeDevan Goodwin2015-11-0311-66/+332
| | | | | | | |\ \
| | | | | | | * | | initial module frameworkJason DeTiberus2015-11-021-0/+62
| | | | | | |/ / / | | | | | |/| | |
| | | | | | * | | Use the base package upgrade version so we can check things earlier.Devan Goodwin2015-11-041-23/+41
| | | | | | | | |