geerlingguy / ansible-role-phpmyadmin

DEPRECATED Ansible Role - phpMyAdmin
https://galaxy.ansible.com/geerlingguy/phpmyadmin/
MIT License
42 stars 41 forks source link

phpmyadmin | Install vHost file failled #6

Closed Sispheor closed 8 years ago

Sispheor commented 8 years ago

This is what I get

failed: [ktm35.gre.hpecorp.net] => {"failed": true, "path": "/etc/httpd/conf.d/phpmyadmin.conf", "state": "absent"}
msg: file (/etc/httpd/conf.d/phpmyadmin.conf) is absent, cannot continue

In the playbook to get it works, I switched from file to copy

Before:

- name: Install vHost file.
  file: src=phpmyadmin.conf dest=/etc/httpd/conf.d/phpmyadmin.conf

After

- name: Install vHost file.
  copy: src=phpmyadmin.conf dest=/etc/httpd/conf.d/phpmyadmin.conf
geerlingguy commented 8 years ago

That seems like an upstream playbook issue; this role doesn't copy any vhost configuration file into place via any of its tasks, AFAICT...