Skip to content

Commit 8dde227

Browse files
Update cloud-agent to keep all params in config
1 parent 94649f2 commit 8dde227

File tree

1 file changed

+2
-2
lines changed
  • playbooks/roles/oci-cloud-agent/tasks

1 file changed

+2
-2
lines changed

playbooks/roles/oci-cloud-agent/tasks/el.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@
1717

1818
- name: Create configuration for core - modify params
1919
set_fact:
20-
mydata: "{{ mydata | combine(newdata) }}"
20+
mydata: "{{ mydata | combine(newdata, recursive=True) }}"
2121
vars:
2222
newdata:
2323
plugins:
2424
osms:
2525
disabled: true
2626
when: agent_file.stat.exists
27-
27+
2828
- name: Write back to a file
2929
copy:
3030
content: '{{ mydata | to_nice_yaml }}'

0 commit comments

Comments
 (0)