mirror of
https://git.fsfe.org/fsfe-system-hackers/innernet-playbook.git
synced 2024-11-24 23:53:11 +01:00
remove invitation files on kaim
This commit is contained in:
parent
d43bed1862
commit
fa3cf0ef32
@ -70,7 +70,7 @@
|
|||||||
ignore_errors: true
|
ignore_errors: true
|
||||||
|
|
||||||
- name: Copy invitation files of admin peers to controller
|
- name: Copy invitation files of admin peers to controller
|
||||||
# other machines should never be admins. Only humans.
|
# NOTE other machines should never be admins. Only humans.
|
||||||
synchronize:
|
synchronize:
|
||||||
src: "/root/{{ item.name }}.toml"
|
src: "/root/{{ item.name }}.toml"
|
||||||
dest: "{{ playbook_dir }}/roles/client/files/{{ item.name }}_admin.toml"
|
dest: "{{ playbook_dir }}/roles/client/files/{{ item.name }}_admin.toml"
|
||||||
@ -84,6 +84,9 @@
|
|||||||
mode: pull
|
mode: pull
|
||||||
with_items: "{{ peers }}"
|
with_items: "{{ peers }}"
|
||||||
|
|
||||||
|
- name: Make sure invitation files are absent on innernet-server
|
||||||
|
shell: "rm -rf /root/*.toml"
|
||||||
|
|
||||||
- name: Enable innernet-server daemon
|
- name: Enable innernet-server daemon
|
||||||
systemd:
|
systemd:
|
||||||
name: "innernet-server@{{ network_name }}"
|
name: "innernet-server@{{ network_name }}"
|
||||||
|
Loading…
Reference in New Issue
Block a user