Packageize this, packageize that, packageize the world

Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
Patrick Uiterwijk 2017-10-08 22:25:52 +00:00
parent e680b96895
commit adcbf72f03
163 changed files with 220 additions and 220 deletions

View file

@ -1,6 +1,6 @@
--- ---
- name: install postgresql packages - name: install postgresql packages
yum: pkg={{ item }} state=installed package: pkg={{ item }} state=installed
with_items: with_items:
- python-psycopg2 - python-psycopg2
- postgresql-server - postgresql-server
@ -8,20 +8,20 @@
- pg-semver - pg-semver
- name: install ssl packages for https - name: install ssl packages for https
yum: pkg={{ item }} state=installed package: pkg={{ item }} state=installed
with_items: with_items:
- openssl - openssl
- mod_ssl - mod_ssl
- name: memcached rhel - name: memcached rhel
yum: pkg={{ item }} state=installed package: pkg={{ item }} state=installed
with_items: with_items:
- memcached - memcached
- python-memcached - python-memcached
when: ansible_distribution == "RedHat" and faf_web_cache_type == "memcached" when: ansible_distribution == "RedHat" and faf_web_cache_type == "memcached"
- name: memcached fedora - name: memcached fedora
yum: pkg={{ item }} state=installed package: pkg={{ item }} state=installed
with_items: with_items:
- libmemcached - libmemcached
- memcached - memcached

View file

@ -10,7 +10,7 @@
# landing page # landing page
- name: install abrt-server-info-page - name: install abrt-server-info-page
yum: name=abrt-server-info-page state=latest package: name=abrt-server-info-page state=latest
- name: configure ADMINS - name: configure ADMINS
lineinfile: lineinfile:

View file

@ -1,5 +1,5 @@
- name: install faf web celery packages - name: install faf web celery packages
yum: pkg={{ item }} state=installed package: pkg={{ item }} state=installed
with_items: "{{ faf_web_celery_packages }}" with_items: "{{ faf_web_celery_packages }}"
tags: tags:
- packages - packages

View file

@ -4,41 +4,41 @@
copy: src=group_abrt-faf-el7-epel-7.repo dest=/etc/yum.repos.d/ copy: src=group_abrt-faf-el7-epel-7.repo dest=/etc/yum.repos.d/
- name: erase faf packages - name: erase faf packages
yum: pkg="faf-*" state=absent package: pkg="faf-*" state=absent
when: faf_force_reinstall when: faf_force_reinstall
- name: install core faf packages - name: install core faf packages
yum: pkg={{ item }} state=installed package: pkg={{ item }} state=installed
with_items: "{{ faf_packages }}" with_items: "{{ faf_packages }}"
- name: install faf problem packages - name: install faf problem packages
yum: pkg={{ item }} state=installed package: pkg={{ item }} state=installed
with_items: "{{ faf_problem_packages }}" with_items: "{{ faf_problem_packages }}"
- name: install faf opsys packages - name: install faf opsys packages
yum: pkg={{ item }} state=installed package: pkg={{ item }} state=installed
with_items: "{{ faf_opsys_packages }}" with_items: "{{ faf_opsys_packages }}"
- name: install faf action packages - name: install faf action packages
yum: pkg={{ item }} state=installed package: pkg={{ item }} state=installed
with_items: "{{ faf_action_packages }}" with_items: "{{ faf_action_packages }}"
- name: install faf bugtracker packages - name: install faf bugtracker packages
yum: pkg={{ item }} state=installed package: pkg={{ item }} state=installed
with_items: "{{ faf_bugtracker_packages }}" with_items: "{{ faf_bugtracker_packages }}"
when: faf_with_bugtrackers when: faf_with_bugtrackers
- name: install faf celery packages - name: install faf celery packages
yum: pkg={{ item }} state=installed package: pkg={{ item }} state=installed
with_items: "{{ faf_celery_packages }}" with_items: "{{ faf_celery_packages }}"
when: faf_with_celery when: faf_with_celery
- name: install faf fedmsg packages - name: install faf fedmsg packages
yum: pkg={{ item }} state=installed package: pkg={{ item }} state=installed
with_items: "{{ faf_fedmsg_packages }}" with_items: "{{ faf_fedmsg_packages }}"
when: faf_with_fedmsg when: faf_with_fedmsg
- name: install faf solutionfinder packages - name: install faf solutionfinder packages
yum: pkg={{ item }} state=installed package: pkg={{ item }} state=installed
with_items: "{{ faf_solutionfinder_packages }}" with_items: "{{ faf_solutionfinder_packages }}"
when: faf_with_solutionfinders when: faf_with_solutionfinders

View file

@ -1,3 +1,3 @@
--- ---
- name: update faf packages - name: update faf packages
yum: pkg="faf*" state=latest package: pkg="faf*" state=latest

View file

@ -15,7 +15,7 @@
when: faf_with_celery when: faf_with_celery
- name: install faf web symboltransfer packages - name: install faf web symboltransfer packages
yum: pkg={{ item }} state=installed package: pkg={{ item }} state=installed
with_items: "{{ faf_web_symboltransfer_packages }}" with_items: "{{ faf_web_symboltransfer_packages }}"
when: faf_with_symboltransfer when: faf_with_symboltransfer

View file

@ -1,6 +1,6 @@
--- ---
- name: erase retrace-server packages - name: erase retrace-server packages
yum: name=retrace-server state=absent package: name=retrace-server state=absent
when: rs_force_reinstall when: rs_force_reinstall
- name: install retrace-server package - name: install retrace-server package

View file

@ -2,7 +2,7 @@
# Configuration for the anitya webapp # Configuration for the anitya webapp
- name: install needed packages - name: install needed packages
yum: pkg={{ item }} state=present update_cache=yes package: pkg={{ item }} state=present update_cache=yes
with_items: with_items:
- anitya - anitya
- python-psycopg2 - python-psycopg2

View file

@ -3,7 +3,7 @@
# This is the base set of files needed for fedmsg # This is the base set of files needed for fedmsg
- name: install needed packages - name: install needed packages
yum: pkg={{ item }} state=present package: pkg={{ item }} state=present
with_items: with_items:
- fedmsg - fedmsg
- libsemanage-python - libsemanage-python

View file

@ -2,7 +2,7 @@
# Configuration for the anitya webapp # Configuration for the anitya webapp
- name: install needed packages - name: install needed packages
yum: pkg={{ item }} state=present update_cache=yes package: pkg={{ item }} state=present update_cache=yes
with_items: with_items:
- anitya - anitya
- python-psycopg2 - python-psycopg2

View file

@ -3,7 +3,7 @@
# Setup ansible-server instance # Setup ansible-server instance
# #
- name: install needed packages - name: install needed packages
yum: pkg={{ item }} state=present package: pkg={{ item }} state=present
with_items: with_items:
- ansible - ansible
- git - git

View file

@ -1,7 +1,7 @@
--- ---
# install apache(httpd) # install apache(httpd)
- name: install apache (yum) - name: install apache (yum)
yum: name={{ item }} state=present package: name={{ item }} state=present
with_items: with_items:
- httpd - httpd
- httpd-tools - httpd-tools

View file

@ -1,5 +1,5 @@
- name: Install that apps-fp-o rpm package - name: Install that apps-fp-o rpm package
yum: name=apps-fp-o state=present package: name=apps-fp-o state=present
tags: tags:
- apps-fp-o - apps-fp-o

View file

@ -3,7 +3,7 @@
# Setup askbot for ask.fedoraproject.org site. # Setup askbot for ask.fedoraproject.org site.
# #
- name: install needed packages - name: install needed packages
yum: pkg={{ item }} state=present package: pkg={{ item }} state=present
with_items: with_items:
- askbot - askbot
- python-memcached - python-memcached

View file

@ -1,5 +1,5 @@
- name: install dependencies - name: install dependencies
yum: state=present pkg={{ item }} package: state=present pkg={{ item }}
with_items: with_items:
- sigul - sigul
tags: tags:
@ -8,7 +8,7 @@
# fedora-packager is required for /etc/koji/$arch-config # fedora-packager is required for /etc/koji/$arch-config
- name: install dependencies - name: install dependencies
yum: state=present pkg={{ item }} package: state=present pkg={{ item }}
with_items: with_items:
- fedmsg - fedmsg
- fedmsg-hub - fedmsg-hub

View file

@ -1,6 +1,6 @@
--- ---
- name: install awstats package - name: install awstats package
yum: state=present name=awstats package: state=present name=awstats
tags: tags:
- packages - packages
- awstats - awstats

View file

@ -2,7 +2,7 @@
# Configuration for the fedbadges consumer # Configuration for the fedbadges consumer
- name: install needed packages - name: install needed packages
yum: pkg={{ item }} state=present package: pkg={{ item }} state=present
with_items: with_items:
- python-fedbadges - python-fedbadges
- python-psycopg2 - python-psycopg2

View file

@ -2,7 +2,7 @@
# Configuration for the tahrir webapp # Configuration for the tahrir webapp
- name: install needed packages - name: install needed packages
yum: pkg={{ item }} state=present package: pkg={{ item }} state=present
with_items: with_items:
- python-tahrir - python-tahrir
- python-psycopg2 - python-psycopg2

View file

@ -6,7 +6,7 @@
# #
- name: ensure packages required for semanage are installed (yum) - name: ensure packages required for semanage are installed (yum)
yum: name={{ item }} state=present package: name={{ item }} state=present
when: ansible_distribution_major_version|int < 22 when: ansible_distribution_major_version|int < 22
with_items: with_items:
- policycoreutils-python - policycoreutils-python
@ -88,7 +88,7 @@
- base - base
- name: global default packages to install (yum) - name: global default packages to install (yum)
yum: state=present name={{ item }} package: state=present name={{ item }}
with_items: with_items:
- "{{ global_pkgs_inst }}" - "{{ global_pkgs_inst }}"
tags: tags:
@ -131,7 +131,7 @@
- base - base
- name: dist pkgs to remove (yum) - name: dist pkgs to remove (yum)
yum: state=absent name={{ item }} package: state=absent name={{ item }}
with_items: with_items:
- "{{ base_pkgs_erase }}" - "{{ base_pkgs_erase }}"
tags: tags:
@ -140,7 +140,7 @@
when: ansible_distribution_major_version|int < 22 when: ansible_distribution_major_version|int < 22
- name: dist pkgs to install (yum) - name: dist pkgs to install (yum)
yum: state=present name={{ item }} package: state=present name={{ item }}
with_items: with_items:
- "{{ base_pkgs_inst }}" - "{{ base_pkgs_inst }}"
tags: tags:

View file

@ -1,5 +1,5 @@
- name: install needed packages - name: install needed packages
yum: pkg={{ item }} state=present package: pkg={{ item }} state=present
with_items: with_items:
- basset-frontend - basset-frontend
tags: tags:

View file

@ -1,5 +1,5 @@
- name: install needed packages - name: install needed packages
yum: pkg={{ item }} state=present package: pkg={{ item }} state=present
with_items: with_items:
- basset - basset
tags: tags:

View file

@ -13,7 +13,7 @@
- config - config
- name: install packages needed - name: install packages needed
yum: pkg={{ item }} state=present package: pkg={{ item }} state=present
with_items: with_items:
- srm # secure rm to delete sensitive files. - srm # secure rm to delete sensitive files.
- ansible # This is our ansible master, needs ansible installed. - ansible # This is our ansible master, needs ansible installed.
@ -58,7 +58,7 @@
- config - config
- name: install cloud client packages - name: install cloud client packages
yum: pkg={{ item }} state=present package: pkg={{ item }} state=present
with_items: with_items:
- python-novaclient - python-novaclient
- python-neutronclient - python-neutronclient

View file

