Skip to content

Commit

Permalink
feat(vm): refine vps nginx ansible sh
Browse files Browse the repository at this point in the history
  • Loading branch information
alomerry authored Dec 23, 2023
1 parent 6b7ef00 commit 0197568
Show file tree
Hide file tree
Showing 34 changed files with 235 additions and 870 deletions.
8 changes: 7 additions & 1 deletion vm/ansible/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,10 @@ ansible all -m ping -i ./ansible/hosts

ansible-playbook -i host/hosts playbook/common.yml

https://cloud.tencent.com/document/product/1207/45596
https://cloud.tencent.com/document/product/1207/45596

## vault

- ansible-vault encrypt config.json
- ansible-vault view config.json
- ansible-playbook vault.yml –ask-vault-pass
6 changes: 6 additions & 0 deletions vm/ansible/playbooks/frps.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
- name: install frps
hosts: all:&frps
vars:
testName: alomerry-test
roles:
- frps
16 changes: 16 additions & 0 deletions vm/ansible/playbooks/roles/frps/files/frps.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
$ANSIBLE_VAULT;1.1;AES256
38663465383965366232333538663733306236363734393038373735633334663436303634353331
3432643338363836333535333036356664653837393634390a356539636135663633303161306235
32616435346639666438636339653139396266353633353035373437366663616337656531313463
3337326637623266340a613263383638633335356162353731663931336636373536653134386632
32386637346163643832376661376561376133323261376361326336353430383366303537366266
31316338666165656638333366616461393864383631303965326239646239396461623636333631
62386263383633386332656333316262633632393333646165633038343862323161393866386630
61653161373839376635303864366537366533623834643034616639626434636139646238303165
61306666653261393036363233303339333766636665396335373064326265393163323965323232
34656230313433636666626464663233386361323932653734633331633235383039326634656331
64623561343636633663613537313031666165636335313232653738376437613933613665663930
33616166323130386262633366613963336466636366313738353437663839663430653533626439
32646135373730383235323337396265396563396363373462656162333535636561363839653630
38343039313139613536303135366638393432643532663435363264646236333761303437646239
346635323037393531646637643664663534
1 change: 0 additions & 1 deletion vm/ansible/playbooks/roles/vps-nginx/files/acme/.gitignore

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 0197568

Please sign in to comment.