blob: 9bd820a21cb5fc1c96b622242a3aad9244d2e739 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
- name: Ensure all required repositories are configured
package: name={{item}} state=present
with_items:
- epel-release
- centos-release-openshift-origin
- name: Add our repository with updates and overrides
yum_repository: name="{{ item.name }}" description= "{{ item.description | default('Ands repository') }}" baseurl="{{ item.url }}" enabled="yes" gpgcheck="no" cost="{{ item.cost | default(1) }}"
with_items: "{{ ands_repositories | default([]) }}"
- name: Ensure GlusterFS repositories are present
yum: name="centos-release-gluster{{ glusterfs_version }}" state=present
# Seems we need iptables-services at least temporary...
- name: Ensure all required packages are installed
package: name={{item}} state=present
with_items:
- mc
- bzr
- git
- yamllint
- pyOpenSSL
- python-passlib
- python2-ruamel-yaml
- python2-jmespath
- python-ipaddress
- iptables-services
- PyYAML
- python-rhsm-certificates
- glusterfs-fuse
#- name: Add NodeJS required by a few used Ansible extensions
# package: name={{item}} state=present
# with_items:
# - nodejs
- name: Ensure all extra packages are installed
package: name={{item}} state=present
with_items: "{{ extra_packages | default([]) }}"
|