Attempting to utilize the Docker plugin is resulting in the following errors no matter what I seem to try.
Error logs
PLAY [Converge] ****************************************************************
TASK [Include webserver config role] *******************************************
TASK [my_role_name : Debug] *****************************************************
ok: [rhel-9] => {
"msg": "debug from tasks/main.yml"
}
TASK [my_role_name : ansible.builtin.include_vars] ******************************
ok: [rhel-9]
TASK [my_role_name : Create apps folder] ****************************************
fatal: [rhel-9]: UNREACHABLE! => {"changed": false, "msg": "Failed to connect to the host via ssh: ssh: Could not resolve hostname rhel-9: Temporary failure in name resolution", "unreachable": true}
I have reproduced this error in both my local workstation and in CI/CD. So this is either something with molecule/the plugins or my configuration somewhere. I have tried various roles to ensure it's not something specific to the role I am testing.
converge.yml
- name: Converge
hosts: all
gather_facts: false
tasks:
- name: Include webserver config role
ansible.builtin.include_role:
name: my_role_name
tasks_from: main.yml
Attempting to utilize the Docker plugin is resulting in the following errors no matter what I seem to try.
Error logs
I have reproduced this error in both my local workstation and in CI/CD. So this is either something with molecule/the plugins or my configuration somewhere. I have tried various roles to ensure it's not something specific to the role I am testing.
converge.yml
molecule.yml
Versions