Edoardo Putti
939c23183a
add domain to group_vars and use it in reverse proxy templates
8 years ago
Edoardo Putti
29aba60483
set ip to bind in reverse proxy http configuration
Because we are using openwrt and we would like to mantain LUCI running
on it's interface we can't bind on 0.0.0.0. or 127.0.0.1 hence we must
listen on a specific ip. This will set the public ip from the group
vars to be the one where we listen
8 years ago
Edoardo Putti
cf365e645d
draft for the reverse proxy role
This role split the reverse proxy configuration in three files per
host. Every file belong to a different directory that is created on
the reverse proxy we use (nginx).
8 years ago
Edoardo Putti
fba9e26298
split reverse proxy nginx configuration
The server, map and upstream directives can be splitted into
different files to be included into the nginx.conf configuration.
8 years ago
Edoardo Putti
cca78108b8
rename template file from reverse_proxy to map
We decided to split the reverse proxy configuration from one file to
three different files. One is the http configuration and the remaining
are the https configuration.
8 years ago
Edoardo Putti
eba153f8b1
draft for a role to provide reverse proxy with SNI
8 years ago
Andrea Cimbalo
2bd959ebe2
add vpn
8 years ago
Edoardo Putti
5d2f697cc8
move dokuwiki configuration file from template to file
The dokuwiki configuration file was misplaced and the playbook
couldn't find it when creating a new istance of the wiki.
8 years ago
Edoardo Putti
a9b4fcf0af
change from a /16 subnet to a /24 subnet
With the transition to the new ninux-compatible network we choose to
have a ip pool for vm that resides on the 10.150.42 network.
As 254 unique addresses are sufficient for our need we reduce the subnet
to a /24
8 years ago
Andrea Cimbalo
83ecbda2b1
nginx: update package name from php-fpm to php5-fpm
8 years ago
Andrea Cimbalo
f736895c8e
lxc_guest: fix raw command response handling
8 years ago
Edoardo Putti
2507992769
add python-mysql bindings to mysql role
8 years ago
Edoardo Putti
e83cdbfff5
bugfix, extract stdout then parse as json
8 years ago
Edoardo Putti
4b9f7d7fe7
swith to ca_request instead of iterating on cas
8 years ago
Edoardo Putti
4f9f8e35e7
add check on release variable
8 years ago
Edoardo Putti
e3167c9baf
add fix for lxc_container module and files descriptor leaking
8 years ago
Edoardo Putti
9d2a1b82c4
change from task to handler in restart container
8 years ago
Edoardo Putti
7c7cac4dc4
remove container command from lxc_container task
8 years ago
Edoardo Putti
2f53d5b664
remove version from package php-fpm
8 years ago
Edoardo Putti
e83c48089d
format nginx role
8 years ago
Edoardo Putti
3b2e3ec803
document which tasks are run in postgresql role
8 years ago
Edoardo Putti
8536fe0045
enhance formatting in mattermost role
8 years ago
Edoardo Putti
7d382bf67c
add optional size to container role with default
8 years ago
Edoardo Putti
3882ede943
better format gitlab roles tasks
8 years ago
Edoardo Putti
1abc1a8e40
update dokuwiki role to use our configuration
8 years ago
Edoardo Putti
3161ad2d72
enhance debug task formatting
8 years ago
Edoardo Putti
186649cd8d
use vm_ssh_certificate_exist instead of old variable
8 years ago
Edoardo Putti
f0ef142f87
fix cert_key in set_fact task
8 years ago
Edoardo Putti
99118f6c83
update failed_when policy to use new variabl
8 years ago
Edoardo Putti
b2313d2b37
fix reading output of sign_request when setting fact
8 years ago
Edoardo Putti
b94e0c9a9a
evaluate when sign_request has failed
8 years ago
Edoardo Putti
3f7dcce00a
remov checking for certificate from shell task
8 years ago
Edoardo Putti
13acb1862b
remove updating user ca key from shell command
8 years ago
Edoardo Putti
d3a1348f05
enhance yaml formatting
8 years ago
Edoardo Putti
2a62a025eb
add task to update CA in container
8 years ago
Edoardo Putti
e068a6b869
show public key when retrieved
8 years ago
Edoardo Putti
f7a533b89b
remove task to read public key from shell
8 years ago
Edoardo Putti
684c5a6ce7
use variable from container_read_file
8 years ago
Edoardo Putti
e48e374934
rename variable to distinguish vm from host
8 years ago
Edoardo Putti
15f45accd9
add retrieval of resolv.conf file from container
8 years ago
Edoardo Putti
2797c30998
use module container_file_write in lxc_guest
8 years ago
Edoardo Putti
87a0de0f76
use container_file_read in playbook
8 years ago
Edoardo Putti
3fd7bff4e1
move to general check in container
8 years ago
Edoardo Putti
3a42c4a9cf
draft for checking host certificate task
8 years ago
Edoardo Putti
0d0f0e7330
enhance formatting in lxc_guest playbook
8 years ago
Edoardo Putti
111388d9f3
enhance formatting in lxc_guest playbook
8 years ago
Edoardo Putti
30d3685352
use container_exists module in lxc_guest playbook
8 years ago
Edoardo Putti
1a67a96c0c
enhance formatting in lxc_guest
8 years ago
Edoardo Putti
e9cd74958e
rename task to specify dir instead of name
8 years ago
Edoardo Putti
ccfcbc2f86
exchange switched task description
8 years ago