@ -3,7 +3,7 @@
# #
--- ---
- name: install packages needed for beaker lab-controller - name: install packages needed for beaker lab-controller
yum: pkg={{ item }} state=present package: pkg={{ item }} state=present
with_items: with_items:
- beaker-lab-controller - beaker-lab-controller
- tftp-server - tftp-server

View file

@ -3,7 +3,7 @@
# to perform various administrative tasks. # to perform various administrative tasks.
- name: install bkr client - name: install bkr client
yum: pkg=beaker-client state=present package: pkg=beaker-client state=present
tags: tags:
- beaker-server - beaker-server

View file

@ -12,7 +12,7 @@
- beaker-server - beaker-server
- name: install packages required for beaker-server - name: install packages required for beaker-server
yum: pkg={{ item }} state=present package: pkg={{ item }} state=present
with_items: with_items:
- beaker-server - beaker-server
- mod_auth_mellon - mod_auth_mellon

View file

@ -9,7 +9,7 @@
- name: install libvirt packages on rhel7 virthosts - name: install libvirt packages on rhel7 virthosts
yum: pkg={{ item }} state=present package: pkg={{ item }} state=present
with_items: with_items:
- qemu-kvm - qemu-kvm
- libvirt - libvirt

View file

@ -1,6 +1,6 @@
--- ---
- name: install needed packages for blockerbugs - name: install needed packages for blockerbugs
yum: state=present name={{ item }} enablerepo=epel-testing package: state=present name={{ item }} enablerepo=epel-testing
with_items: with_items:
- libsemanage-python - libsemanage-python
- python-psycopg2 - python-psycopg2

View file

@ -2,7 +2,7 @@
# Configuration for Bugyou # Configuration for Bugyou
- name: install needed packages for bugyou - name: install needed packages for bugyou
yum: pkg={{ item }} state=present enablerepo=epel-testing package: pkg={{ item }} state=present enablerepo=epel-testing
with_items: with_items:
- bugyou - bugyou
notify: notify:

View file

@ -2,7 +2,7 @@
# Configuration for Bugyou Plugins # Configuration for Bugyou Plugins
- name: install needed packages for bugyou_plugins - name: install needed packages for bugyou_plugins
yum: pkg={{ item }} state=present enablerepo=epel-testing package: pkg={{ item }} state=present enablerepo=epel-testing
with_items: with_items:
- python-libpagure - python-libpagure
- bugyou_plugins - bugyou_plugins

View file

@ -2,7 +2,7 @@
# Setup a fedmsg-hub # Setup a fedmsg-hub
- name: install needed packages - name: install needed packages
yum: pkg={{ item }} state=present package: pkg={{ item }} state=present
with_items: with_items:
- python-moksha-hub - python-moksha-hub
- python-bugzilla2fedmsg - python-bugzilla2fedmsg

View file

@ -3,7 +3,7 @@
## Install packages ## Install packages
- name: Install needed packages - name: Install needed packages
yum: pkg={{ item }} state=present package: pkg={{ item }} state=present
with_items: with_items:
- python-bugzilla - python-bugzilla
tags: tags:

View file

@ -1,6 +1,6 @@
--- ---
- name: install ccsdb and its dependencies - name: install ccsdb and its dependencies
yum: name={{ item }} state=present package: name={{ item }} state=present
with_items: with_items:
- ccsdb - ccsdb
- mod_wsgi - mod_wsgi

View file

@ -2,7 +2,7 @@
# tasklist for setting up CGit # tasklist for setting up CGit
- name: install the needed packages - name: install the needed packages
yum: pkg={{item}} state=present package: pkg={{item}} state=present
with_items: with_items:
- cgit - cgit
- mod_ssl - mod_ssl

View file

@ -2,7 +2,7 @@
# tasklist for setting up the CGit file list # tasklist for setting up the CGit file list
- name: install semanage - name: install semanage
yum: pkg=/usr/sbin/semanage state=present package: pkg=/usr/sbin/semanage state=present
tags: cgit tags: cgit
- name: create the git root directory (/srv/git) - name: create the git root directory (/srv/git)

View file

@ -14,7 +14,7 @@
# - clamscan_weekday (optional) # - clamscan_weekday (optional)
- name: install the needed packages - name: install the needed packages
yum: pkg={{item}} state=present package: pkg={{item}} state=present
with_items: with_items:
- clamav - clamav
- clamav-data - clamav-data

View file

@ -29,7 +29,7 @@
- name: copy RHOS repo file - name: copy RHOS repo file
copy: src=rhos-5.repo dest=/etc/yum.repos.d/rhos-5.repo copy: src=rhos-5.repo dest=/etc/yum.repos.d/rhos-5.repo
owner=root group=root mode=0644 owner=root group=root mode=0644
- yum: state=present pkg=openstack-nova-common - package: state=present pkg=openstack-nova-common
- name: create logical volume for ephemeral storage - name: create logical volume for ephemeral storage
lvol: vg=vg_guests lv=nova size=100%FREE shrink=no lvol: vg=vg_guests lv=nova size=100%FREE shrink=no
- filesystem: fstype=ext4 dev=/dev/mapper/vg_guests-nova - filesystem: fstype=ext4 dev=/dev/mapper/vg_guests-nova
@ -52,7 +52,7 @@
# http://docs.openstack.org/icehouse/install-guide/install/yum/content/nova-compute.html # http://docs.openstack.org/icehouse/install-guide/install/yum/content/nova-compute.html
- name: install the Compute packages necessary for the controller node. - name: install the Compute packages necessary for the controller node.
yum: state=present pkg={{ item }} package: state=present pkg={{ item }}
with_items: with_items:
- openstack-nova-compute - openstack-nova-compute
- python-novaclient - python-novaclient
@ -163,7 +163,7 @@
- sysctl: name=net.ipv4.conf.default.rp_filter value=0 state=present sysctl_set=yes reload=yes - sysctl: name=net.ipv4.conf.default.rp_filter value=0 state=present sysctl_set=yes reload=yes
- name: install the Networking components - name: install the Networking components
yum: state=present pkg={{ item }} package: state=present pkg={{ item }}
with_items: with_items:
- openstack-neutron-ml2 - openstack-neutron-ml2
- openstack-neutron-openvswitch - openstack-neutron-openvswitch

