Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/Akipe/ansible_system_recipes

Personal Ansible recipes for manage my computers & servers.
https://github.com/Akipe/ansible_system_recipes

adminsys ansible archlinux proxmox

Last synced: 12 days ago
JSON representation

Personal Ansible recipes for manage my computers & servers.

Awesome Lists containing this project

README

        

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.