summaryrefslogtreecommitdiffstats
path: root/roles/common/tasks/main.yml
blob: 7f6922b237959b162d0157ef911a652f59573467 (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
- name: Ensure all required repositories are configured
  package: name={{item}} state=present
  with_items:
    - epel-release
    - centos-release-openshift-origin

- 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: Ensure all extra packages are installed
  package: name={{item}} state=present
  with_items: "{{ extra_packages | default([]) }}"