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

Replaces many references to 'copy' with ansible.builtin.copy

Signed-off-by: Ryan Lerch <rlerch@redhat.com>
This commit is contained in:
Ryan Lerch
2024-12-18 08:23:28 +10:00
parent 62952df107
commit 6a3816dfdc
217 changed files with 790 additions and 769 deletions

View File

@@ -6,17 +6,23 @@
- fedora-docs
- fedora-docs/build
- copy: >
src=cron-docs-sync dest=/etc/cron.d/docs-sync
owner=root group=root mode=0644
- ansible.builtin.copy:
src: cron-docs-sync
dest: /etc/cron.d/docs-sync
owner: root
group: root
mode: "0644"
tags:
- fedora-docs
- fedora-docs/build
when: env == "production"
- copy: >
src=cron-docs-sync.stg dest=/etc/cron.d/docs-sync
owner=root group=root mode=0644
- ansible.builtin.copy:
src: cron-docs-sync.stg
dest: /etc/cron.d/docs-sync
owner: root
group: root
mode: "0644"
tags:
- fedora-docs
- fedora-docs/build

View File

@@ -1,5 +1,5 @@
---
- copy: >
- ansible.builtin.copy: >
src=docs-rsync.stg dest=/usr/local/bin/docs-rsync
owner=root group=root mode=0755
tags:
@@ -7,7 +7,7 @@
- fedora-docs/proxy
when: env == "staging"
- copy: >
- ansible.builtin.copy: >
src=docs-rsync dest=/usr/local/bin/docs-rsync
owner=root group=root mode=0755
tags:
@@ -15,7 +15,7 @@
- fedora-docs/proxy
when: env == "production"
- copy: >
- ansible.builtin.copy: >
src=cron-docs-rsync dest=/etc/cron.d/docs-rsync
owner=root group=root mode=0644
tags:
@@ -23,7 +23,7 @@
- fedora-docs/proxy
when: env == "production"
- copy: >
- ansible.builtin.copy: >
src=cron-docs-rsync.stg dest=/etc/cron.d/docs-rsync
owner=root group=root mode=0644
tags:
@@ -31,7 +31,7 @@
- fedora-docs/proxy
when: env == "staging"
- copy: >
- ansible.builtin.copy: >
src={{item}} dest=/etc/httpd/conf.d/{{website}}/{{item}}
owner=root group=root mode=0644
with_items:
@@ -44,7 +44,7 @@
- fedora-docs/proxy
when: env == "production"
- copy: >
- ansible.builtin.copy: >
src={{item}}.stg dest=/etc/httpd/conf.d/{{website}}/{{item}}
owner=root group=root mode=0644
with_items:

View File

@@ -49,7 +49,7 @@
debug:
var: user_result.ssh_public_key
- copy:
- ansible.builtin.copy:
src: ssh_config
dest: ~_update_docs_trans/.ssh/config
owner: _update_docs_trans
@@ -58,7 +58,7 @@
tags:
- fedora-docs-translation
- copy:
- ansible.builtin.copy:
src: docs-translation-update
dest: /usr/local/bin/docs-translation-update
owner: root
@@ -67,7 +67,7 @@
tags:
- fedora-docs-translation
- copy:
- ansible.builtin.copy:
src: cron-docs-translation-update
dest: /etc/cron.d/cron-docs-translation-update
owner: root