mirror of
https://github.com/DO1JLR/ansible_playbook_servers.git
synced 2024-09-14 19:53:56 +02:00
29 lines
1 KiB
Markdown
29 lines
1 KiB
Markdown
[![MIT License](https://raw.githubusercontent.com/DO1JLR/ansible_playbook_template/main/.github/license.svg?sanitize=true)](https://github.com/DO1JLR/ansible_playbook_template/blob/main/LICENSE)
|
|
|
|
Ansible playbook to set up ...something
|
|
=========================================
|
|
|
|
This is a ansible playbook to setup ... Server and maybe some other projects. We will see...
|
|
|
|
|
|
|
|
Tipps und Tricks:
|
|
---------
|
|
### git submodule
|
|
Dieses Ansible verwendet submodule. Vergesst nicht diese regelmäßig mit auszuchecken!
|
|
```
|
|
git config submodule.recurse true
|
|
git submodule update --init --recursive
|
|
```
|
|
|
|
### Standard Playbook
|
|
Das standard Playook ist ``site.yml``. Womöglich sind hier andere Playbooks eingebunden...
|
|
|
|
### best practise Ansible-Vault:
|
|
[docs.ansible.com/ansible/latest/user_guide/playbooks_best_practices.htm](https://docs.ansible.com/ansible/latest/user_guide/playbooks_best_practices.html#tip-for-variables-and-vaults)
|
|
|
|
### weitere Methide variablen ins ansible vault:
|
|
```
|
|
ansible-vault encrypt_string 'encrypted_secret_string_value' \
|
|
-n string_name
|
|
```
|