View file

@ -3,7 +3,7 @@
# install pkg # install pkg
- name: install collectd - name: install collectd
yum: name=collectd state=present package: name=collectd state=present
tags: tags:
- collectd - collectd
when: ansible_distribution_major_version|int < 22 when: ansible_distribution_major_version|int < 22
@ -50,7 +50,7 @@
# apache - localhost only - pretty much any apache server # apache - localhost only - pretty much any apache server
- name: install collectd-apache (yum) - name: install collectd-apache (yum)
yum: state=present name=collectd-apache package: state=present name=collectd-apache
tags: tags:
- collectd - collectd
notify: notify:
@ -84,7 +84,7 @@
when: collectd_graphite is defined and ansible_distribution_major_version != '6' when: collectd_graphite is defined and ansible_distribution_major_version != '6'
- name: Install libsemanage-python so we can set an sebool below - name: Install libsemanage-python so we can set an sebool below
yum: name=libsemanage-python state=present package: name=libsemanage-python state=present
tags: tags:
- collectd - collectd
when: collectd_apache is defined and ansible_distribution_major_version|int < 22 when: collectd_apache is defined and ansible_distribution_major_version|int < 22

View file

@ -1,7 +1,7 @@
--- ---
- name: install collectd-bind - name: install collectd-bind
yum: name=collectd-bind state=present package: name=collectd-bind state=present
tags: tags:
- packages - packages
- collectd - collectd

View file

@ -1,7 +1,7 @@
--- ---
- name: install python-retask - name: install python-retask
yum: name=python-retask state=present package: name=python-retask state=present
tags: tags:
- collectd - collectd

View file

@ -9,7 +9,7 @@
notify: restart collectd notify: restart collectd
- name: Ensure that semanage is present - name: Ensure that semanage is present
yum: name=policycoreutils-python state=present package: name=policycoreutils-python state=present
tags: tags:
- collectd/memcached - collectd/memcached
- collectd - collectd

View file

@ -3,7 +3,7 @@
# install pkg # install pkg
- name: install collectd server packages - name: install collectd server packages
yum: name={{ item }} state=present package: name={{ item }} state=present
with_items: with_items:
- collectd-rrdtool - collectd-rrdtool
- collectd-ping - collectd-ping

View file

@ -49,13 +49,13 @@
# we need to upgrade x86_64 othwerwise we can have different version of multilib glibc # we need to upgrade x86_64 othwerwise we can have different version of multilib glibc
- name: install multilib deps for nosync.x86_64 - name: install multilib deps for nosync.x86_64
yum: state=latest pkg={{ item }} package: state=latest pkg={{ item }}
when: prepare_base_image is defined when: prepare_base_image is defined
with_items: with_items:
- glibc - glibc
- nss-softokn-freebl - nss-softokn-freebl
- name: install multilib deps for nosync.i686 - name: install multilib deps for nosync.i686
yum: state=latest pkg={{ item }} package: state=latest pkg={{ item }}
when: prepare_base_image is defined when: prepare_base_image is defined
with_items: with_items:
- glibc.i686 - glibc.i686

View file

@ -16,7 +16,7 @@
# - config # - config
- name: enable epel for non-fedora hosts - name: enable epel for non-fedora hosts
yum: state=present pkg="epel-release" package: state=present pkg="epel-release"
when: ansible_distribution != 'Fedora' when: ansible_distribution != 'Fedora'
- name: copy .forward file - name: copy .forward file

View file

@ -1,5 +1,5 @@
- name: install postresql - name: install postresql
yum: state=present pkg={{ item }} package: state=present pkg={{ item }}
with_items: with_items:
- "postgresql-server" - "postgresql-server"
- "postgresql-contrib" - "postgresql-contrib"

View file

@ -3,7 +3,7 @@
# #
- name: setup darkserver - name: setup darkserver
yum: name={{ item }} state=present package: name={{ item }} state=present
with_items: with_items:
- darkserver - darkserver
- darkserver-importer - darkserver-importer

View file

@ -1,5 +1,5 @@
- name: install datagrepper and required packages - name: install datagrepper and required packages
yum: pkg={{ item }} state=present package: pkg={{ item }} state=present
with_items: with_items:
- datagrepper - datagrepper
- python-psycopg2 - python-psycopg2
@ -38,7 +38,7 @@
- datagrepper - datagrepper
- name: installing memcached package for /topics - name: installing memcached package for /topics
yum: pkg=python-memcached state=present package: pkg=python-memcached state=present
tags: tags:
- packages - packages
- datagrepper - datagrepper

View file

@ -1,6 +1,6 @@
--- ---
- name: install dhcp server package - name: install dhcp server package
yum: state=present name=dhcp package: state=present name=dhcp
tags: tags:
- packages - packages
- base - base

View file

@ -2,7 +2,7 @@
# Configuration for the pagure webapp # Configuration for the pagure webapp
- name: install needed packages - name: install needed packages
yum: pkg={{ item }} state=present package: pkg={{ item }} state=present
with_items: with_items:
- pagure - pagure
- pagure-ev - pagure-ev

View file

@ -6,7 +6,7 @@
# -- Common ---------------------------------------------- # -- Common ----------------------------------------------
# This is very basic stuff that is needed by multiple of the next sections. # This is very basic stuff that is needed by multiple of the next sections.
- name: install the needed packages - name: install the needed packages
yum: pkg={{item}} state=present package: pkg={{item}} state=present
with_items: with_items:
- git - git
- httpd - httpd
@ -58,7 +58,7 @@
# -- Dist Git -------------------------------------------- # -- Dist Git --------------------------------------------
# This is the Git setup itself: group, root directory, scripts,... # This is the Git setup itself: group, root directory, scripts,...
- name: install dist-git - name: install dist-git
yum: pkg={{item}} state=latest package: pkg={{item}} state=latest
with_items: with_items:
- dist-git - dist-git
- dist-git-selinux - dist-git-selinux

