diff options
author | Joel Diaz <jdiaz@redhat.com> | 2018-01-08 16:04:50 -0500 |
---|---|---|
committer | Joel Diaz <jdiaz@redhat.com> | 2018-01-08 16:04:50 -0500 |
commit | 3623bb6d344164f3f071f25ea4fcd99d7f1a7f3a (patch) | |
tree | ceeea146a04005c2c600d1b262687270be6ce1bb | |
parent | 74294d8258a4812752434feaf4cd4b512a992af8 (diff) | |
download | openshift-3623bb6d344164f3f071f25ea4fcd99d7f1a7f3a.tar.gz openshift-3623bb6d344164f3f071f25ea4fcd99d7f1a7f3a.tar.bz2 openshift-3623bb6d344164f3f071f25ea4fcd99d7f1a7f3a.tar.xz openshift-3623bb6d344164f3f071f25ea4fcd99d7f1a7f3a.zip |
docker storage setup for ami building
add host to g_new_node_hosts so that plays run against the AMI instance
update example vars so that overlay2 is used by default for docker storage
-rw-r--r-- | playbooks/aws/provisioning_vars.yml.example | 5 | ||||
-rw-r--r-- | roles/openshift_aws/tasks/provision_instance.yml | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/playbooks/aws/provisioning_vars.yml.example b/playbooks/aws/provisioning_vars.yml.example index 2eb7d23d4..f6b1a6b5d 100644 --- a/playbooks/aws/provisioning_vars.yml.example +++ b/playbooks/aws/provisioning_vars.yml.example @@ -93,6 +93,11 @@ openshift_aws_ssh_key_name: # myuser_key # --------- # # Variables in this section apply to building a node AMI for use in your # openshift cluster. +# openshift-ansible will perform the container runtime storage setup when specified +# The current storage setup with require a drive if using a separate storage device +# for the container runtime. +container_runtime_docker_storage_type: overlay2 +container_runtime_docker_storage_setup_device: /dev/xvdb # must specify a base_ami when building an AMI openshift_aws_base_ami: # ami-12345678 diff --git a/roles/openshift_aws/tasks/provision_instance.yml b/roles/openshift_aws/tasks/provision_instance.yml index 7eadd1522..786db1570 100644 --- a/roles/openshift_aws/tasks/provision_instance.yml +++ b/roles/openshift_aws/tasks/provision_instance.yml @@ -42,5 +42,5 @@ - name: add host to nodes add_host: - groups: nodes + groups: nodes,g_new_node_hosts name: "{{ instancesout.instances[0].public_dns_name }}" |