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

@ -1,7 +1,7 @@
---
- name: Setup defaults file
delegate_to: "certgetter01.iad2.fedoraproject.org"
copy: >
ansible.builtin.copy: >
dest=/etc/letsencrypt/cli.ini
src=cli.ini
owner=root
@ -60,7 +60,7 @@
- letsencrypt
- name: Install the certificate
copy: >
ansible.builtin.copy: >
dest=/etc/pki/tls/certs/{{site_name}}.cert
content="{{certbot_certificate.stdout}}"
owner=root
@ -72,7 +72,7 @@
- letsencrypt
- name: Install the intermediate/chain certificate
copy: >
ansible.builtin.copy: >
dest=/etc/pki/tls/certs/{{site_name}}.intermediate.cert
content="{{certbot_chain.stdout}}"
owner=root
@ -84,7 +84,7 @@
- letsencrypt
- name: Install the key
copy: >
ansible.builtin.copy: >
dest=/etc/pki/tls/private/{{site_name}}.key
content="{{certbot_key.stdout}}"
owner=root
@ -96,7 +96,7 @@
- letsencrypt
- name: Install the certificate (additional host)
copy: >
ansible.builtin.copy: >
dest=/etc/pki/tls/certs/{{site_name}}.cert
content="{{certbot_certificate.stdout}}"
owner=root
@ -111,7 +111,7 @@
- certbot_addhost is defined
- name: Install the intermediate/chain certificate (additional host)
copy: >
ansible.builtin.copy: >
dest=/etc/pki/tls/certs/{{site_name}}.intermediate.cert
content="{{certbot_chain.stdout}}"
owner=root
@ -126,7 +126,7 @@
- certbot_addhost is defined
- name: Install the key (additional host)
copy: >
ansible.builtin.copy: >
dest=/etc/pki/tls/private/{{site_name}}.key
content="{{certbot_key.stdout}}"
owner=root