diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2023-09-19 15:18:11 +0200 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2023-09-19 15:18:11 +0200 |
commit | b7c1b4ac206db24c0ccacf30c1dc7148b3cf2958 (patch) | |
tree | e731b36013248dc3a2b978f9098f9ab5a66d26cd /roles | |
parent | get rid of install_recommends=false for apt packages (diff) | |
download | infra-ansible-b7c1b4ac206db24c0ccacf30c1dc7148b3cf2958.tar.gz infra-ansible-b7c1b4ac206db24c0ccacf30c1dc7148b3cf2958.zip |
switch to ansible.builtin.package in more places
Diffstat (limited to '')
-rw-r--r-- | roles/apt/tasks/main.yml | 2 | ||||
-rw-r--r-- | roles/pacman/tasks/main.yml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/roles/apt/tasks/main.yml b/roles/apt/tasks/main.yml index d84a687..e24430f 100644 --- a/roles/apt/tasks/main.yml +++ b/roles/apt/tasks/main.yml @@ -16,7 +16,7 @@ - name: Install packages become: true - ansible.builtin.apt: + ansible.builtin.package: name: '{{ apt_packages }}' state: present when: apt_packages | length > 0 diff --git a/roles/pacman/tasks/main.yml b/roles/pacman/tasks/main.yml index 972fddf..2b613b9 100644 --- a/roles/pacman/tasks/main.yml +++ b/roles/pacman/tasks/main.yml @@ -30,7 +30,7 @@ - name: Install packages become: true - community.general.pacman: + ansible.builtin.package: name: '{{ pacman_packages }}' state: present when: pacman_packages | length > 0 |