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:
parent
f3517ab537
commit
62952df107
167 changed files with 380 additions and 381 deletions
|
@ -116,11 +116,11 @@
|
|||
|
||||
tasks:
|
||||
- name: create secondary volume dir for stg bodhi
|
||||
file: dest=/mnt/koji/vol state=directory owner=apache group=apache mode=0755
|
||||
ansible.builtin.file: dest=/mnt/koji/vol state=directory owner=apache group=apache mode=0755
|
||||
tags: bodhi
|
||||
when: env == 'staging'
|
||||
- name: create symlink for stg/prod secondary volume
|
||||
file: src=/mnt/fedora_koji_prod/koji dest=/mnt/koji/vol/prod state=link
|
||||
ansible.builtin.file: src=/mnt/fedora_koji_prod/koji dest=/mnt/koji/vol/prod state=link
|
||||
tags: bodhi
|
||||
when: env == 'staging'
|
||||
- import_tasks: "{{ tasks_path }}/motd.yml"
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
|
||||
tasks:
|
||||
- name: Make a keytab dir
|
||||
file: dest="/etc/kojid-cloud-scheduler/" state=directory
|
||||
ansible.builtin.file: dest="/etc/kojid-cloud-scheduler/" state=directory
|
||||
|
||||
roles:
|
||||
- role: keytab/service
|
||||
|
|
|
@ -60,7 +60,7 @@
|
|||
- restart debuginfod
|
||||
|
||||
- name: ensure systemd drop-in directory exists
|
||||
file: >
|
||||
ansible.builtin.file: >
|
||||
dest=/etc/systemd/system/debuginfod.service.d
|
||||
state=directory
|
||||
tags: debuginfod
|
||||
|
|
|
@ -85,7 +85,7 @@
|
|||
when: inventory_hostname == 'download-cc-rdu01.fedoraproject.org'
|
||||
|
||||
- name: make a mnt/koji link
|
||||
file: state=link src=/mnt/fedora_koji/koji dest=/mnt/koji
|
||||
ansible.builtin.file: state=link src=/mnt/fedora_koji/koji dest=/mnt/koji
|
||||
when: datacenter == "iad2"
|
||||
|
||||
handlers:
|
||||
|
|
|
@ -66,7 +66,7 @@
|
|||
- krb5
|
||||
- ipa/server
|
||||
- name: Set owner and permissions on combined keytab
|
||||
file: path="/etc/krb5.HTTP_id{{env_suffix}}.fedoraproject.org.keytab.combined"
|
||||
ansible.builtin.file: path="/etc/krb5.HTTP_id{{env_suffix}}.fedoraproject.org.keytab.combined"
|
||||
owner=apache
|
||||
group=apache
|
||||
mode=0600
|
||||
|
|
|
@ -44,7 +44,7 @@
|
|||
|
||||
tasks:
|
||||
- name: Create top level directory
|
||||
file: path=/srv/nfs state=directory owner=root group=root
|
||||
ansible.builtin.file: path=/srv/nfs state=directory owner=root group=root
|
||||
tags:
|
||||
- drives
|
||||
- copr
|
||||
|
@ -62,7 +62,7 @@
|
|||
- copr
|
||||
|
||||
- name: Create copr-be tree directory
|
||||
file: path=/srv/nfs/copr-be state=directory owner=root group=root
|
||||
ansible.builtin.file: path=/srv/nfs/copr-be state=directory owner=root group=root
|
||||
tags:
|
||||
- drives
|
||||
- copr
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
|
||||
pre_tasks:
|
||||
- name: Create /srv/registry on staging since it does not use NFS
|
||||
file:
|
||||
ansible.builtin.file:
|
||||
path: /srv/registry
|
||||
state: directory
|
||||
owner: root
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
tasks:
|
||||
|
||||
- name: Create the directories to hold the templates
|
||||
file:
|
||||
ansible.builtin.file:
|
||||
path: "/etc/openshift_apps"
|
||||
state: directory
|
||||
owner: root
|
||||
|
|
|
@ -45,7 +45,7 @@
|
|||
- mount
|
||||
|
||||
- name: create /srv/home directory
|
||||
file: path=/srv/home state=directory owner=root group=root
|
||||
ansible.builtin.file: path=/srv/home state=directory owner=root group=root
|
||||
|
||||
- name: bind mount home volume
|
||||
mount: >
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue