ansiblelint fixes - fqcn[action-core] - package to ansible.builtin.package

Replaces many references to  package: with ansible.builtin.package

Signed-off-by: Ryan Lerch <rlerch@redhat.com>
This commit is contained in:
Ryan Lercho 2024-12-19 13:22:42 +10:00
parent 462176464b
commit 25391e95b7
166 changed files with 286 additions and 286 deletions

View file

@ -1,6 +1,6 @@
---
- name: Install desired extra packages (yum)
package: state=present pkg={{ item }}
ansible.builtin.package: state=present pkg={{ item }}
with_items:
- ntpdate
- ntp

View file

@ -1,7 +1,7 @@
---
# openvpn - ftw - or something
- name: Install openvpn
package: name=openvpn state=present
ansible.builtin.package: name=openvpn state=present
tags:
- packages

View file

@ -1,7 +1,7 @@
---
# openvpn - ftw - or something
- name: Install openvpn
package: name=openvpn state=present
ansible.builtin.package: name=openvpn state=present
tags:
- packages

View file

@ -1,6 +1,6 @@
---
- name: Install postfix
package: name=postfix state=present
ansible.builtin.package: name=postfix state=present
tags:
- postfix
- packages

View file

@ -1,7 +1,7 @@
---
# tasklist for setting up a rdiff backup server.
- name: Install rdiff-backup
package: name={{ item }} state=present
ansible.builtin.package: name={{ item }} state=present
with_items:
- rdiff-backup
- git

View file

@ -1,6 +1,6 @@
---
- name: Install reg-server
package:
ansible.builtin.package:
name: reg
tags:
- regserver

View file

@ -79,7 +79,7 @@
notify: restart swap.swap
- name: Remove zram-generator-defaults
package:
ansible.builtin.package:
name: zram-generator-defaults
state: absent
register: remove_zram_generator

View file

@ -67,7 +67,7 @@
- yumrepos
- name: Epel release on el systems (aws)
package:
ansible.builtin.package:
name: 'epel-release'
state: present
when: (((ansible_distribution == 'RedHat' or ansible_distribution == 'CentOS') and ansible_distribution_major_version|int != 9) and use_default_epel) and datacenter == "aws"