1
0
Fork 0

Remove host "misc.crypto-libertarian.com"

This commit is contained in:
Alex Kotov 2020-07-04 10:53:33 +05:00
parent 2476d055aa
commit 7f868bdddd
Signed by: kotovalexarian
GPG key ID: 553C0EBBEB5D5F08
6 changed files with 0 additions and 58 deletions

View file

@ -1,24 +0,0 @@
---
ansible_become_pass: !vault |
$ANSIBLE_VAULT;1.1;AES256
30663738356639646630353032313363323435303266396331386635326634646263363765353162
3266633532313962393366373135636338363436396663650a653062623330653262343230393962
66616163376437303231346530386136646162653335646133353364343066396535363261336638
3964616439313034640a653833366537383435633261623165306238666438356366333066643463
61336632323866643236663130633162616336346135373466393862636232616238306234393566
3434383830653037623635386532663336306461363231356535
common__certbot__cert_name: 'misc.crypto-libertarian.com'
common__certbot__cert_domains:
- 'misc.crypto-libertarian.com'
- 'pub.crypto-libertarian.com'
common__nginx__state: install
common__nginx__sites:
- type: listing
domain: 'pub.crypto-libertarian.com'
cert: '/etc/letsencrypt/live/misc.crypto-libertarian.com/fullchain.pem'
key: '/etc/letsencrypt/live/misc.crypto-libertarian.com/privkey.pem'
ssl_conf: '/etc/letsencrypt/options-ssl-nginx.conf'
root: '/var/www/pub'

View file

@ -1,4 +1,3 @@
git.crypto-libertarian.com
matrix.crypto-libertarian.com
misc.crypto-libertarian.com
postgres.crypto-libertarian.com

View file

@ -1,14 +0,0 @@
---
- hosts: misc.crypto-libertarian.com
tasks:
- name: Find publications
find:
paths: /var/www/pub/
hidden: true
register: publications
- name: Fetch publications
fetch:
src: '{{ item }}'
dest: ../../backups
with_items: "{{ publications.files | map(attribute='path') | list }}"

View file

@ -1,3 +1,2 @@
---
- import_playbook: git.yml
- import_playbook: misc.yml

View file

@ -1,17 +0,0 @@
---
- hosts: misc.crypto-libertarian.com
module_defaults:
apt:
force_apt_get: true
update_cache: true
cache_valid_time: 86400
roles:
- kotovalexarian.common
tasks:
- name: Create directory for publications
file:
state: directory
path: /var/www/pub
owner: root
group: root
mode: 'u=rwx,g=rx,o=rx'

View file

@ -1,5 +1,4 @@
---
- import_playbook: git.yml
- import_playbook: matrix.yml
- import_playbook: misc.yml
- import_playbook: postgres.yml