View file

@ -1,6 +1,6 @@
--- ---
- name: install packages - name: install packages
yum: name={{ item }} state=present package: name={{ item }} state=present
with_items: with_items:
- bind - bind
- unzip - unzip

View file

@ -1,6 +1,6 @@
--- ---
- name: install needed packages - name: install needed packages
yum: pkg={{ item }} state=present update_cache=yes package: pkg={{ item }} state=present update_cache=yes
with_items: with_items:
- bzip2 - bzip2
- libsemanage-python - libsemanage-python
@ -97,7 +97,7 @@
- reload httpd - reload httpd
- name: Install haveged for entropy - name: Install haveged for entropy
yum: name=haveged state=installed package: name=haveged state=installed
tags: tags:
- httpd - httpd
- httpd/proxy - httpd/proxy

View file

@ -19,7 +19,7 @@
## Install packages ## Install packages
- name: Install needed packages - name: Install needed packages
yum: pkg={{ item }} state=present package: pkg={{ item }} state=present
with_items: with_items:
- python-fedora - python-fedora
- python-jinja2 - python-jinja2

View file

@ -2,7 +2,7 @@
# Configuration for the nuancier webapp # Configuration for the nuancier webapp
- name: install needed packages - name: install needed packages
yum: pkg={{ item }} state=present package: pkg={{ item }} state=present
with_items: with_items:
- fedora-elections - fedora-elections
- python-psycopg2 - python-psycopg2

View file

@ -1,6 +1,6 @@
--- ---
- name: install epylog packages - name: install epylog packages
yum: state=present name={{item}} package: state=present name={{item}}
with_items: with_items:
- epylog - epylog
- mod_auth_gssapi - mod_auth_gssapi

View file

@ -9,7 +9,7 @@
- yumrepos - yumrepos
- name: install needed packages - name: install needed packages
yum: pkg={{ item }} state=installed package: pkg={{ item }} state=installed
with_items: with_items:
- fas - fas
- fas-theme-fedoraproject - fas-theme-fedoraproject

View file

@ -2,7 +2,7 @@
# Tasks to set up fas_server # Tasks to set up fas_server
- name: install needed packages - name: install needed packages
yum: pkg={{ item }} state=installed package: pkg={{ item }} state=installed
with_items: with_items:
- fas - fas
- fas-plugin-yubikey - fas-plugin-yubikey
@ -17,7 +17,7 @@
- fas - fas
- name: install needed packages - name: install needed packages
yum: pkg={{ item }} state=installed package: pkg={{ item }} state=installed
with_items: with_items:
- krb5-workstation - krb5-workstation
- python-requests-kerberos - python-requests-kerberos

View file

@ -2,7 +2,7 @@
# Configuration for the notifications consumer # Configuration for the notifications consumer
- name: install needed packages - name: install needed packages
yum: pkg={{ item }} state=installed package: pkg={{ item }} state=installed
with_items: with_items:
- koji - koji
- fedmsg - fedmsg

View file

@ -3,7 +3,7 @@
# This is the base set of files needed for fedmsg # This is the base set of files needed for fedmsg
- name: install needed packages - name: install needed packages
yum: pkg={{ item }} state=present package: pkg={{ item }} state=present
with_items: with_items:
- libsemanage-python - libsemanage-python
- python-psutil - python-psutil
@ -14,7 +14,7 @@
when: ansible_distribution_major_version|int < 22 when: ansible_distribution_major_version|int < 22
- name: install python2 fedmsg package - name: install python2 fedmsg package
yum: pkg=fedmsg state=present package: pkg=fedmsg state=present
when: "'python34-fedmsg' not in group_names and ansible_distribution_major_version|int < 22" when: "'python34-fedmsg' not in group_names and ansible_distribution_major_version|int < 22"
tags: fedmsg/base tags: fedmsg/base
@ -24,7 +24,7 @@
tags: fedmsg/base tags: fedmsg/base
- name: install the python34 fedmsg package (yum) - name: install the python34 fedmsg package (yum)
yum: pkg=python34-fedmsg-core state=present package: pkg=python34-fedmsg-core state=present
when: "'python34-fedmsg' in group_names and ansible_distribution_major_version|int < 22" when: "'python34-fedmsg' in group_names and ansible_distribution_major_version|int < 22"
tags: fedmsg/base tags: fedmsg/base
@ -202,7 +202,7 @@
- restart fedmsg-relay - restart fedmsg-relay
- name: install fedmsg-relay in case we're in debug mode. - name: install fedmsg-relay in case we're in debug mode.
yum: name=fedmsg-relay state=present package: name=fedmsg-relay state=present
when: fedmsg_debug_loopback == true and ansible_distribution_major_version|int < 22 when: fedmsg_debug_loopback == true and ansible_distribution_major_version|int < 22
tags: tags:
- fedmsg_loopback - fedmsg_loopback

View file

@ -2,7 +2,7 @@
# correctly is actually included as part of the fedmsg/base role. # correctly is actually included as part of the fedmsg/base role.
- name: install datanommer packages - name: install datanommer packages
yum: pkg="{{ item }}" state=present package: pkg="{{ item }}" state=present
with_items: with_items:
- python-datanommer-consumer - python-datanommer-consumer
- python-datanommer-models - python-datanommer-models

View file

@ -2,7 +2,7 @@
# Tasks to set up fedmsg-gateway-slave # Tasks to set up fedmsg-gateway-slave
- name: install needed packages - name: install needed packages
yum: pkg={{ item }} state=installed package: pkg={{ item }} state=installed
with_items: with_items:
- fedmsg-gateway - fedmsg-gateway
- stunnel - stunnel

View file

@ -1,5 +1,5 @@
- name: install fedmsg-gateway - name: install fedmsg-gateway
yum: pkg=fedmsg-gateway state=present package: pkg=fedmsg-gateway state=present
tags: tags:
- packages - packages
- fedmsg/gateway - fedmsg/gateway

View file

@ -2,7 +2,7 @@
# Setup a fedmsg-hub # Setup a fedmsg-hub
- name: install needed packages - name: install needed packages
yum: pkg={{ item }} state=present package: pkg={{ item }} state=present
with_items: with_items:
- fedmsg-hub - fedmsg-hub
tags: tags:

View file

@ -2,7 +2,7 @@
# correctly is actually included as part of the fedmsg/base role. # correctly is actually included as part of the fedmsg/base role.
- name: install fedmsg-relay (yum) - name: install fedmsg-relay (yum)
yum: pkg=fedmsg-relay state=present package: pkg=fedmsg-relay state=present
tags: tags:
- packages - packages
- fedmsg/relay - fedmsg/relay

View file

@ -2,7 +2,7 @@
# Configuration for the fedocal webapp # Configuration for the fedocal webapp
- name: install needed packages - name: install needed packages
yum: pkg={{ item }} state=present package: pkg={{ item }} state=present
with_items: with_items:
- fedocal - fedocal
- python-psycopg2 - python-psycopg2

View file

@ -1,5 +1,5 @@
- name: Install needed packages - name: Install needed packages
yum: pkg={{ item }} state=present package: pkg={{ item }} state=present
with_items: with_items:
- babel - babel
- git - git
@ -12,7 +12,7 @@
- fedora-web - fedora-web
- name: Install extra packages for staging - name: Install extra packages for staging
yum: pkg={{ item }} state=present package: pkg={{ item }} state=present
with_items: with_items:
- python-dogpile-cache - python-dogpile-cache
tags: tags:

View file

@ -3,7 +3,7 @@
## Install packages ## Install packages
- name: Install needed packages - name: Install needed packages
yum: pkg={{ item }} state=present package: pkg={{ item }} state=present
with_items: with_items:
- python-requests - python-requests
tags: tags:

View file

@ -2,7 +2,7 @@
# Tasklist for setting up freemedia cgi. # Tasklist for setting up freemedia cgi.
- name: install needed php packages - name: install needed php packages
yum: pkg={{ item }} state=present package: pkg={{ item }} state=present
with_items: with_items:
- php - php
notify: notify:

View file

@ -5,14 +5,14 @@
# #
# install python-paste-deploy # install python-paste-deploy
- name: install python-paste-deploy - name: install python-paste-deploy
yum: name=python-paste-deploy state=present package: name=python-paste-deploy state=present
tags: tags:
- packages - packages
- geoip-city-wsgi - geoip-city-wsgi
- geoip-city-wsgi/app - geoip-city-wsgi/app
- name: install GeoIP-data - name: install GeoIP-data
yum: name=GeoIP-data state=present package: name=GeoIP-data state=present
tags: tags:
- packages - packages
- geoip-city-wsgi - geoip-city-wsgi

View file

@ -1,7 +1,7 @@
--- ---
# install python-geoIP # install python-geoIP
- name: install python-GeoIP - name: install python-GeoIP
yum: name=python-GeoIP state=present package: name=python-GeoIP state=present
tags: tags:
- packages - packages

View file

@ -6,7 +6,7 @@
# jobs, triggered by fedmsg, etc... # jobs, triggered by fedmsg, etc...
- name: install the needed packages - name: install the needed packages
yum: pkg=git state=present package: pkg=git state=present
tags: tags:
- git - git
- git/checks - git/checks

View file

@ -2,7 +2,7 @@
# tasklist for setting up git mail hooks # tasklist for setting up git mail hooks
- name: install needed packages - name: install needed packages
yum: pkg={{item}} state=present package: pkg={{item}} state=present
with_items: with_items:
- git - git
- moreutils - moreutils
@ -13,7 +13,7 @@
- packages - packages
- name: install needed packages from epel testing - name: install needed packages from epel testing
yum: pkg={{item}} state=present enablerepo=epel-testing package: pkg={{item}} state=present enablerepo=epel-testing
with_items: with_items:
- python-pygit2 - python-pygit2
tags: tags:

View file

@ -2,7 +2,7 @@
# tasklist for setting up a git server (git:// access) # tasklist for setting up a git server (git:// access)
- name: install the git-daemon package - name: install the git-daemon package
yum: pkg=git-daemon state=present package: pkg=git-daemon state=present
tags: git/server tags: git/server
# If NOT using xinetd # If NOT using xinetd
@ -21,7 +21,7 @@
# If using xinetd # If using xinetd
- name: install xinetd - name: install xinetd
yum: pkg=xinetd state=present package: pkg=xinetd state=present
when: ansible_distribution_major_version|int == 6 when: ansible_distribution_major_version|int == 6
tags: git/server tags: git/server

View file

@ -2,7 +2,7 @@
# Configuration for the tahrir webapp # Configuration for the tahrir webapp
- name: install needed packages - name: install needed packages
yum: pkg={{ item }} state=present package: pkg={{ item }} state=present
with_items: with_items:
- github2fedmsg - github2fedmsg
- python-psycopg2 - python-psycopg2

View file

@ -2,7 +2,7 @@
# tasklist for setting up a basic gitolite # tasklist for setting up a basic gitolite
- name: install the needed packages - name: install the needed packages
yum: pkg={{item}} state=present package: pkg={{item}} state=present
with_items: with_items:
- gitolite3 - gitolite3
- perl-Sys-Syslog - perl-Sys-Syslog

View file

@ -1,5 +1,5 @@
- name: Make sure rdiff-backup is installed - name: Make sure rdiff-backup is installed
yum: name=rdiff-backup state=latest package: name=rdiff-backup state=latest
- name: Create GNOME backup user - name: Create GNOME backup user
user: name=gnomebackup state=present home=/gnome_backups/ createhome=yes shell=/sbin/nologin user: name=gnomebackup state=present home=/gnome_backups/ createhome=yes shell=/sbin/nologin

View file

@ -2,7 +2,7 @@
# Tasks to set up haproxy # Tasks to set up haproxy
- name: install needed packages - name: install needed packages
yum: pkg={{ item }} state=installed package: pkg={{ item }} state=installed
with_items: with_items:
- haproxy - haproxy
tags: tags:
@ -41,7 +41,7 @@
- haproxy - haproxy
- name: Install libsemanage-python so we can manage selinux with python... - name: Install libsemanage-python so we can manage selinux with python...
yum: name=libsemanage-python state=installed package: name=libsemanage-python state=installed
tags: tags:
- haproxy - haproxy
- selinux - selinux

View file

@ -2,7 +2,7 @@
# Configuration for the the-new-hotness consumer # Configuration for the the-new-hotness consumer
# #
- name: install rebase helper from epel-testing - name: install rebase helper from epel-testing
yum: pkg={{ item }} state=present enablerepo=epel-testing package: pkg={{ item }} state=present enablerepo=epel-testing
with_items: with_items:
- rebase-helper - rebase-helper
tags: tags:
@ -10,7 +10,7 @@
- hotness - hotness
- name: install needed packages - name: install needed packages
yum: pkg={{ item }} state=present package: pkg={{ item }} state=present
with_items: with_items:
- the-new-hotness - the-new-hotness
- python-psycopg2 - python-psycopg2

View file

@ -106,7 +106,7 @@
- config - config
- name: install packages needed - name: install packages needed
yum: pkg={{ item }} state=present package: pkg={{ item }} state=present
with_items: with_items:
- infinoted - infinoted
tags: tags:

View file

@ -2,7 +2,7 @@
# Configuration for IPA # Configuration for IPA
- name: install needed packages - name: install needed packages
yum: pkg={{ item }} state=present package: pkg={{ item }} state=present
with_items: with_items:
- haveged - haveged
- ipa-server - ipa-server

View file

@ -2,7 +2,7 @@
# Configuration for the ipsilon webapp # Configuration for the ipsilon webapp
- name: install needed packages - name: install needed packages
yum: pkg={{ item }} state=present update_cache=yes package: pkg={{ item }} state=present update_cache=yes
with_items: with_items:
- ipsilon - ipsilon
- ipsilon-authfas - ipsilon-authfas

View file

@ -4,7 +4,7 @@
# #
# #
- name: install packages needed for iscsi_client (yum) - name: install packages needed for iscsi_client (yum)
yum: state=present name={{ item }} package: state=present name={{ item }}
with_items: with_items:
- iscsi-initiator-utils - iscsi-initiator-utils
- device-mapper-multipath - device-mapper-multipath

View file

@ -8,7 +8,7 @@
- packages - packages
- name: install common slave packages (yum) - name: install common slave packages (yum)
yum: name={{ item }} state=installed package: name={{ item }} state=installed
with_items: "{{ slave_packages_common }}" with_items: "{{ slave_packages_common }}"
when: ansible_distribution_major_version|int < 22 when: ansible_distribution_major_version|int < 22
tags: tags:
@ -26,7 +26,7 @@
- packages - packages
- name: install distro-specific slave packages (centos, yum) - name: install distro-specific slave packages (centos, yum)
yum: name={{ item }} state=installed package: name={{ item }} state=installed
with_items: "{{ slave_packages_centos }}" with_items: "{{ slave_packages_centos }}"
when: ansible_distribution_major_version|int < 8 when: ansible_distribution_major_version|int < 8
tags: tags:
@ -35,7 +35,7 @@
- packages - packages
- name: install el7 specific slave packages - name: install el7 specific slave packages
yum: name={{ item }} state=installed package: name={{ item }} state=installed
with_items: "{{ el7_only }}" with_items: "{{ el7_only }}"
when: ansible_distribution_major_version|int == 7 when: ansible_distribution_major_version|int == 7
tags: tags:

View file

@ -8,7 +8,7 @@
# #
- name: Install keepalived package - name: Install keepalived package
yum: state=present name=keepalived package: state=present name=keepalived
tags: tags:
- packages - packages
- keepalived - keepalived

View file

@ -2,7 +2,7 @@
# Configuration for the kerneltest webapp # Configuration for the kerneltest webapp
- name: install needed packages - name: install needed packages
yum: pkg={{ item }} state=present update_cache=yes package: pkg={{ item }} state=present update_cache=yes
with_items: with_items:
- kerneltest - kerneltest
- python-psycopg2 - python-psycopg2

View file

@ -1,11 +1,11 @@
--- ---
- name: install sks - name: install sks
yum: name=sks state=present package: name=sks state=present
tags: tags:
- packages - packages
- name: install mod_ssl - name: install mod_ssl
yum: name=mod_ssl state=present package: name=mod_ssl state=present
tags: tags:
- packages - packages

View file

@ -233,7 +233,7 @@
# #
- name: special pkgs for the x86_64 builders - name: special pkgs for the x86_64 builders
yum: state=present pkg={{ item }} package: state=present pkg={{ item }}
with_items: with_items:
- kmod-hfsplus - kmod-hfsplus
when: is_rhel is defined and ansible_architecture == 'x86_64' and ansible_distribution_major_version|int == '6' when: is_rhel is defined and ansible_architecture == 'x86_64' and ansible_distribution_major_version|int == '6'

View file

@ -3,7 +3,7 @@
# Setup koji hub server. # Setup koji hub server.
# #
- name: install koji hub server packages - name: install koji hub server packages
yum: name={{ item }} state=present package: name={{ item }} state=present
with_items: with_items:
- koji-hub - koji-hub
- koji-hub-plugins - koji-hub-plugins

View file

