Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
piops
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
6
Merge Requests
6
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
LQDN Adminsys
piops
Commits
fb7e8a6b
Commit
fb7e8a6b
authored
Feb 26, 2019
by
Okhin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Create wordpress configuration, need to fix the database user
parent
22dfaa42
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
20 additions
and
8 deletions
+20
-8
.gitignore
.gitignore
+2
-0
host_vars/pi3.lqdn.fr.yml
host_vars/pi3.lqdn.fr.yml
+14
-5
hosts
hosts
+0
-3
site.yml
site.yml
+4
-0
No files found.
.gitignore
View file @
fb7e8a6b
*.retry
*.retry
roles/geerlingguy.*/
roles/geerlingguy.*/
.password
.vault
host_vars/pi3.lqdn.fr.yml
View file @
fb7e8a6b
...
@@ -3,13 +3,22 @@ wordpress_url: https://grange.dev.lqdn.fr/
...
@@ -3,13 +3,22 @@ wordpress_url: https://grange.dev.lqdn.fr/
wordpress_title
:
"
Site
de
dev
—
Une
Grange"
wordpress_title
:
"
Site
de
dev
—
Une
Grange"
wordpress_admin_user
:
datafoin
wordpress_admin_user
:
datafoin
wordpress_admin_email
:
okhin@laquadrature.net
wordpress_admin_email
:
okhin@laquadrature.net
wordpress_dbname
:
unegrange_wp
wordpress_dbuser
:
datafoin
wordpress_dbpass
:
!vault
|
$ANSIBLE_VAULT;1.1;AES256
65336533383236653432626338613864633439626332323034633731666333333466383930633661
3431363865343433643530303430633664633032333834630a336261363263373331343030373832
39616639306138366335363438316233623838656631323133663365373531306535633630326561
3266633666616636650a356162626133353236663461303464346335396262303835666133613531
3131
certbot_create_command
:
"
{{
certbot_script
}}
certonly
--webroot
--webrootpath
/var/www/letsencrypt/
--noninteractive
--agree-tos
--email
{{
cert_item.email
|
default(certbot_admin_email)
}}
-d
{{
cert_item.domains
|
join(,)"
#
certbot_create_command: "{{ certbot_script }} certonly --webroot --webrootpath /var/www/letsencrypt/ --noninteractive --agree-tos --email {{ cert_item.email | default(certbot_admin_email) }} -d {{ cert_item.domains | join(,)"
certbot_certs
:
#
certbot_certs:
-
domains
:
#
- domains:
-
"
grange.dev.lqdn.fr"
#
- "grange.dev.lqdn.fr"
-
"
*.grange.dev.lqdn.fr"
#
- "*.grange.dev.lqdn.fr"
apache_vhosts_ssl
:
apache_vhosts_ssl
:
-
servername
:
"
grange.dev.lqdn.fr"
-
servername
:
"
grange.dev.lqdn.fr"
...
...
hosts
View file @
fb7e8a6b
...
@@ -5,6 +5,3 @@ pi3.lqdn.fr
...
@@ -5,6 +5,3 @@ pi3.lqdn.fr
[wordpress]
[wordpress]
pi3.lqdn.fr
pi3.lqdn.fr
[webserver]
pi3.lqdn.fr
site.yml
View file @
fb7e8a6b
...
@@ -50,7 +50,11 @@
...
@@ -50,7 +50,11 @@
-
role
:
geerlingguy.certbot
-
role
:
geerlingguy.certbot
-
hosts
:
wordpress
-
hosts
:
wordpress
environment
:
ANSIBLE_VAULT_PASSWORD_FILE
:
/root/.ansible.vault
remote_user
:
root
remote_user
:
root
vars_files
:
-
group_vars/webserver.yml
roles
:
roles
:
-
role
:
wpcli
-
role
:
wpcli
-
role
:
wordpress
-
role
:
wordpress
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment