Skip to content

Ansible Jenkins macos10.x machines challenges #3119

Closed

Description

@UlisesGascon

When We were working on #3112, I discovered that Ansible scripts are not working properly for macos10.14 and macos10.15.

The first time I tried to run the script I got an error related to brew cask:

TASK [package-upgrade : Add AdoptOpenJDK Java Repo] *********************************************************************************************************
ok: [test-orka-macos10.14-x64-2]

TASK [package-upgrade : Update Casks]  

...
Deleted Formulae\npython\n\nYou have 12 outdated formulae and 1 outdated cask installed.\nYou can upgrade them with brew upgrade\nor list them with brew outdated.\n\nError: `brew cask` is no longer a `brew` command. Use `brew <command> --cask` instead."}

In the next attempt the script stops at this stage:

Captura de Pantalla 2022-12-17 a las 11 05 24

I can confirm that the playbook works perfect for macos11 machines.

Activity

  1. changed the title [-]Ansible Jenkins macos machines challenges[/-] [+]Ansible Jenkins macos10.x machines challenges[/+] on Dec 17, 2022
  2. targos commented on Dec 18, 2022

    @targos
    Member

    I'm pretty sure that's because of #3087

  3. UlisesGascon commented on Dec 20, 2022

    @UlisesGascon
    MemberAuthor

    Captura de Pantalla 2022-12-20 a las 11 41 19

    I will need to patch Ansible to ignore this error. The upgrade still working (manually tried), but we need to ignore this error due deprecation

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions