mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-03-20 03:57:02 +08:00
ansiblelint fixes-- fqcn[action-core] - file to ansible.builtin.file
Replaces many references to file: with ansible.builtin.file Signed-off-by: Ryan Lerch <rlerch@redhat.com>
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
- python2
|
||||
|
||||
- name: Create the destination directory
|
||||
file: dest=/srv/git_seed owner=root group=root mode=0755 state=directory
|
||||
ansible.builtin.file: dest=/srv/git_seed owner=root group=root mode=0755 state=directory
|
||||
when: env != 'staging'
|
||||
|
||||
- name: Install the production version of the script and schedule its execution
|
||||
|
||||
@@ -7,12 +7,12 @@
|
||||
|
||||
# If NOT using xinetd
|
||||
- name: Delete stock git daemon config
|
||||
file: path="/usr/lib/systemd/system/git.service" state=absent
|
||||
ansible.builtin.file: path="/usr/lib/systemd/system/git.service" state=absent
|
||||
when: ansible_distribution_major_version|int >= 7 and ansible_distribution == 'RedHat'
|
||||
tags: git/server
|
||||
|
||||
- name: Delete stock git daemon config
|
||||
file: path="/usr/lib/systemd/system/git.service" state=absent
|
||||
ansible.builtin.file: path="/usr/lib/systemd/system/git.service" state=absent
|
||||
when: ansible_distribution_major_version|int >= 29 and ansible_distribution == 'Fedora'
|
||||
tags: git/server
|
||||
|
||||
|
||||
Reference in New Issue
Block a user