Repository: ansible-community/molecule-plugins (language: python)

Issue:
molecule-podman converge.yml playbook linting issues a warning
Running ansible-lint on current converge.yml playbook from the podman plugin leads to:

```
risky-file-permissions: File permissions unset or incorrect. (warning)
molecule/default/converge.yml:6 Task/Handler: Copy something to test use of synchronize module
```

So, I'm opening a bug to not forget to fix it.


Discussion / hints:

Fix patch:
diff --git a/.ansible-lint b/.ansible-lint
index 77d362f2..a2cb290e 100644
--- a/.ansible-lint
+++ b/.ansible-lint
@@ -9,9 +9,10 @@ exclude_paths:
 skip_list:
   # Temporary skips made during migration
   - args[module]
+  - experimental
   - fqcn-builtins
-  - yaml[line-length]
   - var-spacing
+  - yaml[line-length]
 
 mock_modules:
   - vagrant # only until we publish community.vagrant collection
diff --git a/src/molecule_plugins/gce/playbooks/tasks/create_linux_instance.yml b/src/molecule_plugins/gce/playbooks/tasks/create_linux_instance.yml
index 439102a3..47a45431 100644
--- a/src/molecule_plugins/gce/playbooks/tasks/create_linux_instance.yml
+++ b/src/molecule_plugins/gce/playbooks/tasks/create_linux_instance.yml
@@ -5,7 +5,7 @@
     path: "{{ ssh_identity_file }}"
   register: keypair
 
-- name: Create molecule Linux instance(s)
+- name: "Create molecule Linux instance(s)"
   google.cloud.gcp_compute_instance:
     state: present
     name: "{{ item.name }}"
diff --git a/src/molecule_plugins/podman/cookiecutter/{{cookiecutter.molecule_directory}}/{{cookiecutter.scenario_name}}/converge.yml b/src/molecule_plugins/podman/cookiecutter/{{cookiecutter.molecule_directory}}/{{cookiecutter.scenario_name}}/converge.yml
index 9db696d9..9c85a527 100644
--- a/src/molecule_plugins/podman/cookiecutter/{{cookiecutter.molecule_directory}}/{{cookiecutter.scenario_name}}/converge.yml
+++ b/src/molecule_plugins/podman/cookiecutter/{{cookiecutter.molecule_directory}}/{{cookiecutter.scenario_name}}/converge.yml
@@ -7,6 +7,7 @@
       ansible.builtin.copy:
         src: /etc/hosts
         dest: /tmp/hosts-from-controller
+        mode: '0644'
     - name: "Include {{ cookiecutter.role_name }}"
       ansible.builtin.include_role:
         name: "{{ cookiecutter.role_name }}"


Test patch:
diff --git a/molecule/test-podman/converge.yml b/molecule/test-podman/converge.yml
index 009bc8f4..1e994a31 100644
--- a/molecule/test-podman/converge.yml
+++ b/molecule/test-podman/converge.yml
@@ -4,4 +4,4 @@
   tasks:
     - name: Test
       ansible.builtin.debug:
-        msg: it worked!
+        msg: "It worked!"