Skip to content

Commit

Permalink
Remove unnecessary commands for tree structure generation in generate…
Browse files Browse the repository at this point in the history
…_hcl_files.yml
  • Loading branch information
Your Name committed Jun 26, 2025
1 parent 9bf20f7 commit 805dab6
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions ansible/generate_hcl_files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -176,23 +176,6 @@
dest: "{{ output_dir }}/{{ env_name }}/{{ region_name }}/vpc/{{ cluster_dir }}/{{ item.path | regex_replace('.*' + current.cluster_dir + '/(.*)', '\\1') }}"
mode: '0644'
loop: "{{ additional_files.files }}"

- name: install tree command if not present
ansible.builtin.package:
name: tree
state: present

- name: get tree of repo structure
ansible.builtin.command: "tree -L 3 {{ output_dir }}"
register: tree_output

- name: Print tree structure of generated files
ansible.builtin.debug:
msg: "{{ tree_output.stdout }}"

- name: set repo_tree
ansible.builtin.set_fact:
repo_tree: "{{ tree_output.stdout }}"

- name: Generate README.md with documentation
ansible.builtin.template:
Expand Down

0 comments on commit 805dab6

Please sign in to comment.