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 Lercho 2024-12-18 08:23:28 +10:00
parent 62952df107
commit 6a3816dfdc
217 changed files with 790 additions and 769 deletions

View file

@ -22,7 +22,7 @@
- web-data
- name: Copy over website index.
copy: src=html/main-index.html dest=/var/www/html/index.html mode=0644
ansible.builtin.copy: src=html/main-index.html dest=/var/www/html/index.html mode=0644
tags:
- web-data
@ -33,7 +33,7 @@
- name: Css files
copy: src={{item}} dest=/var/www/html/css/ mode=0644
ansible.builtin.copy: src={{item}} dest=/var/www/html/css/ mode=0644
with_items: [html/css/data-reports.css, html/css/normalize.css]
tags:
- web-data
@ -50,7 +50,7 @@
- web-data
- name: Make the web directory summary.
copy: src=html/summary.html dest=/var/www/html/csv-reports/images/ mode=0644
ansible.builtin.copy: src=html/summary.html dest=/var/www/html/csv-reports/images/ mode=0644
tags:
- web-data
@ -59,31 +59,31 @@
with_items: [hotspot-all.png, fedora-rev-latest-stacked.png]
- name: Scripts to condense data down for further processing
copy: src={{item}} dest=/usr/local/bin/ mode=0755
ansible.builtin.copy: src={{item}} dest=/usr/local/bin/ mode=0755
with_items: [condense-mirrorlogs.sh]
tags:
- web-data
- name: Python scripts to calculate various data
copy: src={{item}} dest=/usr/local/bin/ mode=0755
ansible.builtin.copy: src={{item}} dest=/usr/local/bin/ mode=0755
with_items: [mirrorlist.py]
tags:
- web-data
- name: Awk files for csv creation
copy: src={{item}} dest=/usr/local/share/web-data-analysis mode=0644
ansible.builtin.copy: src={{item}} dest=/usr/local/share/web-data-analysis mode=0644
with_items: [mirrors-data.awk]
tags:
- web-data
- name: Gnuplot file for image creation
copy: src={{item}} dest=/usr/local/share/web-data-analysis mode=0644
ansible.builtin.copy: src={{item}} dest=/usr/local/share/web-data-analysis mode=0644
with_items: [mirrors-data.gp]
tags:
- web-data
- name: Daily cron file to run the log files
copy: src={{item}} dest=/etc/cron.d/ mode=0644
ansible.builtin.copy: src={{item}} dest=/etc/cron.d/ mode=0644
with_items: [condense-mirrorlogs.cron]
tags:
- web-data
@ -160,17 +160,17 @@
- cron
- name: Install countme script to parse new logs & update totals
copy: src=countme-update.sh dest=/usr/local/bin/ mode=0755
ansible.builtin.copy: src=countme-update.sh dest=/usr/local/bin/ mode=0755
tags:
- web-data
- name: Install CentOS countme script to parse new logs & update totals
copy: src=countme-centos-update.sh dest=/usr/local/bin/ mode=0755
ansible.builtin.copy: src=countme-centos-update.sh dest=/usr/local/bin/ mode=0755
tags:
- web-data
- name: Install cron file to run countme-update.sh daily
copy: src=countme-update.cron dest=/etc/cron.d/ mode=0644
ansible.builtin.copy: src=countme-update.cron dest=/etc/cron.d/ mode=0644
tags:
- web-data
- cron
@ -194,7 +194,7 @@
- config
- name: Install a script to sync httpd logs via cron only on log01
copy:
ansible.builtin.copy:
src: sync-http-logs.py
dest: /usr/local/bin/sync-http-logs.py
mode: "0755"
@ -224,7 +224,7 @@
- web-data
- name: Proxy log merge script (log01)
copy: src=combineHttpLogs.sh dest=/usr/local/bin/ mode=0755
ansible.builtin.copy: src=combineHttpLogs.sh dest=/usr/local/bin/ mode=0755
tags:
- config
- web-data
@ -238,7 +238,7 @@
- cron
- name: Install daily cron job to sync and merge log files
copy:
ansible.builtin.copy:
src: sync-http-logs-and-merge.sh
dest: /etc/cron.daily
mode: "0755"
@ -247,7 +247,7 @@
- cron
- name: Compress logs script (log01)
copy: src=compress_logs.sh dest=/usr/local/bin/ mode=0755
ansible.builtin.copy: src=compress_logs.sh dest=/usr/local/bin/ mode=0755
tags:
- config
- web-data