Skip to content

Commit

Permalink
Merge pull request #140 from rayashworth/fix-add-host
Browse files Browse the repository at this point in the history
Fix add host
  • Loading branch information
rayashworth committed Apr 14, 2021
2 parents 1300b50 + 9a5b49c commit cf6cdb9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions ansible/roles/request_ocp_fyre/tasks/request-ocp-fyre.yml
Original file line number Diff line number Diff line change
Expand Up @@ -156,12 +156,12 @@
delegate_to: localhost

- name: Add inf host to group
no_log: "True"
no_log: True
add_host:
name: "{{fyre_inf_public_ip}}"
name: "{{ fyre_inf_public_ip }}"
groups: "{{ fyre_ocp_inf_group }}"
ansible_user: "root"
inf_public_ip: "{{fyre_inf_public_ip}}"
inf_root_password: "{{fyre_inf_root_password}}"
inf_public_ip: "{{ fyre_inf_public_ip }}"
inf_root_password: "{{ fyre_inf_root_password }}"
clusterName: "{{ clusterName }}"
changed_when: false
changed_when: false
4 changes: 2 additions & 2 deletions ansible/roles/request_ocp_fyre/tasks/request-ocpplus-fyre.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,10 +100,10 @@

- name: Add inf host to group
add_host:
name: "{{fyre_inf_public_ip}}"
name: "{{ fyre_inf_public_ip }}"
groups: "{{ fyre_ocp_inf_group }}"
ansible_user: "root"
inf_public_ip: "{{fyre_inf_public_ip}}"
inf_public_ip: "{{ fyre_inf_public_ip }}"
clusterName: "{{ clusterName }}"
kubeadmin_password: "{{ cluster_status_response.json.clusters[0].kubeadmin_password }}"
ocp_access_url: "{{ cluster_status_response.json.clusters[0].access_url }}"
Expand Down

0 comments on commit cf6cdb9

Please sign in to comment.