Pour tout problème contactez-nous par mail : support@froggit.fr | La FAQ :grey_question: | Rejoignez-nous sur le Chat :speech_balloon:

Skip to content
Snippets Groups Projects
Commit c6bdf9cb authored by freezed's avatar freezed :mountain:
Browse files

:fire: Reduce templates header

parent a6e47e52
No related branches found
No related tags found
No related merge requests found
......@@ -4,7 +4,7 @@
# This file is managed by Ansible #
# Manual edition will be overridden #
# #
# https://lab.frogg.it/fcode/ansible/debian #
# https://lab.frogg.it/freezed/ansible-debian #
# #
# ############################################# #
......
......@@ -5,7 +5,7 @@
# This file is managed by Ansible #
# Manual edition will be overridden #
# #
# https://lab.frogg.it/fcode/ansible/debian #
# https://lab.frogg.it/freezed/ansible-debian #
# #
# ############################################# #
......
# ############################################# #
# ~/.gitconfig #
# #
# This file is managed by Ansible #
# Manual edition will be overridden #
# #
# https://lab.frogg.it/fcode/ansible/debian #
# #
# https://lab.frogg.it/freezed/ansible-debian #
# ############################################# #
[color]
......
" """"""""""""""""""""""""""""""""""""""""""""" "
" ~/.vimrc "
" "
" This file is managed by Ansible "
" Manual edition will be overridden "
" "
" https://lab.frogg.it/fcode/ansible/debian "
" http://formation-debian.via.ecp.fr/ "
" "
" https://lab.frogg.it/freezed/ansible-debian "
" """"""""""""""""""""""""""""""""""""""""""""" "
" ':help options.txt' ou ':help nom_du_paramètre' dans Vim
......
# ############################################# #
# ~/.zlogin #
# #
# This file is managed by Ansible #
# Manual edition will be overridden #
# #
# https://lab.frogg.it/fcode/ansible/debian #
# #
# https://lab.frogg.it/freezed/ansible-debian #
# ############################################# #
USAGE_FILE=/var/.usage
......
# ############################################# #
# ~/.zlogout #
# #
# This file is managed by Ansible #
# Manual edition will be overridden #
# #
# https://lab.frogg.it/fcode/ansible/debian #
# #
# https://lab.frogg.it/freezed/ansible-debian #
# ############################################# #
echo "Exiting ${HOSTNAME}…"
# ############################################# #
# ~/.zshenv #
# #
# This file is managed by Ansible #
# Manual edition will be overridden #
# #
# https://lab.frogg.it/fcode/ansible/debian #
# #
# https://lab.frogg.it/freezed/ansible-debian #
# ############################################# #
export PATH="/usr/local/bin:/usr/local/sbin:/bin:/usr/bin:/usr/sbin:/usr/bin/X11:/usr/X11R6/bin:/usr/games:/sbin:$HOME/bin:$HOME/.local/bin"
......
# ############################################# #
# ~/.zshrc #
# #
# This file is managed by Ansible #
# Manual edition will be overridden #
# #
# https://lab.frogg.it/fcode/ansible/debian #
# from http://formation-debian.via.ecp.fr #
# #
# https://lab.frogg.it/freezed/ansible-debian #
# ############################################# #
......
# ############################################# #
# GpsPrune config file #
# ~/.pruneconfig #
# #
# This file is managed by Ansible #
# Manual edition will be overridden #
# #
# https://lab.frogg.it/fcode/ansible/debian #
# #
# https://lab.frogg.it/freezed/ansible-debian #
# ############################################# #
prune.unitsetkey=unitset.kilometres
......
#jinja2:lstrip_blocks: True
# ############################################# #
# This file is managed by Ansible #
# Manual edition will be overridden #
# https://lab.frogg.it/freezed/ansible-debian #
# ############################################# #
{% if inventory_hostname in groups['station'] or inventory_hostname in groups['backup'] %}
# WAN
{% for host in groups['production'] %}
Host {{ host }}
User {{ hostvars[host]['my_user'] }}
Hostname {{ hostvars[host]['ansible_host'] }}
Port {{ hostvars[host]['ansible_port'] }}
{% endfor %}
{% endif %}
{% if inventory_hostname in groups['station'] or inventory_hostname in groups['production'] %}
# BKP
{% for host in groups['backup'] %}
Host {{ host }}
User {{ hostvars[host]['my_user'] }}
Hostname {{ hostvars[host]['ansible_host'] }}
Port {{ hostvars[host]['ansible_port'] }}
{% endfor %}
{% endif %}
{% if inventory_hostname in groups['station'] %}
# DEV
{% for host in groups['devel'] %}
Host {{ host }}
User {{ hostvars[host]['my_user'] }}
Hostname {{ hostvars[host]['ansible_host'] }}
Port {{ hostvars[host]['ansible_port'] }}
{% endfor %}
# LOCAL
{% for host in groups['station'] %}
Host {{ host }}
User {{ hostvars[host]['my_user'] }}
Hostname {{ hostvars[host]['ansible_host'] }}
Port {{ hostvars[host]['ansible_port'] }}
{% endfor %}
{% endif %}
#jinja2:lstrip_blocks: True
# ############################################# #
# SSH config file #
# ~/.ssh/config #
# #
# This file is managed by Ansible #
# Manual edition will be overridden #
# #
# https://lab.frogg.it/fcode/ansible/debian #
# #
# https://lab.frogg.it/freezed/ansible-debian #
# ############################################# #
{% for host in groups['all'] %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment