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
|
@ -49,7 +49,7 @@
|
|||
# - stunnel
|
||||
|
||||
# - name: Ensure old stunnel init file is gone
|
||||
# file: dest=/etc/init.d/stunnel/stunnel.init state=absent
|
||||
# ansible.builtin.file: dest=/etc/init.d/stunnel/stunnel.init state=absent
|
||||
# tags:
|
||||
# - pagure
|
||||
# - stunnel
|
||||
|
@ -93,7 +93,7 @@
|
|||
- pagure
|
||||
|
||||
- name: Create the /var/log/pagure folder where to store the logs
|
||||
file: state=directory
|
||||
ansible.builtin.file: state=directory
|
||||
path=/var/log/pagure
|
||||
owner=pagure group=packager mode=u+rwx,g+rwxs,o+rx
|
||||
tags:
|
||||
|
@ -113,7 +113,7 @@
|
|||
- fix_log
|
||||
|
||||
- name: Create the /srv/tmp folder where to clone repos
|
||||
file: state=directory
|
||||
ansible.builtin.file: state=directory
|
||||
path=/srv/tmp
|
||||
owner=pagure group=pagure mode=0775
|
||||
tags:
|
||||
|
@ -163,7 +163,7 @@
|
|||
- pagure
|
||||
|
||||
- name: Create all the directories where we store the git repos
|
||||
file: state=directory
|
||||
ansible.builtin.file: state=directory
|
||||
path={{ item }}
|
||||
owner=root group=packager mode=2775
|
||||
with_items:
|
||||
|
@ -176,7 +176,7 @@
|
|||
- pagure
|
||||
|
||||
- name: Create the remotes folder so pagure can clone remote repos
|
||||
file: state=directory
|
||||
ansible.builtin.file: state=directory
|
||||
path={{ item }}
|
||||
owner=root group=packager mode=2775
|
||||
with_items:
|
||||
|
@ -271,7 +271,7 @@
|
|||
- restart apache
|
||||
|
||||
- name: Create the /srv/cache/extras folder for the crons
|
||||
file: state=directory
|
||||
ansible.builtin.file: state=directory
|
||||
path=/srv/cache/extras
|
||||
owner=apache group=apache mode=0775
|
||||
tags:
|
||||
|
@ -321,7 +321,7 @@
|
|||
- fedora-messaging
|
||||
|
||||
- name: Create the config folder for fedora-messaging
|
||||
file: path=/etc/fedora-messaging/ owner=root group=root mode=0755 state=directory
|
||||
ansible.builtin.file: path=/etc/fedora-messaging/ owner=root group=root mode=0755 state=directory
|
||||
tags:
|
||||
- pagure
|
||||
- fedora-messaging
|
||||
|
@ -335,7 +335,7 @@
|
|||
- fedora-messaging
|
||||
|
||||
- name: Create folder where we'll place the certs
|
||||
file: path=/etc/pki/rabbitmq/pagurecert/ owner=root group=root mode=0755 state=directory
|
||||
ansible.builtin.file: path=/etc/pki/rabbitmq/pagurecert/ owner=root group=root mode=0755 state=directory
|
||||
tags:
|
||||
- pagure
|
||||
- fedora-messaging
|
||||
|
|
|
@ -42,7 +42,7 @@
|
|||
- distgit
|
||||
|
||||
- name: Create suexec wrapper directory
|
||||
file: path=/var/www/bin state=directory owner=pagure group=packager
|
||||
ansible.builtin.file: path=/var/www/bin state=directory owner=pagure group=packager
|
||||
tags:
|
||||
- distgit
|
||||
|
||||
|
@ -168,13 +168,13 @@
|
|||
when: inventory_hostname.startswith('batcave')
|
||||
|
||||
- name: Create the distgit root directory (/srv/git)
|
||||
file: dest=/srv/git state=directory mode=0755
|
||||
ansible.builtin.file: dest=/srv/git state=directory mode=0755
|
||||
tags:
|
||||
- distgit
|
||||
|
||||
# These should all map to pkgdb namespaces
|
||||
- name: Create our namespace directories inside there..
|
||||
file: dest=/srv/git/repositories/{{item}} state=directory mode=2775 group=packager
|
||||
ansible.builtin.file: dest=/srv/git/repositories/{{item}} state=directory mode=2775 group=packager
|
||||
with_items:
|
||||
- rpms
|
||||
- docker
|
||||
|
@ -247,7 +247,7 @@
|
|||
- sslciphers
|
||||
|
||||
- name: Create the Lookaside Cache root directory
|
||||
file: dest=/srv/cache/lookaside/pkgs state=directory
|
||||
ansible.builtin.file: dest=/srv/cache/lookaside/pkgs state=directory
|
||||
owner=apache group=apache
|
||||
tags:
|
||||
- distgit
|
||||
|
@ -310,7 +310,7 @@
|
|||
|
||||
# Three tasks for handling our selinux policy for upload.cgi
|
||||
- name: Ensure a directory exists for our SELinux policy
|
||||
file: dest=/usr/local/share/selinux/ state=directory
|
||||
ansible.builtin.file: dest=/usr/local/share/selinux/ state=directory
|
||||
tags: selinux
|
||||
|
||||
- name: Copy over our custom selinux policy
|
||||
|
@ -349,7 +349,7 @@
|
|||
- pkgs
|
||||
|
||||
- name: Make dir for grokmirror manifest
|
||||
file: path=/srv/git/grokmirror state=directory owner=root group=packager mode=2775
|
||||
ansible.builtin.file: path=/srv/git/grokmirror state=directory owner=root group=packager mode=2775
|
||||
tags:
|
||||
- grokmirror
|
||||
- pkgs
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue