1. 13 Feb, 2025 3 commits
    • Carlos Ramos Carreño's avatar
      Switch some commands to more widely available ones. · 692e672d
      Carlos Ramos Carreño authored
      The commands `wget` and `awk` are not present in the official Docker
      base image for SLE 15 SP6 (registry.suse.com/bci/bci-base:15.6).
      Although I guess that the lack of the latter means that this image is
      not properly POSIX-compliant, I think the easiest solution is to use
      `curl` and `sed` instead, which are available.
      
      See merge request nexedi/slapos.core!655
      692e672d
    • Carlos Ramos Carreño's avatar
      Install Ansible with pip in Suse. · 46070a30
      Carlos Ramos Carreño authored
      Suse SLE 15 SP6 has no official ansible package.
      Instead, we use the official Ansible installation method, by installing
      it using pip.
      
      See merge request nexedi/slapos.core!655
      46070a30
    • Carlos Ramos Carreño's avatar
      Install lsb-release when deploying SlapOS in SLE. · b9618530
      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`.
      
      See merge request nexedi/slapos.core!655
      b9618530
  2. 06 Feb, 2025 3 commits
  3. 05 Feb, 2025 8 commits
  4. 28 Jan, 2025 1 commit
  5. 27 Jan, 2025 1 commit
  6. 24 Jan, 2025 2 commits
  7. 14 Jan, 2025 9 commits
  8. 13 Jan, 2025 2 commits
  9. 10 Jan, 2025 2 commits
  10. 09 Jan, 2025 2 commits
  11. 07 Jan, 2025 1 commit
  12. 03 Jan, 2025 1 commit
  13. 02 Jan, 2025 5 commits