Add snippets

This commit is contained in:
Alex Kotov 2020-02-06 19:47:51 +05:00
parent e0673abae0
commit 02e4c407c1
Signed by: kotovalexarian
GPG Key ID: 553C0EBBEB5D5F08
3 changed files with 4 additions and 0 deletions

View File

@ -14,6 +14,7 @@
- '{{ common__apache__conf_dir }}'
- '{{ common__apache__available_dir }}'
- '{{ common__apache__enabled_dir }}'
- '{{ common__apache__snippets_dir }}'
- name: Configure Apache ports
template:

View File

@ -15,6 +15,7 @@
- '{{ common__nginx__confd_dir }}'
- '{{ common__nginx__available_dir }}'
- '{{ common__nginx__enabled_dir }}'
- '{{ common__nginx__snippets_dir }}'
- name: Remove Nginx default site
file:

View File

@ -11,10 +11,12 @@ common__nginx__conf_dir: '/etc/nginx'
common__nginx__confd_dir: '{{ common__nginx__conf_dir }}/conf.d'
common__nginx__available_dir: '{{ common__nginx__conf_dir }}/sites-available'
common__nginx__enabled_dir: '{{ common__nginx__conf_dir }}/sites-enabled'
common__nginx__snippets_dir: '{{ common__nginx__conf_dir }}/snippets'
common__apache__conf_dir: '/etc/apache2'
common__apache__available_dir: '{{ common__apache__conf_dir }}/sites-available'
common__apache__enabled_dir: '{{ common__apache__conf_dir }}/sites-enabled'
common__apache__snippets_dir: '{{ common__apache__conf_dir }}/snippets'
common__certbot__nginx_ssl_ciphers:
- 'ECDHE-ECDSA-CHACHA20-POLY1305'