diff options
author | Scott Dodson <sdodson@redhat.com> | 2017-10-18 07:48:17 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-18 07:48:17 -0400 |
commit | 63b77fbe00e4c724452a0256c6fdafc165755962 (patch) | |
tree | 6b2b32616fe25f91d0658ea4ef73b79b1b3ab526 /playbooks/aws | |
parent | 5ff1e1bec64ea99830003a7f7d44de0ac1e65a57 (diff) | |
parent | 47d2e205fa6c76ec66cd22b9100b561cd71e6976 (diff) | |
download | openshift-63b77fbe00e4c724452a0256c6fdafc165755962.tar.gz openshift-63b77fbe00e4c724452a0256c6fdafc165755962.tar.bz2 openshift-63b77fbe00e4c724452a0256c6fdafc165755962.tar.xz openshift-63b77fbe00e4c724452a0256c6fdafc165755962.zip |
Merge pull request #5361 from kwoodson/fix_bootstrap_files
Provisioning updates.
Diffstat (limited to 'playbooks/aws')
-rwxr-xr-x | playbooks/aws/openshift-cluster/accept.yml | 6 | ||||
-rw-r--r-- | playbooks/aws/openshift-cluster/build_ami.yml | 1 |
2 files changed, 4 insertions, 3 deletions
diff --git a/playbooks/aws/openshift-cluster/accept.yml b/playbooks/aws/openshift-cluster/accept.yml index ffc367f9f..c2c8bea50 100755 --- a/playbooks/aws/openshift-cluster/accept.yml +++ b/playbooks/aws/openshift-cluster/accept.yml @@ -42,12 +42,12 @@ until: "'instances' in instancesout and instancesout.instances|length > 0" - debug: - msg: "{{ instancesout.instances|map(attribute='private_dns_name') | list | regex_replace('.ec2.internal') }}" + msg: "{{ instancesout.instances|map(attribute='private_dns_name') | list }}" - name: approve nodes oc_adm_csr: #approve_all: True - nodes: "{{ instancesout.instances|map(attribute='private_dns_name') | list | regex_replace('.ec2.internal') }}" - timeout: 0 + nodes: "{{ instancesout.instances|map(attribute='private_dns_name') | list }}" + timeout: 60 register: nodeout delegate_to: "{{ mastersout.instances[0].public_ip_address }}" diff --git a/playbooks/aws/openshift-cluster/build_ami.yml b/playbooks/aws/openshift-cluster/build_ami.yml index 559a37cbe..ee281929a 100644 --- a/playbooks/aws/openshift-cluster/build_ami.yml +++ b/playbooks/aws/openshift-cluster/build_ami.yml @@ -27,6 +27,7 @@ - name: set the user to perform installation set_fact: ansible_ssh_user: "{{ openshift_aws_build_ami_ssh_user | default('root') }}" + openshift_node_bootstrap: True # This is the part that installs all of the software and configs for the instance # to become a node. |