-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DrawDB task #2
base: main
Are you sure you want to change the base?
DrawDB task #2
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
se ve bien : )
|
||
vars: | ||
github_repo: "https://github.com/LIDSOL/drawdb.git" | ||
app_dir: "/app" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
esto corre como root? tal vez sea mejor si utilizas /tmp/app
para no tener que crear un directorio nuevo en la raiz del filesystem (/
). Que piensas?
state: present | ||
when: ansible_distribution == "Debian" | ||
tags: | ||
- 1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
has utilizado los tags a la hora de ejecutar el playbook? normalmente los tags son un string que ayuda a filtrar pasos del notebook. Si no los has utilizado, tal vez sea mejor quitarlos
repo: "{{ github_repo }}" | ||
dest: "{{ app_dir }}" | ||
force: yes | ||
tags: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yo creo que conviene agregar un paso donde se borren estos archivos al final del playbook (asi podemos correrlo varias veces si es necesario). que piensas?
Igual no se que tan factible sea planear movernos con contenedores, al menos con la idea de estar hosteando a más largo plazo :)) |
No description provided.