Hi Marko,
I updated with correct REDHAT packages, Sorry for confusion, now i get below error
[ansible@centos1 playbooks]$ ansible-playbook mysql_server.yml -C
PLAY [localhost] ***************************************************************
TASK [setup] *******************************************************************
ok: [localhost]
TASK [mysql : Add the OS specific variables] ***********************************
ok: [localhost]
TASK [mysql : Install the mysql packages in Redhat derivatives] ****************
failed: [localhost] (item=[u'libselinux-python', u'mysql-server', u'MySQL-python']) => {"changed": false, "failed": true, "item": ["libselinux-python", "mysql-server", "MySQL-python"], "msg": "No package matching 'mysql-server' found available, installed or updated", "rc": 126, "results": ["libselinux-python-2.5-6.el7.x86_64 providing libselinux-python is already installed", "No package matching 'mysql-server' found available, installed or updated"]}
to retry, use: --limit @/home/ansible/ansible/playbooks/mysql_server.retry
PLAY RECAP *********************************************************************
localhost : ok=2 changed=0 unreachable=0 failed=1
[ansible@centos1 playbooks]$
below are the redhat packages
- libselinux-python
- mysql-server
- MySQL-python
On Thursday, February 2, 2017 at 12:35:09 PM UTC-5, jithendra myla wrote: