Andrea Cimbalo
9886f4ce4d
fix service handler name in ldap role
8 years ago
Andrea Cimbalo
49ac0a9b6e
fix ssh cert hostname
8 years ago
Andrea Cimbalo
41a144f0fb
update apt cache in lxc_guest
8 years ago
Andrea Cimbalo
1d0e62b2f3
move vm ssh-server to a separate role and use lxc_ssh connection plugin to execute it on the lxc_guest
8 years ago
Edoardo Putti
e8e25e89c9
change host from gandalf2 to reverse_proxy
8 years ago
Edoardo Putti
9c1f858f50
add default variable to reverse_proxy role
8 years ago
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
849ec5afcb
pin down specific ansible version to be used with our playbook
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
Edoardo Putti
07ec88eada
Configure vlan on host
This commit includes the configuration of vlans on the host
for virtual machines. By configuring a bridge on the br0 interface
we can host the virtual machine vlan and by setting a vlan on the
logical device we can include it into the management vlan.
All variables are included from playbook
8 years ago
Edoardo Putti
b12a155282
install vlan utility on host
8 years ago
Andrea Cimbalo
83ecbda2b1
nginx: update package name from php-fpm to php5-fpm
8 years ago
Andrea Cimbalo
5b384bc14f
destroy_container: show error on user abort
8 years ago
Andrea Cimbalo
f736895c8e
lxc_guest: fix raw command response handling
8 years ago
Andrea Cimbalo
26c4317049
don't mark host as changed on container_exists
8 years ago
Edoardo Putti
e0fc22fc64
format nicely prepare_host playbook
8 years ago
Edoardo Putti
4dcc310666
add instructions for ca_request hostname
8 years ago
Edoardo Putti
ed3e1540d1
draft for setup instructions
8 years ago
Edoardo Putti
2f04719171
format wiki playbook
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
ffef391ff9
add template for syslog client
8 years ago
Edoardo Putti
f7f3c6c052
confiure central logger
8 years ago
Edoardo Putti
25a564ff6d
create central log server, install rsyslog on every server
8 years ago
Edoardo Putti
a4b6ac6be7
draft for centralised logging
8 years ago
Edoardo Putti
60d4a04a39
better format service playbook
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
12a38ed0ad
update README with list of what's working
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