Fixed a couple of bugs in the TUI like not properly fetching the size of the vpc_arr, or removing the prefix/suffix markers for Ansible's blockinfile from the SSH key
This commit is contained in:
@@ -21,6 +21,13 @@
|
||||
blockinfile:
|
||||
path: "{{ ansible_env.HOME }}/.ssh/{{ ssh_key_name }}.pem"
|
||||
block: "{{ aws_key_pair.key.private_key }}"
|
||||
marker: ""
|
||||
|
||||
- name: Remove the blank lines from blockinfile module
|
||||
lineinfile:
|
||||
path: "{{ ansible_env.HOME }}/.ssh/{{ ssh_key_name }}.pem"
|
||||
state: absent
|
||||
regexp: '^$'
|
||||
|
||||
when:
|
||||
- "'destroy' not in ansible_run_tags"
|
||||
|
||||
Reference in New Issue
Block a user