summaryrefslogtreecommitdiffstats
path: root/playbooks
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #1476 from davidmat/aws_launch_instances_sgBrenton Leanhardt2016-02-231-10/+5
|\ | | | | Correct parsing of ec2_security_groups env variable
| * Add correct parsing of ec2_security_groups env variableDavid Mat2016-02-231-10/+5
| |
* | Better diagnostic messages when an OpenStack heat stack creation failsLénaïc Huard2016-02-231-2/+35
|/
* Merge pull request #1337 from abutcher/master-scaleupBrenton Leanhardt2016-02-2217-80/+268
|\ | | | | Support for adding new masters
| * Add openshift_docker roles to master/node scaleup.Andrew Butcher2016-02-162-12/+20
| |
| * Add modify_yaml module.Andrew Butcher2016-02-162-3/+98
| |
| * Re-arrange scaleup playbooks.Andrew Butcher2016-02-168-2/+22
| |
| * Move additional master configuration into a separate master playbook.Andrew Butcher2016-02-1610-92/+84
| |
| * Generate each master's certificates separately.Andrew Butcher2016-02-161-7/+3
| |
| * Add new_masters to scaleup playbook.Andrew Butcher2016-02-168-16/+93
| |
* | Merge pull request #1423 from ↵Brenton Leanhardt2016-02-221-5/+6
|\ \ | | | | | | | | | | | | jdnieto/openstack_add_master_and_infra_to_node_security_group Openstack add master and infra to node security group
| * | added node-secgroup to master_nodesJose David Martin Nieto2016-02-221-5/+6
| | |
* | | Rename variable to delete temporary file, add configurable path.Hugo Rosnet2016-02-181-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | The variable's name for deleting the temporary file was a bit missleading, so it has been renamed to be more explicit. While the path was hardcoded in /root/, which could be problematic when the playbook is not run as run.
* | | Add extra parameters for S3 registry: delete file, create bucket.Hugo Rosnet2016-02-181-0/+4
| |/ |/| | | | | | | | | | | | | | | It would be nice to have options to be able to: * Delete or not the temporary config file - so that it can be check/modified directly * Create or not the bucket, as you might not have the right to do so This commit allows both of those things, without changing the default behavior of the playbook.
* | Merge pull request #1410 from abutcher/docker-scaleupBrenton Leanhardt2016-02-161-0/+10
|\ \ | |/ |/| Apply openshift_docker to nodes during scaleup.
| * Apply openshift_docker to nodes during scaleup.Andrew Butcher2016-02-161-0/+10
| |
* | Merge pull request #1387 from talset/atomic_uninstallBrenton Leanhardt2016-02-161-0/+7
|\ \ | |/ |/| Change etcd deamon name for atomic-host in playbooks/adhoc/uninstall.yml
| * Change etcd deamon name for atomic-hosttalset2016-02-131-0/+7
| | | | | | | | | | | | * Update playbooks/adhoc/uninstall.yml * Etcd run into a container on atomic-host and his name is etcd_container. We have to stop the container with the right name on atomic host
* | Merge pull request #1397 from brenton/bz1308314Brenton Leanhardt2016-02-151-1/+1
|\ \ | | | | | | Bug 1308314 - Failed to continue installation when pressing CTRL-C
| * | Bug 1308314 - Failed to continue installation when pressing CTRL-CBrenton Leanhardt2016-02-151-1/+1
| | |
* | | Merge pull request #1395 from brenton/masterBrenton Leanhardt2016-02-152-1/+11
|\ \ \ | |/ / |/| | Updating the 3.1.1 router to match the new liveness probe configuration
| * | Updating the 3.1.1 router to match the new liveness probe configurationBrenton Leanhardt2016-02-122-1/+11
| | |
* | | Merge pull request #1369 from lhuard1A/gce_oo_optionThomas Wiest2016-02-151-4/+4
|\ \ \ | | | | | | | | Make the GCE image_name and the machine_type configurable from the CLI
| * | | Make the GCE image_name and the machine_type configurable from the CLILénaïc Huard2016-02-101-4/+4
| | | |
* | | | Merge pull request #1355 from lhuard1A/fix_when_no_infraThomas Wiest2016-02-154-8/+8
|\ \ \ \ | | | | | | | | | | Fix issue when there are no infra nodes
| * | | | Fix issue when there are no infra nodesLénaïc Huard2016-02-094-8/+8
| |/ / /
* | | | Merge pull request #1357 from lhuard1A/pretty_print_gce_list_clusterThomas Wiest2016-02-151-2/+9
|\ \ \ \ | |_|/ / |/| | | Better structure the output of the list playbook
| * | | Better structure the output of the list playbookLénaïc Huard2016-02-091-2/+9
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The list playbook listed the IPs of the VMs without logging their role like: ``` PLAY [List instance(s)] ******************************************************* TASK: [debug ] **************************************************************** ok: [lenaic-node-compute-cd81b] => { "msg": "public ip: 104.155.50.164 private ip:10.55.0.49" } ok: [lenaic-master-9e767] => { "msg": "public ip: 104.155.47.180 private ip:10.55.0.113" } ok: [lenaic-node-infra-ab7c8] => { "msg": "public ip: 104.155.11.34 private ip:10.55.0.131" } ``` The list playbook now prints the information in a more structured way like: ``` PLAY [List Hosts] ************************************************************* TASK: [debug ] **************************************************************** ok: [localhost] => { "msg": { "lenaic": { "master": { "default": [ { "name": "lenaic-master-9e767", "private IP": "10.55.0.113", "public IP": "104.155.47.180" } ] }, "node": { "compute": [ { "name": "lenaic-node-compute-cd81b", "private IP": "10.55.0.49", "public IP": "104.155.50.164" } ], "infra": [ { "name": "lenaic-node-infra-ab7c8", "private IP": "10.55.0.131", "public IP": "104.155.11.34" } ] } } } } ``` This change of the output of the list playbook was previously done for OpenStack and libvirt in 332aa8c (#461). This change makes the GCE output identical to OpenStack and libvirt’s one.
* | | Don't automatically give additional permissions to all OAuth users on upgradeJordan Liggitt2016-02-122-0/+2
| | |
* | | Fix adhoc boostrap fedora playbookJason DeTiberus2016-02-121-1/+0
| | |
* | | Merge pull request #1392 from lhuard1A/manage_etc_hosts_falseBrenton Leanhardt2016-02-121-1/+0
|\ \ \ | | | | | | | | Fix libvirt cluster creation
| * | | Fix libvirt cluster creationLénaïc Huard2016-02-121-1/+0
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Doing a `bin/cluster create libvirt …` fails with the following error: ``` TASK: [Warn user about bad openshift_hostname values] ************************* [lenaic-node-compute-cf3fb, lenaic-node-compute-f39d3, lenaic-node-infra-0407f, lenaic-master-fc5f9] The hostname "lenaic-node-compute-cf3fb.example.com" for "lenaic-node-compute-cf3fb.example.com" doesn't resolve to an ip address owned by this host. Please set openshift_hostname variable to a hostname that when resolved on the host in question resolves to an IP address matching an interface on this host. This host will fail liveness checks for pods utilizing hostPorts, press CTRL-C to continue.: ``` because the `/etc/hosts` of the VM is containing: ``` [openshift@lenaic-node-compute-cf3fb ~]$ cat /etc/hosts # Your system has configured 'manage_etc_hosts' as True. # As a result, if you wish for changes to this file to persist # then you will need to either # a.) make changes to the master file in /etc/cloud/templates/hosts.redhat.tmpl # b.) change or remove the value of 'manage_etc_hosts' in # /etc/cloud/cloud.cfg or cloud-config from user-data # # The following lines are desirable for IPv4 capable hosts 127.0.0.1 lenaic-node-compute-cf3fb.example.com lenaic-node-compute-cf3fb 127.0.0.1 localhost.localdomain localhost 127.0.0.1 localhost4.localdomain4 localhost4 # The following lines are desirable for IPv6 capable hosts ::1 lenaic-node-compute-cf3fb.example.com lenaic-node-compute-cf3fb ::1 localhost.localdomain localhost ::1 localhost6.localdomain6 localhost6 ``` Disabling `manage_etc_hosts` removes the lines for `lenaic-node-compute-cf3fb` from `/etc/hosts` and makes than name resolved by the DNS to its real IP.
* / | Add missing `type` node labels on OpenStack and libvirtLénaïc Huard2016-02-122-0/+19
|/ /
* | Merge pull request #1324 from abutcher/fluentd-fixesBrenton Leanhardt2016-02-112-4/+0
|\ \ | | | | | | Remove fluentd_master and fluentd_node roles
| * | Remove fluentd_master and fluentd_node roles.Andrew Butcher2016-02-082-4/+0
| | |
* | | Bug 1302970 - update script does not patch router if name is different from ↵Brenton Leanhardt2016-02-113-22/+43
| | | | | | | | | | | | default
* | | Merge pull request #1326 from detiber/bz1303939Brenton Leanhardt2016-02-102-30/+22
|\ \ \ | | | | | | | | Fix infra_node deployment
| * | | fix default valueJason DeTiberus2016-02-101-1/+1
| | | |
| * | | add missing connection:localJason DeTiberus2016-02-091-0/+1
| | | |
| * | | consolidate oo_first_master post-config a bit, fix some roles that use ↵Jason DeTiberus2016-02-091-32/+10
| | | | | | | | | | | | | | | | openshift_facts without declaring a dependency
| * | | openshift_serviceaccounts updatesJason DeTiberus2016-02-091-9/+16
| | | | | | | | | | | | | | | | | | | | - make service account creation more flexible - create service accounts near where they are consumed
| * | | Fix infra_node deploymentJason DeTiberus2016-02-091-5/+11
| | |/ | |/| | | | | | | | | | | | | | | | - Do not deploy the router/registry when the infra_nodes variable is present but does not contain a list of infra nodes. - use right node group and only set openshift_infra_nodes if group is present
* | | Merge pull request #1368 from detiber/gte3_2Brenton Leanhardt2016-02-102-2/+2
|\ \ \ | | | | | | | | Add gte check for 3.2, update version checks to gte
| * | | Add gte check for 3.2, update version checks to gteJason DeTiberus2016-02-092-2/+2
| | | |
* | | | Merge pull request #1364 from codificat/openshift-enterpriseBrenton Leanhardt2016-02-105-5/+5
|\ \ \ \ | |/ / / |/| | | Add missing atomic- and openshift-enterprise
| * | | Add missing atomic- and openshift-enterprisePep Turró Mauri2016-02-095-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | Some checks related to *enterprise deployments were still only looking for "enterprise" deployment_type. Update them to cover also atomic-enterprise and openshift-enterprise deployment types.
* | | | Merge pull request #1330 from jkhelil/make-cli-pod-eviction-timeout-configurableBrenton Leanhardt2016-02-091-0/+4
|\ \ \ \ | |_|/ / |/| | | Make pod_eviction_timeout configurable from cli
| * | | Make pod_eviction_timeout configurable from clijawed2016-02-041-0/+4
| | | |
* | | | Bug 1304150 - Can't upgrade atomic-openshift to specified versionBrenton Leanhardt2016-02-091-0/+12
| | | |
* | | | Merge pull request #1206 from lhuard1A/openstack_dnsThomas Wiest2016-02-046-26/+234
|\ \ \ \ | | | | | | | | | | Add a DNS server on OpenStack clusters