summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-11-05Bug 1274201 - Fixing non-root installations if using a local connectionBrenton Leanhardt
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 ~~~
2015-11-05Bug 1274201 - Fixing sudo non-interactive testBrenton Leanhardt
https://bugzilla.redhat.com/show_bug.cgi?id=1274201#c13
2015-11-05Merge pull request #817 from abutcher/uninstall-pacemakerBrenton Leanhardt
Add pacemaker configuration to uninstall
2015-11-04Remove pacemaker bits.Andrew Butcher
2015-11-04Merge pull request #792 from dgoodwin/upgradeBrenton Leanhardt
Upgrade Improvements
2015-11-04Override hosts deployment_type fact for version we're upgrading to.Devan Goodwin
2015-11-04Pylint fixes for config upgrade module.Devan Goodwin
2015-11-04Disable proxy cert config upgrade until certs being generated.Devan Goodwin
2015-11-04Merge remote-tracking branch 'upstream/master' into upgradeDevan Goodwin
2015-11-04Merge pull request #812 from talset/masterBrenton Leanhardt
[openshift_master_certificates] Fix variable master.all_hostnames
2015-11-04remove debug linetalset
2015-11-04[roles/openshift_master_certificates/tasks/main.yml] Fix variable ↵talset
openshift.master.all_hostnames to openshift.common.all_hostnames
2015-11-04Merge pull request #807 from detiber/fixRPMDepsBrenton Leanhardt
Fix subpackage dependencies
2015-11-04Fix bug with not upgrading openshift-master to atomic-openshift-master.Devan Goodwin
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.
2015-11-04Merge pull request #761 from smunilla/scaleupBrenton Leanhardt
openshift-cluster: Scaleup
2015-11-04Merge pull request #809 from kwoodson/invenupdateKenny Woodson
Adding aws and gce to ansibe-inventory.
2015-11-04Adding aws and gce packages to ansible-inventoryKenny Woodson
2015-11-04Merge pull request #767 from abutcher/custom-certsBrenton Leanhardt
Add custom certificates to serving info in master configuration.
2015-11-04Automatic commit of package [openshift-ansible] release [3.0.7-1].Kenny Woodson
2015-11-04Fix subpackage dependenciesJason DeTiberus
2015-11-04Merge pull request #806 from mwoodson/disk_checksMatt Woodson
added %util in zabbix
2015-11-04added the %util in zabbixMatt Woodson
2015-11-04Merge pull request #793 from kwoodson/multiinventoryKenny Woodson
Renamed multi_ec2 to multi_inventory. Adding support for gce to mult_inventory.
2015-11-04Merge pull request #805 from smunilla/default_playbook_argBrenton Leanhardt
atomic-openshift-installer: Correct default playbook directory
2015-11-04atomic-openshift-installer: Correct default playbook directorySamuel Munilla
2015-11-04Refactor common group evaluation to avoid duplicationJason DeTiberus
2015-11-04common/openshift-cluster: Scaleup playbookSamuel Munilla
New playbook to add nodes to a cluster without altering the masters
2015-11-04Fix bug from module rename.Devan Goodwin
2015-11-04Fix bug with default ansible playbook dir.Devan Goodwin
2015-11-04Merge branch 'config-upgrade' into upgradeDevan Goodwin
2015-11-04Use the base package upgrade version so we can check things earlier.Devan Goodwin
2015-11-04Skip fail if enterprise deployment type depending on version.Devan Goodwin
2015-11-03Support for gceKenny Woodson
2015-11-03Merge pull request #804 from mwoodson/disk_checksMatt Woodson
fixed copy and paste spelling error
2015-11-03fixed a dumb naming mistakeMatt Woodson
2015-11-03Merge pull request #771 from kwoodson/updategceKenny Woodson
Updating to latest gce.py inventory module from ansible
2015-11-03Merge pull request #803 from mwoodson/disk_checksMatt Woodson
added disk tps check to zabbix
2015-11-03added disk tps checks to zabbixMatt Woodson
2015-11-03Merge pull request #778 from error10/patch-1Brenton Leanhardt
Don't require tty to run sudo
2015-11-03Add debug output for location of etcd backup.Devan Goodwin
2015-11-03Merge remote-tracking branch 'upstream/master' into upgradeDevan Goodwin
2015-11-03Merge pull request #801 from smunilla/default_playbook_argBrenton Leanhardt
atomic-openshift-installer: Add default openshift-ansible-playbook
2015-11-03Merge pull request #798 from smunilla/inaccurate_promptBrenton Leanhardt
atomic-openshift-installer: Correct inaccurate prompt
2015-11-03Merge pull request #774 from smunilla/localsshBrenton Leanhardt
oo-install: Support running on the host to be deployed
2015-11-03Filter internal hostnames from the list of parsed names.Andrew Butcher
2015-11-03atomic-openshift-installer: Correct inaccurate promptSamuel Munilla
2015-11-03atomic-openshift-installer: Add default openshift-ansible-playbookSamuel Munilla
This adds a default value to the openshift-ansible-playbook directory and also removes the requirement that it be writable.
2015-11-03ooinstall: Add check for nopwd sudoSamuel Munilla
2015-11-03ooinstall: Update local install checkSamuel Munilla
Update to check both hostname and public_hostname. Remove ansible_sudo=no as I failed to notice we were already checking if ansible_ssh_user == 'root' and setting it there.
2015-11-03oo-install: Support running on the host to be deployedSamuel Munilla
This adds a check to see if the host the installer is running on is one of the hosts to be installed and sets i ansible_connection=local ansible_sudo=no in the inventory file.