@ -8,7 +8,7 @@
# TODO: switch to the sefcontext module when we update Ansible to 2.2+ # TODO: switch to the sefcontext module when we update Ansible to 2.2+
# #
- name: install semanage - name: install semanage
yum: pkg=policycoreutils-python state=present package: pkg=policycoreutils-python state=present
tags: tags:
- mailman - mailman
- selinux - selinux
@ -86,7 +86,7 @@
tags: mailman tags: mailman
- name: install GPG to validate the key - name: install GPG to validate the key
yum: state=present name=gnupg package: state=present name=gnupg
tags: mailman tags: mailman
- name: add the GPG key - name: add the GPG key
@ -94,7 +94,7 @@
tags: mailman tags: mailman
- name: install needed packages - name: install needed packages
yum: pkg={{ item }} state=present package: pkg={{ item }} state=present
with_items: with_items:
- python-psycopg2 - python-psycopg2
- python34-psycopg2 - python34-psycopg2
@ -131,7 +131,7 @@
tags: mailman tags: mailman
- name: install the mailman3 fedmsg plugin rpm - name: install the mailman3 fedmsg plugin rpm
yum: pkg=mailman3-fedmsg-plugin package: pkg=mailman3-fedmsg-plugin
notify: restart mailman3 notify: restart mailman3
when: ansible_distribution == 'RedHat' when: ansible_distribution == 'RedHat'
tags: mailman tags: mailman
@ -145,7 +145,7 @@
- name: install packages when not using source extracts - name: install packages when not using source extracts
when: ansible_hostname != "lists-dev.cloud.fedoraproject.org" when: ansible_hostname != "lists-dev.cloud.fedoraproject.org"
yum: pkg={{ item }} state=present package: pkg={{ item }} state=present
with_items: with_items:
- mailman3 - mailman3
- mailman3-selinux - mailman3-selinux

View file

@ -1,5 +1,5 @@
- name: ensure packages required for mariadb are installed - name: ensure packages required for mariadb are installed
yum: name={{ item }} state=present enablerepo={{ extra_enablerepos }} package: name={{ item }} state=present enablerepo={{ extra_enablerepos }}
with_items: with_items:
- mariadb-server - mariadb-server
- MySQL-python - MySQL-python

View file

@ -2,7 +2,7 @@
# Common configuration for the Module Build Service (MBS) pieces # Common configuration for the Module Build Service (MBS) pieces
- name: install needed packages - name: install needed packages
yum: pkg={{ item }} state=present package: pkg={{ item }} state=present
with_items: with_items:
- module-build-service - module-build-service
- python-psycopg2 - python-psycopg2

View file

@ -25,7 +25,7 @@
- mediawiki - mediawiki
- name: install needed packages - name: install needed packages
yum: pkg={{ item }} state=present package: pkg={{ item }} state=present
with_items: with_items:
- mediawiki123 - mediawiki123
#- mediawiki123-Lockdown #- mediawiki123-Lockdown

View file

@ -26,7 +26,7 @@
# https://fedoraproject.org/wiki/Ambassadors/MembershipService/Verification # https://fedoraproject.org/wiki/Ambassadors/MembershipService/Verification
# #
- yum: state=present name=python-mwclient - package: state=present name=python-mwclient
tags: tags:
- membership-map - membership-map
- membership-map/build - membership-map/build

View file

@ -1,6 +1,6 @@
--- ---
- name: install memcached server package - name: install memcached server package
yum: state=present name=memcached package: state=present name=memcached
tags: tags:
- packages - packages
- memcached - memcached

View file

@ -2,7 +2,7 @@
# Configuration for the mirrormanager backend # Configuration for the mirrormanager backend
- name: install needed packages - name: install needed packages
yum: pkg={{ item }} state=present update_cache=yes package: pkg={{ item }} state=present update_cache=yes
with_items: with_items:
- mirrormanager2-backend - mirrormanager2-backend
- mirrormanager2-statistics - mirrormanager2-statistics

View file

@ -2,7 +2,7 @@
# Configuration for MirrorManager's crawler # Configuration for MirrorManager's crawler
- name: install needed packages - name: install needed packages
yum: pkg={{ item }} state=present update_cache=yes package: pkg={{ item }} state=present update_cache=yes
with_items: with_items:
- mirrormanager2-crawler - mirrormanager2-crawler
- python-psycopg2 - python-psycopg2

View file

@ -2,7 +2,7 @@
# tasklist for setting up the mirrormanager web application # tasklist for setting up the mirrormanager web application
- name: install needed packages - name: install needed packages
yum: pkg={{ item }} state=present update_cache=yes package: pkg={{ item }} state=present update_cache=yes
with_items: with_items:
- mirrormanager2 - mirrormanager2
- python-psycopg2 - python-psycopg2

View file

@ -13,7 +13,7 @@
- mirrorlist2 - mirrorlist2
- name: install packages for mirrorlist - name: install packages for mirrorlist
yum: pkg={{ item }} state=present enablerepo=epel-testing package: pkg={{ item }} state=present enablerepo=epel-testing
with_items: with_items:
- mirrormanager2-mirrorlist - mirrormanager2-mirrorlist
- python-IPy - python-IPy

View file

@ -1,6 +1,6 @@
--- ---
- name: Install package - name: Install package
yum: pkg=mod_limitipconn state=present package: pkg=mod_limitipconn state=present
- name: Configuration file - name: Configuration file
copy: src=limitipconn.conf dest=/etc/httpd/conf.d/limitipconn.conf copy: src=limitipconn.conf dest=/etc/httpd/conf.d/limitipconn.conf

View file

@ -1,5 +1,5 @@
- name: install needed packages - name: install needed packages
yum: pkg={{ item }} state=present package: pkg={{ item }} state=present
with_items: with_items:
- mongodb-server - mongodb-server
tags: mongodb tags: mongodb

View file

@ -2,7 +2,7 @@
# Configuration for the mote webapp # Configuration for the mote webapp
- name: install needed packages - name: install needed packages
yum: pkg={{ item }} state=present package: pkg={{ item }} state=present
with_items: with_items:
- mote - mote
tags: tags:

Some files were not shown because too many files have changed in this diff Show more