Add host "elasticsearch.crypto-libertarian.com"
This commit is contained in:
parent
c8d953acc1
commit
3d99a59dad
5 changed files with 35 additions and 0 deletions
2
group_vars/elasticsearch.yml
Normal file
2
group_vars/elasticsearch.yml
Normal file
|
@ -0,0 +1,2 @@
|
|||
---
|
||||
common__iptables__drop_by_default: true
|
18
host_vars/elasticsearch.crypto-libertarian.com.yml
Normal file
18
host_vars/elasticsearch.crypto-libertarian.com.yml
Normal file
|
@ -0,0 +1,18 @@
|
|||
---
|
||||
ansible_become_pass_for:
|
||||
kotovalexarian: !vault |
|
||||
$ANSIBLE_VAULT;1.2;AES256;kotovalexarian
|
||||
37356663356638623933323066626563363062333933326466643565333639343561626434653133
|
||||
3932396339323930343266323835356137316332653635310a333362346263333265333561663939
|
||||
37656334313731303536663031376132303636336330316636323032323832663634353138666432
|
||||
6434376561386265630a643864393765623138663464613265656465633965646138643834383163
|
||||
34386236643832646139393363376537626237613030613539356361613832303030623432366165
|
||||
3230643765353235613432633064383834623235666538353766
|
||||
|
||||
ansible_become_pass: "{{ ansible_become_pass_for[admin] }}"
|
||||
|
||||
common__certbot__cert_name: 'elasticsearch.crypto-libertarian.com'
|
||||
common__certbot__cert_domains:
|
||||
- 'elasticsearch.crypto-libertarian.com'
|
||||
common__certbot__post_hook: null
|
||||
common__certbot__pre_hook: null
|
4
hosts
4
hosts
|
@ -1,6 +1,10 @@
|
|||
elasticsearch.crypto-libertarian.com
|
||||
git.crypto-libertarian.com
|
||||
matrix.crypto-libertarian.com
|
||||
postgres.crypto-libertarian.com
|
||||
|
||||
[elasticsearch]
|
||||
elasticsearch.crypto-libertarian.com
|
||||
|
||||
[postgres]
|
||||
postgres.crypto-libertarian.com
|
||||
|
|
10
playbooks/deploy/elasticsearch.yml
Normal file
10
playbooks/deploy/elasticsearch.yml
Normal file
|
@ -0,0 +1,10 @@
|
|||
---
|
||||
- hosts: elasticsearch
|
||||
module_defaults:
|
||||
apt:
|
||||
force_apt_get: true
|
||||
update_cache: true
|
||||
cache_valid_time: 86400
|
||||
roles:
|
||||
- name: kotovalexarian.common
|
||||
tags: common
|
|
@ -1,4 +1,5 @@
|
|||
---
|
||||
- import_playbook: elasticsearch.yml
|
||||
- import_playbook: git.yml
|
||||
- import_playbook: matrix.yml
|
||||
- import_playbook: postgres.yml
|
||||
|
|
Reference in a new issue