refactor(packages): directly pipe python script into ansible

This commit is contained in:
Matthieu Bessat 2024-07-11 12:05:59 +02:00
parent 8945449613
commit bc98c00950
4 changed files with 85 additions and 74 deletions

View file

@ -9,13 +9,13 @@
when: "not target_is_real"
block:
- copy:
src: ./vm_files/remote_key
dest: "{{ home }}/.ssh/{{ device_name }}_generic_ed25519"
mode: u=rw,g=,o=
src: ./vm_files/remote_key
dest: "{{ home }}/.ssh/{{ device_name }}_generic_ed25519"
mode: u=rw,g=,o=
- copy:
src: ./vm_files/remote_key.pub
dest: "{{ home }}/.ssh/{{ device_name }}_generic_ed25519.pub"
mode: u=rw,g=,o=
src: ./vm_files/remote_key.pub
dest: "{{ home }}/.ssh/{{ device_name }}_generic_ed25519.pub"
mode: u=rw,g=,o=
- name: Config git
template:
@ -33,9 +33,6 @@
- name: Load organization profile
when: organization is defined and "ssh" in organization_customize
become: true
copy:
src: "{{ home }}/.dots/profiles/{{ organization }}/configs/ssh"
dest: "{{ home }}/.ssh/profiles/{{ organization }}"
template: