-
Notifications
You must be signed in to change notification settings - Fork 1
/
development.yml
48 lines (39 loc) · 1.27 KB
/
development.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
---
- hosts: all
become: true
vars_files:
- vars/main.yml
- vars/vault.yml
- vars/sites.yml
tasks:
- name: Replace
shell: sed -i 's|DEVELOPMENT|{{ }}' Dockerfile
# sed
# Dockerfile
# Docker-compose
# ENV WP_HOME
# composer install
# composer require roots/wp-password-bcrypt
# install self-signed certificate
# - name: Ensure python OpenSSL dependencies are installed.
# pip:
# name: pyOpenSSL
# state: present
# - name: Ensure directory exists for local self-signed TLS certs.
# file:
# path: /etc/letsencrypt/live/{{ server_hostname }}
# state: directory
# - name: Generate an OpenSSL private key.
# openssl_privatekey:
# path: /etc/letsencrypt/live/{{ server_hostname }}/privkey.pem
# - name: Generate an OpenSSL CSR.
# openssl_csr:
# path: /etc/ssl/private/{{ server_hostname }}.csr
# privatekey_path: /etc/letsencrypt/live/{{ server_hostname }}/privkey.pem
# common_name: "{{ server_hostname }}"
# - name: Generate a Self Signed OpenSSL certificate.
# openssl_certificate:
# path: /etc/letsencrypt/live/{{ server_hostname }}/fullchain.pem
# privatekey_path: /etc/letsencrypt/live/{{ server_hostname }}/privkey.pem
# csr_path: /etc/ssl/private/{{ server_hostname }}.csr
# provider: selfsigned