Ansible Script 추가
This commit is contained in:
10
ansible/teleport_setting/restart.yml
Normal file
10
ansible/teleport_setting/restart.yml
Normal file
@@ -0,0 +1,10 @@
|
||||
---
|
||||
- name: "restart"
|
||||
hosts: all
|
||||
become: yes
|
||||
tasks:
|
||||
- name: Restart teleport service
|
||||
ansible.builtin.systemd:
|
||||
name: teleport
|
||||
enabled: true
|
||||
state: restarted
|
||||
Reference in New Issue
Block a user