Skip to content

Commit

Permalink
fix(role): corrected the syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
noelmcloughlin committed Sep 18, 2021
1 parent 2523acc commit e3217be
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@
shell: "{{ item }}"
become_user: "{{ k8s_user }}"
with_items:
- "kubectl patch pvc mongo-0-pv-claim -p '\''{{patch_param }}'\'' --type=merge -n soda-multi-cloud"
- "kubectl patch pvc mongo-1-pv-claim -p '\''{{patch_param }}'\'' --type=merge -n soda-multi-cloud"
- "kubectl patch pvc mongo-2-pv-claim -p '\''{{patch_param }}'\'' --type=merge -n soda-multi-cloud"
- "kubectl patch pvc mongo-0-pv-claim -p '\"{{patch_param }}\"' --type=merge -n soda-multi-cloud"
- "kubectl patch pvc mongo-1-pv-claim -p '\"{{patch_param }}\"' --type=merge -n soda-multi-cloud"
- "kubectl patch pvc mongo-2-pv-claim -p '\"{{patch_param }}\"' --type=merge -n soda-multi-cloud"
ignore_errors: yes

- name: Pause for 2 seconds
Expand Down Expand Up @@ -92,6 +92,6 @@
file:
state: absent
path: "{{ gelato_work_dir }}/multi-cloud/"
ignore_error: yes
ignore_errors: yes
become: yes

2 changes: 1 addition & 1 deletion ansible/roles/ha-ip-update/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

# Same IP is used for both the services. Only Port is different (predefined)
- name: replace the gelato_ha_api_ip and gelato_ha_s3_ip in the gelato-ha.yml
hosts: controllers
# hosts: controllers
replace:
path: "{{ role_path }}/../../group_vars/gelato-ha.yml"
regexp: "{{ item.regexp }}"
Expand Down

0 comments on commit e3217be

Please sign in to comment.