- name: installing epel repo (RedHat)
yum:
name: "epel-release"
state: present
when: >
ansible_os_family == "RedHat" and
ansible_distribution != "Fedora"
- name: installing ansible pre-reqs (RedHat)
yum:
name: "{{ item }}"
state: present
with_items:
- libffi-devel
- openssl-devel
- python-crypto
- python-devel
- python-setuptools
when: >
ansible_os_family == "RedHat" and
ansible_distribution != "Fedora"
TASK [installing epel repo (RedHat)] *******************************************
ok: [node0]
TASK [installing ansible pre-reqs (RedHat)] ************************************
skipping: [node0] => (item=[u'libffi-devel', u'openssl-devel', u'python-crypto', u'python-devel', u'python-setuptools'])
TASK [installing epel repo (RedHat)] *******************************************
ok: [node0]
TASK [installing ansible pre-reqs (RedHat)] ************************************
ok: [node0] => (item=[u'libffi-devel', u'openssl-devel', u'python-crypto', u'python-devel', u'python-setuptools'])
--
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-proje...@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/59c3e4c0-f216-42cd-89b2-22696fb1c903%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-project+unsubscribe@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/59c3e4c0-f216-42cd-89b2-22696fb1c903%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.