Skip to content

Personal Ansible recipes for manage my computers & servers.

License

Notifications You must be signed in to change notification settings

Akipe/ansible_system_recipes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Readme

Carefull, this contains errors. Work in progress.

Initialize

make init

Basic commande

make run NODE=nameNode
make run-init NODE=nameNode
make run-local NODE=nameNode
make run-direct ADDRESS=192.168.0.1 PLAYBOOK=playbookName # For devices not in inventory
make run-debug NODE=nameNode
make run-check NODE=nameNode
make get-info-direct ADDRESS=192.168.0.1 # For devices not in inventory

Generate encrypt var

make vault-create
make vault-create NODE=nameNode
make vault-edit
make vault-edit NODE=nameNode

ansible-vault encrypt_string --name 'variable_name'

Generate password hash (for Linux)

python -c "from passlib.hash import sha512_crypt; import getpass; print(sha512_crypt.using(rounds=5000).hash(getpass.getpass()))"

License

This project is licensed under the terms of the MIT license.

About

Personal Ansible recipes for manage my computers & servers.

Topics

Resources

License

Stars

Watchers

Forks

Languages