Tim John
2015-07-30 09:51:22 UTC
Hey guys, I've encountered a weird problem with *yum *module.
Working environment:
*OS*: CentOS 6.4
*Kernel*: 2.6.32-358.e16.x86_64
*Ansible*: 2.0.0 (devel b37be236d9) running from source
I'd like to install *Erlang *in *CentOS 6.4*, to do that "
*erlang-solutions-1.0-1.noarch.rpm*" must be installed first, which would
add an extra repo entry (named *erlang_solutions.repo*), through that repo,
we can install *Erlang*.
So, here is what I'm doing in my playbook:
```
- *name*: install erlang-solutions
*yum*: *name*=
http://packages.erlang-solutions.com/erlang-solutions-1.0-1.noarch.rpm
*state*=present
```
this task will be executed without any error, and the "
*erlang-solutions-1.0-1.noarch.rpm*" will be installed on the destination
host.
running `*yum list installed | grep erlang*`, and the result is:
```
erlang-solutions.noarch 1.0-1 installed
```
BUT !!!!! There no extra repo entry added to `*/etc/yum.repos.d*`, so, I
still can't install *Erlang*.
Forget to say, that after install "*erlang-solutions-1.0-1.noarch.rpm*"
with rpm command directly on the host, like:
```
wget http://packages.erlang-solutions.com/erlang-solutions-1.0-1.noarch.rpm
rpm -Uvh erlang-solutions-1.0-1.noarch.rpm
```
an extra yum repo entry named *erlang_solutions.repo* will be added to `
*/etc/yum.repos.d*`.
Thank you, guys
Tim
Working environment:
*OS*: CentOS 6.4
*Kernel*: 2.6.32-358.e16.x86_64
*Ansible*: 2.0.0 (devel b37be236d9) running from source
I'd like to install *Erlang *in *CentOS 6.4*, to do that "
*erlang-solutions-1.0-1.noarch.rpm*" must be installed first, which would
add an extra repo entry (named *erlang_solutions.repo*), through that repo,
we can install *Erlang*.
So, here is what I'm doing in my playbook:
```
- *name*: install erlang-solutions
*yum*: *name*=
http://packages.erlang-solutions.com/erlang-solutions-1.0-1.noarch.rpm
*state*=present
```
this task will be executed without any error, and the "
*erlang-solutions-1.0-1.noarch.rpm*" will be installed on the destination
host.
running `*yum list installed | grep erlang*`, and the result is:
```
erlang-solutions.noarch 1.0-1 installed
```
BUT !!!!! There no extra repo entry added to `*/etc/yum.repos.d*`, so, I
still can't install *Erlang*.
Forget to say, that after install "*erlang-solutions-1.0-1.noarch.rpm*"
with rpm command directly on the host, like:
```
wget http://packages.erlang-solutions.com/erlang-solutions-1.0-1.noarch.rpm
rpm -Uvh erlang-solutions-1.0-1.noarch.rpm
```
an extra yum repo entry named *erlang_solutions.repo* will be added to `
*/etc/yum.repos.d*`.
Thank you, guys
Tim
--
You received this message because you are subscribed to the Google Groups "Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-project+***@googlegroups.com.
To post to this group, send email to ansible-***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/cb63fb2e-b19d-436f-873e-45a48c82e5e2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-project+***@googlegroups.com.
To post to this group, send email to ansible-***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/cb63fb2e-b19d-436f-873e-45a48c82e5e2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.