Skip to content

Review pages where ansible_ssh_user is still in use #251

Open

Description

@AnBuKu

Since Ansible 2.0 and higher where ansible_ssh_user is deprecated and replaced by ansible_user [tallandtree_]

Search: https://docs.debops.org/en/latest/search.html?q=ansible_ssh_user&check_keywords=yes&area=default

Activity

  1. AnBuKu commented on Jul 22, 2017

    @AnBuKu
    ContributorAuthor

    Should I re-work the pages one by one? I'll happily do it, up to you :-)

  2. added a commit that references this issue on Jul 22, 2017
  3. ypid commented on Jul 22, 2017

    @ypid
    Member

    I added the substitution to debops-optimize so this fix will propagate over time. You can rework roles if you like. Ideally you can ask which roles would be suitable. Maybe checkout debops.atd if you like. That one should be easy.

  4. AnBuKu commented on Jul 22, 2017

    @AnBuKu
    ContributorAuthor
  5. ypid commented on Jul 22, 2017

    @ypid
    Member

    https://docs.debops.org/en/latest/search.html?q=ansible_ssh_user&check_keywords=yes&area=default should be ok for this case when you only want to update the variable. I am just not sure if the DebOps Developers could not do this more conveniently when reworking roles anyway. Ideally you would search for all occurances of ansible_ssh_user (not just in the docs, but also in the actual code).

  6. AnBuKu commented on Jul 22, 2017

    @AnBuKu
    ContributorAuthor

    OK, I'll go for your proposal, docs and code + min_ansible_version: '1.9.0' -> min_ansible_version: '2.0' + if needed - name: Debian versions: - wheezy - jessie add - stretch. - Or do I forget about stretch for the moment?

  7. reopened this on Jul 22, 2017
  8. ypid commented on Jul 22, 2017

    @ypid
    Member

    When you have tested that the role actually works with stretch why not. I would not just add it just for the sake of it :)

  9. AnBuKu commented on Jul 22, 2017

    @AnBuKu
    ContributorAuthor

    True, so I'll leave it in the future (one is already done without testing on stretch) without stretch.

  10. AnBuKu commented on Jul 22, 2017

    @AnBuKu
    ContributorAuthor

    @ypid Please, feel free to update/change. If you agree I start to work off the bullet list below.

    Next, after debops/ansible-atd are (change to ansible_user and/or to version `2.0.0 as a consequence):

    debops/ansible-role-ansible

    debops/ansible-bootstrap

    debops/ansible-debops

    debops/ansible-kvm - Deprecated role

    debops/ansible-librenms

    debops/ansible-libvirtd

    debops/ansible-openvz

    debops/ansible-preseed

    debops/ansible-smstools

  11. changed the title [-]Review 19 pages where ansible_ssh_user is still in use[/-] [+]Review pages where ansible_ssh_user is still in use[/+] on Jul 22, 2017
  12. ypid commented on Jul 22, 2017

    @ypid
    Member

    Looks good to me. But keep in mind that you can automate most of the work when you want to get a little fancy :) Still some changelog stuff and other things might have to be done manually. I thought for a sec that we deprecated debops.openvz already but seems it it still supported so go for it :)

  13. AnBuKu commented on Jul 22, 2017

    @AnBuKu
    ContributorAuthor

    I'm pretty sure you as a hacker/coder can automate this replacement work. :-) - But not me as Joe Average or a simple supporter. I would spend much more time for automation, than update 25 files. :-(

    debops.openvz is one of 20 roles with status tag build failing of actual 122 DebOps roles. In this status table there is no role with status deprecated, maybe as there is no column with status active or deprecated.

  14. ypid commented on Jul 22, 2017

    @ypid
    Member

    All right.

    In this status table there is no role with status deprecated,

    Deprecated disappear from the status page currently. I think there is an issue for status field. It has been requested a number of times but I am not really convinced :)

  15. AnBuKu commented on Jul 22, 2017

    @AnBuKu
    ContributorAuthor

    Maybe at the end of the status page, there could be a section Deprecated roles? As well, the tag Deprecated role would need to be applied in GitHub and in docs.debops.org, short: At any place related to the deprecated role, so DebOps users see clearly without searching, that the role is deprecated

    Anyhow, for the moment being, I'm not aware of any deprecated role in DebOps.

  16. ypid commented on Jul 23, 2017

    @ypid
    Member

    Lets just say I am not convinced that this should be on my todo right now :)

    There are some. grep over all roles helps.

  17. AnBuKu commented on Jul 23, 2017

    @AnBuKu
    ContributorAuthor

    Don't worry, I don't wanna convince you of anything :)

    Then following your grep over all roles there are so far two deprecated roles (maybe more?)

    Still listed in the DebOps status page. Both roles with Warning, this is a deprecated role It has been superseded by blabla. - So far fine and correct.

    What's for me a bit uncool, is the statement at the beginning of the status page:

    There are 122 roles in the DebOps project.

    What is somehow not true, as two of the 122 are deprecated.

    And as a newbie to DebOps, clicking by chance on the debops/ansible-mysql and then reading the warning, you feel very likely somehow mucked.

  18. ypid commented on Jul 23, 2017

    @ypid
    Member

    @drybjed I guess those roles should be removed from debops/docs?

  19. AnBuKu commented on Jul 23, 2017

    @AnBuKu
    ContributorAuthor

    Or at least removed from the status page; as long there is no column (Deprecated y/n) or section "Deprecated roles" at the end of the status page. The latter, at the end of the page, I would prefer, as it doesn't blow up the role table.

    Both might make sense, as documentation of such circumstances might be asked by Best Practice Badge of CII. But I'm not sure about that.

  20. ypid commented on Jul 23, 2017

    @ypid
    Member

    Removing from debops/docs will also remove them from the status page.

  21. AnBuKu commented on Jul 23, 2017

    @AnBuKu
    ContributorAuthor

    Hmmm... what is your suggestion then?

    I mean, above you asked (and I supported)

    I guess those roles should be removed from debops/docs?

  22. ypid commented on Jul 23, 2017

    @ypid
    Member

    Hmmm... what is your suggestion then?

    Removing from both for now. They can still be found on GitHub.

  23. AnBuKu commented on Jul 24, 2017

    @AnBuKu
    ContributorAuthor

    If we do so, I suggest to open an issue "Status page / Deprecated rolls" in github debops/docs as a reminder. Including layout of (far in the) future "status page".

    Status page
    |
    |__Active
    | |__Core rolls
    | |__Community packages
    |
    |__Deprecated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions