This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- name: Update to last version | |
hosts: Ansible | |
roles: | |
- { role: redmine, update: true, db_name: "redmine", db_username: "admin", db_password: "unaContrasenia"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- name: Install version 2.5.2 | |
hosts: Ansible | |
roles: | |
- { role: redmine, mysql_root_password: "dificil", db_host: "127.0.0.1", db_name: "redmine", db_username: "admin", db_password: "unaContrasenia", redmine_version: "2.5.2" } |
I hereby claim:
- I am almavizca on github.
- I am krahser (https://keybase.io/krahser) on keybase.
- I have a public key ASAFCgeIqI8wMNfbSVQrMTTDJy3hyIkETm-2ETHiPvy9hQo
To claim this, I am signing this object:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '2' | |
services: | |
# MongoDB: https://hub.docker.com/_/mongo/ | |
mongodb: | |
image: mongo:3 | |
# Elasticsearch: https://www.elastic.co/guide/en/elasticsearch/reference/5.6/docker.html | |
elasticsearch: | |
image: docker.elastic.co/elasticsearch/elasticsearch:5.6.3 | |
environment: | |
- http.host=0.0.0.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- hosts: localhost | |
tasks: | |
- name: Add cloudflare | |
cloudflare_dns: | |
zone: "{{ zone }}" | |
record: "{{ record }}" | |
type: "{{ type }}" | |
value: "{{ destination }}" | |
solo: true | |
proxied: yes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
_git_path(){ | |
git rev-parse --show-toplevel 2>/dev/null | |
} | |
cd(){ | |
# first and foremost, change directory | |
builtin cd $argv 2> /dev/null | |
GIT_DIR=$(_git_path) | |
VPATH=.venv |