Andrea Cimbalo
95f93d6a5d
add basic lxc_guest monitoring
7 years ago
Edoardo Putti
57c3b7fc40
switch to stretch as default image
7 years ago
Edoardo Putti
e1118750ad
[lxc_guest] fix typo in resolv conf setter
7 years ago
Edoardo Putti
ad9a5d2c92
get ip from inventory with filter
7 years ago
Edoardo Putti
c731f86294
use `vm_gateway` group vars in lxc_guest
7 years ago
Edoardo Putti
98f25f858e
get gateway address from group variables
8 years ago
Edoardo Putti
0f66a650b1
[lxc] set container debian mirror during creation
8 years ago
Andrea Cimbalo
dc93d96f48
add dns_record role
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
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
f736895c8e
lxc_guest: fix raw command response handling
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
7d382bf67c
add optional size to container role with default
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
Andrea Cimbalo
eaada5baf1
move user ca to a separate file
8 years ago
Andrea Cimbalo
c26fbd96fb
remove ca-manager dependencies
8 years ago
Andrea Cimbalo
8cf49d4956
fix service tasks name
8 years ago
Slash
759d5880ca
lxc_guest now uses lxc-attach to do initial config, no longer needs external resolv.conf.
9 years ago
kaos
fcba3cc96f
fix cached resolv.conf, check ca and network also if container alredy exists
9 years ago
Slash
15302a6109
Minor lxc_guest fix.
9 years ago
Slash
ddf6e6ff04
Auto-updating guest VM DNS config via bind-mount.
9 years ago