]> git.apps.os.sepia.ceph.com Git - ceph-cm-ansible.git/commitdiff
container-host: distro-specific secrets file 664/head
authorDavid Galloway <dgallowa@redhat.com>
Thu, 23 Dec 2021 16:53:14 +0000 (11:53 -0500)
committerDavid Galloway <dgallowa@redhat.com>
Thu, 23 Dec 2021 16:53:14 +0000 (11:53 -0500)
`container_packages` was getting set to `podman` for all downstream distros.  That won't work for Ubuntu so we'll use distro-specific secrets overrides.

Signed-off-by: David Galloway <dgallowa@redhat.com>
roles/container-host/tasks/main.yml

index 42001a39b9b32f33a6000e2533ba1fc8ca876eec..83f501384bf45d2d22c04391a34bb0b17dd5aaf2 100644 (file)
@@ -10,7 +10,7 @@
 - name: Including distro specific variables
   include_vars: "{{ item }}"
   with_first_found:
-    - "{{ secrets_path }}/container-host.yml"
+    - "{{ secrets_path }}/container-host/{{ ansible_distribution | lower }}_{{ ansible_distribution_major_version }}.yml"
     - "{{ ansible_distribution | lower }}_{{ ansible_distribution_major_version }}.yml"
     - "{{ package_manager }}_systems.yml"
     - empty.yml