This commit is contained in:
2026-08-27 05:38:32 +00:00
parent 2a29dc9195
commit 43204e8441
78 changed files with 904 additions and 1235 deletions
+13 -13
View File
@@ -59,15 +59,15 @@
line: "{{ terminus_key }}"
when: terminuskey_test.stdout == "0"
- name: Check rohan public key
shell: "grep -c \"{{ rohan_key }}\" /home/{{ user }}/.ssh/authorized_keys || true"
register: rohankey_test
- name: Check clair public key
shell: "grep -c \"{{ clair_key }}\" /home/{{ user }}/.ssh/authorized_keys || true"
register: clairkey_test
- name: Add Rohan public key
- name: Add clair public key
lineinfile:
dest: "/home/{{ user }}/.ssh/authorized_keys"
line: "{{ rohan_key }}"
when: rohankey_test.stdout == "0"
line: "{{ clair_key }}"
when: clairkey_test.stdout == "0"
- name: Check Anjin public key
shell: "grep -c \"{{ anjin_key }}\" /home/{{ user }}/.ssh/authorized_keys || true"
@@ -146,21 +146,21 @@
groups: lp
append: yes
- name: install rohan-redis-tunnel systemd unit file
- name: install nats-tunnel systemd unit file
template:
src: "files/rohan-redis-tunnel.service"
dest: "/etc/systemd/system/rohan-redis-tunnel.service"
src: "files/nats-tunnel.service"
dest: "/etc/systemd/system/nats-tunnel.service"
- name: enable service rohan-redis-tunnel and ensure it is not masked
- name: enable service nats-tunnel and ensure it is not masked
systemd:
name: rohan-redis-tunnel
name: nats-tunnel
enabled: yes
masked: no
- name: Make sure rohan-redis-tunnel service is running
- name: Make sure nats-tunnel service is running
systemd:
state: started
name: rohan-redis-tunnel
name: nats-tunnel
- name: install leardal systemd unit file
template: