Procházet zdrojové kódy

Added condition if ansible is not running on python3

"'3' if ansible_python.version.major == 3" fatally exits on systems with Python versions less than 3.  Adding the "else" statement corrects the fatal error.
pull/360/head
Shane DeRidder před 6 roky
committed by GitHub
rodič
revize
87719a248e
V databázi nebyl nalezen žádný známý klíč pro tento podpis ID GPG klíče: 4AEE18F83AFDEB23
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. +1
    -1
      roles/matrix-base/tasks/server_base/setup_debian.yml

+ 1
- 1
roles/matrix-base/tasks/server_base/setup_debian.yml Zobrazit soubor

@@ -28,7 +28,7 @@
apt:
name:
- bash-completion
- "python{{'3' if ansible_python.version.major == 3}}-docker"
- "python{{'3' if ansible_python.version.major == 3 else ''}}-docker"
- ntp
- fuse
state: latest


Načítá se…
Zrušit
Uložit