Closed marv2097 closed 8 years ago
I am running this role against a Centos7 system:
CentOS Linux release 7.2.1511 (Core) Linux jul-cap-03 3.10.0-327.13.1.el7.x86_64 #1 SMP Thu Mar 31 16:04:38 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
Using the following roles:
- role: geerlingguy.mysql - role: geerlingguy.apache - role: geerlingguy.php - role: geerlingguy.php-mysql - role: geerlingguy.phpmyadmin
Ansible throws the following error:
TASK [geerlingguy.phpmyadmin : Add default username and password for MySQL connection.] *** failed: [192.168.12.103] => (item={u'key': u'host', u'value': u'localhost'}) => {"failed": true, "item": {"key": "host", "value": "localhost"}, "msg": "Destination /etc/phpmyadmin/config.inc.php does not exist !", "rc": 257} failed: [192.168.12.103] => (item={u'key': u'port', u'value': u''}) => {"failed": true, "item": {"key": "port", "value": ""}, "msg": "Destination /etc/phpmyadmin/config.inc.php does not exist !", "rc": 257} failed: [192.168.12.103] => (item={u'key': u'socket', u'value': u''}) => {"failed": true, "item": {"key": "socket", "value": ""}, "msg": "Destination /etc/phpmyadmin/config.inc.php does not exist !", "rc": 257} failed: [192.168.12.103] => (item={u'key': u'connect_type', u'value': u'tcp'}) => {"failed": true, "item": {"key": "connect_type", "value": "tcp"}, "msg": "Destination /etc/phpmyadmin/config.inc.php does not exist !", "rc": 257} failed: [192.168.12.103] => (item={u'key': u'user', u'value': u'root'}) => {"failed": true, "item": {"key": "user", "value": "root"}, "msg": "Destination /etc/phpmyadmin/config.inc.php does not exist !", "rc": 257} failed: [192.168.12.103] => (item={u'key': u'password', u'value': u'RTY452df'}) => {"failed": true, "item": {"key": "password", "value": "RTY452df"}, "msg": "Destination /etc/phpmyadmin/config.inc.php does not exist !", "rc": 257}
It seems the etc directory name has changed. If I update tasks/main.yml and change: dest=/etc/phpmyadmin/config.inc.php to dest=/etc/phpMyAdmin/config.inc.php
dest=/etc/phpmyadmin/config.inc.php
dest=/etc/phpMyAdmin/config.inc.php
everything installs without error.
Fixed via above commit - thanks for pointing this out!
I am running this role against a Centos7 system:
Using the following roles:
Ansible throws the following error:
It seems the etc directory name has changed. If I update tasks/main.yml and change:
dest=/etc/phpmyadmin/config.inc.php
todest=/etc/phpMyAdmin/config.inc.php
everything installs without error.