Skip to content

Commit

Permalink
add comment why we need from_json/to_json
Browse files Browse the repository at this point in the history
  • Loading branch information
evgeni committed Jul 8, 2020
1 parent 00b1b82 commit 606e757
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions playbooks/setup_forklift.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,7 @@

- name: 'Configure Forklift'
copy:
# the to_json/from_json is a workaround for https://github.com/ansible/ansible-lint/issues/776
# it can be removed when we use ansible-lint 4.3.0 as that contains a fix
content: "{{ forklift_config | to_json | from_json | to_nice_yaml }}"
dest: "{{ forklift_dest }}/vagrant/settings.yaml"

0 comments on commit 606e757

Please sign in to comment.