mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-03-20 03:57:02 +08:00
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:
@@ -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
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user