Add ansible example tools
This commit is contained in:
parent
db63a9783e
commit
45f36514ec
14
dev/ansible/README
Normal file
14
dev/ansible/README
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
# This directory contains script example to use ansible to deploy or maitains dolibarr instances
|
||||||
|
|
||||||
|
This is a quick tutorial:
|
||||||
|
|
||||||
|
* Install ansible:
|
||||||
|
> apt-get install
|
||||||
|
|
||||||
|
* Add ip of server to manage into
|
||||||
|
/etc/ansible/hosts
|
||||||
|
|
||||||
|
* Deploy public key to managed servers
|
||||||
|
- authorized_key: user=charlie key="{{ lookup('file', '/home/charlie/.ssh/id_rsa.pub') }}"
|
||||||
|
|
||||||
|
|
||||||
Loading…
Reference in New Issue
Block a user