mirror of
https://github.com/lemeow125/ansible-playbooks.git
synced 2025-01-19 02:43:02 +08:00
Update setup script
This commit is contained in:
parent
d7c89fc225
commit
19d3e3d02c
2 changed files with 7 additions and 2 deletions
|
@ -3,8 +3,8 @@
|
||||||
# 172.22.90.75 ansible_ssh_common_args="-o StrictHostKeyChecking=no"
|
# 172.22.90.75 ansible_ssh_common_args="-o StrictHostKeyChecking=no"
|
||||||
# Bare Metal Nodes
|
# Bare Metal Nodes
|
||||||
10.0.10.169 ansible_ssh_common_args="-o StrictHostKeyChecking=no"
|
10.0.10.169 ansible_ssh_common_args="-o StrictHostKeyChecking=no"
|
||||||
# 10.0.10.4 ansible_ssh_common_args="-o StrictHostKeyChecking=no"
|
10.0.10.4 ansible_ssh_common_args="-o StrictHostKeyChecking=no"
|
||||||
# 10.0.10.141 ansible_ssh_common_args="-o StrictHostKeyChecking=no"
|
10.0.10.141 ansible_ssh_common_args="-o StrictHostKeyChecking=no"
|
||||||
# 10.0.10.64 ansible_ssh_common_args="-o StrictHostKeyChecking=no"
|
# 10.0.10.64 ansible_ssh_common_args="-o StrictHostKeyChecking=no"
|
||||||
|
|
||||||
[openwrt]
|
[openwrt]
|
||||||
|
|
|
@ -62,6 +62,11 @@
|
||||||
state: latest
|
state: latest
|
||||||
- name: Install ACME
|
- name: Install ACME
|
||||||
shell: curl https://get.acme.sh | sh -s email="{{ ACME_EMAIL }}"
|
shell: curl https://get.acme.sh | sh -s email="{{ ACME_EMAIL }}"
|
||||||
|
- name: Ensure ACME directory exists
|
||||||
|
file:
|
||||||
|
path: ~/.acme.sh/.ssh/
|
||||||
|
state: directory
|
||||||
|
mode: "0700"
|
||||||
- name: Enable Syncthing Service
|
- name: Enable Syncthing Service
|
||||||
command: systemctl enable syncthing@root.service
|
command: systemctl enable syncthing@root.service
|
||||||
- name: Start Syncthing Service
|
- name: Start Syncthing Service
|
||||||
|
|
Loading…
Reference in a new issue