Closed selmison closed 3 years ago
hey @selmison , if you look inside the role variables, you will notice that it includes the sshcommand version, so I guess all you need to do is update sshcommand_version
as well:
https://github.com/dokku/ansible-dokku/blob/31fac3145c72b52709a15554659cd2272aa6fd08/defaults/main.yml#L8-L13
However, I agree in the sense that I also wondered whether there is any particular reason for specifying the version of sshcommand in the role variables if it is anyhow a dependency of dokku. @josegonzalez would it be better/more user friendly to remove it from the role variables?
Have you come across use cases where it was necessary to pin the sshcommand version to something different than what you would get just by installing dokku? (same question applies to plugn/herokuish, if those are also dependencies)
@ltalirz defer to you as the defacto ansible-dokku lead dev :)
Looking back at this, these are the current dependencies of the dokku apt package:
ubuntu@dev-dokku:/etc/apt/sources.list.d$ apt-cache depends dokku
dokku
PreDepends: gliderlabs-sigil
|PreDepends: nginx
PreDepends: <openresty>
PreDepends: dnsutils
|PreDepends: cgroupfs-mount
PreDepends: cgroup-lite
PreDepends: plugn
PreDepends: sudo
sudo-ldap
PreDepends: python3
PreDepends: debconf
Depends: locales
Depends: git
Depends: cpio
Depends: curl
Depends: man-db
Depends: netcat
netcat-traditional
netcat-openbsd
Depends: sshcommand
|Depends: <docker-engine-cs>
|Depends: <docker-engine>
|Depends: <docker-io>
|Depends: docker.io
|Depends: docker-ce
|Depends: <docker-ee>
Depends: <moby-engine>
Depends: docker-image-labeler
Depends: net-tools
Depends: software-properties-common
Depends: procfile-util
|Depends: <python-software-properties>
Depends: python3-software-properties
Depends: rsyslog
Depends: dos2unix
Depends: jq
Recommends: herokuish
Recommends: parallel
Recommends: dokku-update
Recommends: dokku-event-listener
I.e. dokku
plugn
sshcommand
herokuish
[1]For most users, the ansible role could therefore just install dokku and would be fine. In order to support use cases where pinning is desired, I'll see whether I can retain the possibility to also fix the version of those packages independently.
[1] For recommended packages, ansible will follow the settings of the OS. For Ubuntu, the default behavior has been to install recommended packages (since ubuntu 10.04), but the user can change this.
Description of problem
When install dokku using 'dokku_bot.ansible_dokku' role and setting 'dokku_version' variable to 0.22.3, 0.22.4 and 0.22.5
How reproducible
Run playbook with:
Steps to Reproduce
ansible-playbook playbook.yml
Actual Results
Expected Results
Successful installation
Environment Information
Ubuntu 18.04 LTS