mirror of
https://gitea.com/mcereda/oam.git
synced 2026-02-09 05:44:23 +00:00
Fixed ansible lint issues
This commit is contained in:
@@ -10,7 +10,12 @@
|
|||||||
hosts: all
|
hosts: all
|
||||||
vars:
|
vars:
|
||||||
ansible_distribution_with_underscores: "{{ ansible_distribution | replace(' ', '_') }}"
|
ansible_distribution_with_underscores: "{{ ansible_distribution | replace(' ', '_') }}"
|
||||||
repo_part_distribution: "{{ [ansible_distribution_with_underscores, ansible_distribution_version]|join('_') if ansible_distribution is search('leap', ignorecase=true) else ansible_distribution_with_underscores }}"
|
repo_part_distribution: >-
|
||||||
|
{{
|
||||||
|
[ansible_distribution_with_underscores, ansible_distribution_version]|join('_')
|
||||||
|
if ansible_distribution is search('leap', ignorecase=true)
|
||||||
|
else ansible_distribution_with_underscores
|
||||||
|
}}
|
||||||
tasks:
|
tasks:
|
||||||
- name: Add Packman to Zypper's repositories list
|
- name: Add Packman to Zypper's repositories list
|
||||||
become: true
|
become: true
|
||||||
|
|||||||
Reference in New Issue
Block a user