Skip to content

Commit 04e1d5f

Browse files
committed
Open Clean up ansible.posix.authorized_key tasks
1 parent ff01819 commit 04e1d5f

File tree

3 files changed

+3
-26
lines changed

3 files changed

+3
-26
lines changed

maintenance.yml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -42,15 +42,7 @@
4242
loop:
4343
- '{{ galaxy_user.name }}'
4444
- 'telegraf'
45-
- name: Set authorized SSH key (galaxy user)
46-
ansible.posix.authorized_key:
47-
user: '{{ galaxy_user.name }}'
48-
state: present
49-
key: '{{ item }}'
50-
loop:
51-
- https://github.com/mira-miracoli.keys
52-
- "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINZNuF25HySp311FKtDW9lDKUGslH6PGIap1eYniaPsC [email protected]"
53-
- "[email protected] AAAAGnNrLXNzaC1lZDI1NTE5QG9wZW5zc2guY29tAAAAIAXgFT+ynWEgCCAKepVgkSHauy+mLo+KlIGIIj0dkAXeAAAABHNzaDo= [email protected]"
45+
5446
- name: rsyslog configuration
5547
copy:
5648
content: |

tpv-broker.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,7 @@
4646
append: true
4747
loop:
4848
- '{{ galaxy_user.name }}'
49-
- name: Set authorized SSH key (galaxy user)
50-
ansible.posix.authorized_key:
51-
user: '{{ galaxy_user.name }}'
52-
state: present
53-
key: '{{ item }}'
54-
loop:
55-
- 'ecdsa-sha2-nistp521 AAAAE2VjZHNhLXNoYTItbmlzdHA1MjEAAAAIbmlzdHA1MjEAAACFBACB5Q5blymkTIRSzVzXITOGvBuI7W0L9Ykwfz8LJGPraaGVPiezzFGvjhqwX+EyCqQPt7JprR5mimJRw/JN3nBXWAHjekvmB5FuILkk6m5fOiQJ5QhRMyQ5GfxODAvGbHpTuWHbYJLWD5fhcboKPxlXOWy4xY9kDZVuQvEKisNKYBsFLA== sanjay'
49+
5650
roles:
5751
- usegalaxy_eu.handy.os_setup
5852
- geerlingguy.repo-epel

traefik-proxy.yml

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -38,16 +38,7 @@
3838
- docker
3939
- selinux
4040

41-
- name: Set authorized SSH key
42-
ansible.posix.authorized_key:
43-
user: "{{ ansible_ssh_user }}"
44-
state: present
45-
key: "{{ item }}"
46-
loop:
47-
- https://github.com/mira-miracoli.keys
48-
- "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINZNuF25HySp311FKtDW9lDKUGslH6PGIap1eYniaPsC [email protected]"
49-
- "[email protected] AAAAGnNrLXNzaC1lZDI1NTE5QG9wZW5zc2guY29tAAAAIAXgFT+ynWEgCCAKepVgkSHauy+mLo+KlIGIIj0dkAXeAAAABHNzaDo= [email protected]"
50-
- "{{ galaxy_user_public_key }}"
41+
5142

5243
- name: Copy Galaxy active users script
5344
ansible.builtin.copy:

0 commit comments

Comments
 (0)