-
Carlos Ramos Carreño authored
The `lsb_release` command is required in order to run the playbook, because it uses `ansible_lsb`. Otherwise, the following error is raised: ``` fatal: [127.0.0.1]: FAILED! => {"msg": "The conditional check '(ansible_distribution == \"Ubuntu\" and ansible_distribution_version == \"20.04\") or (ansible_lsb.codename == \"kylin\" and ansible_lsb.major_release == \"v10\")' failed. The error was: error while evaluating conditional ((ansible_distribution == \"Ubuntu\" and ansible_distribution_version == \"20.04\") or (ansible_lsb.codename == \"kylin\" and ansible_lsb.major_release == \"v10\")): 'dict object' has no attribute 'codename'. 'dict object' has no attribute 'codename'\n\nThe error appears to be in '/tmp/tmpplaybook_unstableslapos.27149/roles/repository/tasks/main.yml': line 91, column 5, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n - name: Install Ubuntu 20.04 repository key\n ^ here\n"} ``` As the package containing `lsb_release` is different on different Linux distros, this commit only attempts to install it in SLE 16 SP6, where it is called `lsb-release`.
05a19532