Skip to content

Commit

Permalink
worlds worst ansible right there
Browse files Browse the repository at this point in the history
  • Loading branch information
jjaswanson4 committed May 19, 2023
1 parent 0f57526 commit 3269724
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions roles/setup_fdo/tasks/pre-flight.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---

- name: slurp up ssh pub key
ansible.builtin.slurp:
src: "{{ ssh_pub_key_path }}"
register: _ssh_pub_key_data

- name: set key data
ansible.builtin.set_fact:
_ssh_pub_key: "{{ (_ssh_pub_key_data['content'] | b64decode | split)[:2] | join(' ') }}"

0 comments on commit 3269724

Please sign in to comment.