Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
rayshoo committed Sep 4, 2021
1 parent fa396f4 commit b4c3799
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions ansible/roles/builder/roles/buildah/tasks/main.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
---
- name: Install buildah
- name: Install buildah(Debian)
when: ansible_os_family == "Debian"
apt:
update_cache: yes
name: buildah{{ '=' + version['buildah'] if version['buildah'] != 'latest' else '' }}
state: "{{ 'present' if version['buildah'] != 'latest' else 'latest' }}"

- name: Install buildah
- name: Install buildah(RedHat)
when: ansible_os_family == "RedHat"
yum:
update_cache: yes
Expand Down
4 changes: 2 additions & 2 deletions ansible/roles/builder/roles/podman/tasks/main.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
- name: Install podman
- name: Install podman(Debian)
when: ansible_os_family == "Debian"
apt:
update_cache: yes
Expand All @@ -10,7 +10,7 @@
retries: 5
delay: 3

- name: Install podman
- name: Install podman(RedHat)
when: ansible_os_family == "RedHat"
yum:
update_cache: yes
Expand Down

0 comments on commit b4c3799

Please sign in to comment.