yum accepted pkg=, package calls it name=

Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
This commit is contained in:
Patrick Uiterwijk 2017-10-09 00:38:19 +02:00
parent 73f695ab72
commit 936e8b261a
126 changed files with 164 additions and 164 deletions

View file

@ -48,7 +48,7 @@
tasks: tasks:
- name: install fedmsg-relay - name: install fedmsg-relay
package: pkg=fedmsg-relay state=present package: name=fedmsg-relay state=present
- name: and start it - name: and start it
service: name=fedmsg-relay state=started service: name=fedmsg-relay state=started

View file

@ -37,6 +37,6 @@
tasks: tasks:
- name: install needed packages - name: install needed packages
package: pkg={{ item }} state=present package: name={{ item }} state=present
with_items: with_items:
- ipmitool - ipmitool

View file

@ -61,7 +61,7 @@
copy: src="{{ files}}/download/last-sync" dest=/usr/local/bin/last-sync mode=0755 copy: src="{{ files}}/download/last-sync" dest=/usr/local/bin/last-sync mode=0755
when: inventory_hostname == 'download-ib01.fedoraproject.org' when: inventory_hostname == 'download-ib01.fedoraproject.org'
- name: install bc so last-sync works. - name: install bc so last-sync works.
package: pkg=bc state=present package: name=bc state=present
when: inventory_hostname == 'download-ib01.fedoraproject.org' when: inventory_hostname == 'download-ib01.fedoraproject.org'

View file

@ -48,7 +48,7 @@
tasks: tasks:
- name: install psycopg2 for the postgresql ansible modules - name: install psycopg2 for the postgresql ansible modules
package: pkg=python-psycopg2 state=present package: name=python-psycopg2 state=present
tags: tags:
- packages - packages
@ -100,7 +100,7 @@
tasks: tasks:
- name: install more needed packages - name: install more needed packages
package: pkg={{ item }} state=present package: name={{ item }} state=present
with_items: with_items:
- tar - tar
tags: tags:

View file

@ -17,7 +17,7 @@
pre_tasks: pre_tasks:
- name: Install policycoreutils-python - name: Install policycoreutils-python
package: pkg=policycoreutils-python state=present package: name=policycoreutils-python state=present
- name: Create /srv/web/ for all the goodies. - name: Create /srv/web/ for all the goodies.
file: > file: >

View file

@ -68,7 +68,7 @@
tasks: tasks:
- name: install some packages which arent in playbooks - name: install some packages which arent in playbooks
package: pkg={{ item }} state=present package: name={{ item }} state=present
with_items: with_items:
- nmap - nmap
- tcpdump - tcpdump

View file

@ -41,7 +41,7 @@
pre_tasks: pre_tasks:
- name: install fedmsg-relay - name: install fedmsg-relay
package: pkg=fedmsg-relay state=present package: name=fedmsg-relay state=present
tags: tags:
- pagure - pagure
- pagure/fedmsg - pagure/fedmsg

View file

@ -52,7 +52,7 @@
- include: "{{ tasks_path }}/motd.yml" - include: "{{ tasks_path }}/motd.yml"
- name: Install some misc packages needed for various tasks - name: Install some misc packages needed for various tasks
package: pkg={{ item }} state=present package: name={{ item }} state=present
with_items: with_items:
- createrepo - createrepo
- koji - koji

View file

@ -57,7 +57,7 @@
tasks: tasks:
- name: install needed packages - name: install needed packages
package: pkg={{ item }} state=present package: name={{ item }} state=present
with_items: with_items:
- httpd - httpd
- httpd-tools - httpd-tools

View file

@ -144,7 +144,7 @@
tasks: tasks:
- name: install more needed packages - name: install more needed packages
package: pkg={{ item }} state=present package: name={{ item }} state=present
with_items: with_items:
- tar - tar
- vim - vim

View file

@ -55,7 +55,7 @@
# pre_tasks: # pre_tasks:
# - name: install fedmsg-relay # - name: install fedmsg-relay
# package: pkg=fedmsg-relay state=present # package: name=fedmsg-relay state=present
# tags: # tags:
# - pagure # - pagure
# - pagure/fedmsg # - pagure/fedmsg

View file

@ -14,7 +14,7 @@
pre_tasks: pre_tasks:
- name: Install policycoreutils-python - name: Install policycoreutils-python
package: pkg=policycoreutils-python state=present package: name=policycoreutils-python state=present
- name: Create /srv/web/ for all the goodies. - name: Create /srv/web/ for all the goodies.
file: > file: >

View file

@ -68,7 +68,7 @@
tasks: tasks:
- name: install cloud-utils (yum) - name: install cloud-utils (yum)
package: pkg=cloud-utils state=present package: name=cloud-utils state=present
when: ansible_distribution_major_version|int < 22 when: ansible_distribution_major_version|int < 22
- name: install cloud-utils (dnf) - name: install cloud-utils (dnf)

View file

@ -1,6 +1,6 @@
--- ---
- name: install postgresql packages - name: install postgresql packages
package: pkg={{ item }} state=present package: name={{ item }} state=present
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
package: pkg={{ item }} state=present package: name={{ item }} state=present
with_items: with_items:
- openssl - openssl
- mod_ssl - mod_ssl
- name: memcached rhel - name: memcached rhel
package: pkg={{ item }} state=present package: name={{ item }} state=present
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
package: pkg={{ item }} state=present package: name={{ item }} state=present
with_items: with_items:
- libmemcached - libmemcached
- memcached - memcached

View file

@ -1,5 +1,5 @@
- name: install faf web celery packages - name: install faf web celery packages
package: pkg={{ item }} state=present package: name={{ item }} state=present
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
package: pkg="faf-*" state=absent package: name="faf-*" state=absent
when: faf_force_reinstall when: faf_force_reinstall
- name: install core faf packages - name: install core faf packages
package: pkg={{ item }} state=present package: name={{ item }} state=present
with_items: "{{ faf_packages }}" with_items: "{{ faf_packages }}"
- name: install faf problem packages - name: install faf problem packages
package: pkg={{ item }} state=present package: name={{ item }} state=present
with_items: "{{ faf_problem_packages }}" with_items: "{{ faf_problem_packages }}"
- name: install faf opsys packages - name: install faf opsys packages
package: pkg={{ item }} state=present package: name={{ item }} state=present
with_items: "{{ faf_opsys_packages }}" with_items: "{{ faf_opsys_packages }}"
- name: install faf action packages - name: install faf action packages
package: pkg={{ item }} state=present package: name={{ item }} state=present
with_items: "{{ faf_action_packages }}" with_items: "{{ faf_action_packages }}"
- name: install faf bugtracker packages - name: install faf bugtracker packages
package: pkg={{ item }} state=present package: name={{ item }} state=present
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
package: pkg={{ item }} state=present package: name={{ item }} state=present
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
package: pkg={{ item }} state=present package: name={{ item }} state=present
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
package: pkg={{ item }} state=present package: name={{ item }} state=present
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
package: pkg="faf*" state=latest package: name="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
package: pkg={{ item }} state=present package: name={{ item }} state=present
with_items: "{{ faf_web_symboltransfer_packages }}" with_items: "{{ faf_web_symboltransfer_packages }}"
when: faf_with_symboltransfer when: faf_with_symboltransfer

View file

@ -2,7 +2,7 @@
# Configuration for the anitya webapp # Configuration for the anitya webapp
- name: install needed packages - name: install needed packages
package: pkg={{ item }} state=present update_cache=yes package: name={{ 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
package: pkg={{ item }} state=present package: name={{ 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
package: pkg={{ item }} state=present update_cache=yes package: name={{ 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
package: pkg={{ item }} state=present package: name={{ item }} state=present
with_items: with_items:
- ansible - ansible
- git - git

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
package: pkg={{ item }} state=present package: name={{ item }} state=present
with_items: with_items:
- askbot - askbot
- python-memcached - python-memcached

View file

@ -2,7 +2,7 @@
# Configuration for the fedbadges consumer # Configuration for the fedbadges consumer
- name: install needed packages - name: install needed packages
package: pkg={{ item }} state=present package: name={{ 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
package: pkg={{ item }} state=present package: name={{ item }} state=present
with_items: with_items:
- python-tahrir - python-tahrir
- python-psycopg2 - python-psycopg2

View file

@ -8,7 +8,7 @@
- block: - block:
- name: install watchdog - name: install watchdog
package: pkg={{ item }} state=present package: name={{ item }} state=present
with_items: with_items:
- watchdog - watchdog
tags: tags:

View file

@ -1,5 +1,5 @@
- name: install needed packages - name: install needed packages
package: pkg={{ item }} state=present package: name={{ 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
package: pkg={{ item }} state=present package: name={{ 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
package: pkg={{ item }} state=present package: name={{ 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
package: pkg={{ item }} state=present package: name={{ 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
package: pkg={{ item }} state=present package: name={{ 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
package: pkg=beaker-client state=present package: name=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
package: pkg={{ item }} state=present package: name={{ 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
package: pkg={{ item }} state=present package: name={{ item }} state=present
with_items: with_items:
- qemu-kvm - qemu-kvm
- libvirt - libvirt

View file

@ -13,7 +13,7 @@
- bodhi - bodhi
- name: install needed packages - name: install needed packages
package: pkg={{ item }} state=present package: name={{ item }} state=present
with_items: with_items:
- mock - mock
- mash - mash
@ -32,21 +32,21 @@
- bodhi - bodhi
- name: install tag2distrepo on fedora bodhi backends - name: install tag2distrepo on fedora bodhi backends
package: pkg=python2-tag2distrepo state=present package: name=python2-tag2distrepo state=present
when: inventory_hostname.startswith('bodhi-backend02') when: inventory_hostname.startswith('bodhi-backend02')
tags: tags:
- packages - packages
- bodhi - bodhi
- name: install python3-ccolutils on fedora bodhi backends - name: install python3-ccolutils on fedora bodhi backends
package: pkg=python3-cccolutils state=present package: name=python3-cccolutils state=present
when: inventory_hostname.startswith('bodhi-backend01') when: inventory_hostname.startswith('bodhi-backend01')
tags: tags:
- packages - packages
- bodhi - bodhi
- name: install ostree - name: install ostree
package: pkg=ostree state=present package: name=ostree state=present
when: inventory_hostname.startswith('bodhi-backend01') when: inventory_hostname.startswith('bodhi-backend01')
tags: tags:
- packages - packages
@ -134,7 +134,7 @@
# tasks for setting up epelmasher # tasks for setting up epelmasher
- name: install needed packages - name: install needed packages
package: pkg={{ item }} state=present package: name={{ item }} state=present
with_items: with_items:
- repoview - repoview
tags: tags:

View file

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

View file

@ -2,7 +2,7 @@
# Configuration for Bugyou # Configuration for Bugyou
- name: install needed packages for bugyou - name: install needed packages for bugyou
package: pkg={{ item }} state=present enablerepo=epel-testing package: name={{ 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
package: pkg={{ item }} state=present enablerepo=epel-testing package: name={{ 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
package: pkg={{ item }} state=present package: name={{ 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
package: pkg={{ item }} state=present package: name={{ item }} state=present
with_items: with_items:
- python-bugzilla - python-bugzilla
tags: tags:

View file

@ -1,5 +1,5 @@
- name: Install the needed packages - name: Install the needed packages
package: pkg={{item}} state=present package: name={{item}} state=present
with_items: with_items:
- certbot - certbot

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
package: pkg={{item}} state=present package: name={{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
package: pkg=/usr/sbin/semanage state=present package: name=/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
package: pkg={{item}} state=present package: name={{item}} state=present
with_items: with_items:
- clamav - clamav
- clamav-data - clamav-data

View file

@ -1,5 +1,5 @@
- name: install datagrepper and required packages - name: install datagrepper and required packages
package: pkg={{ item }} state=present package: name={{ 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
package: pkg=python-memcached state=present package: name=python-memcached state=present
tags: tags:
- packages - packages
- datagrepper - datagrepper

View file

@ -2,7 +2,7 @@
# Configuration for the pagure webapp # Configuration for the pagure webapp
- name: install needed packages - name: install needed packages
package: pkg={{ item }} state=present package: name={{ 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
package: pkg={{item}} state=present package: name={{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
package: pkg={{item}} state=latest package: name={{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 needed packages - name: install needed packages
package: pkg={{ item }} state=present update_cache=yes package: name={{ item }} state=present update_cache=yes
with_items: with_items:
- bzip2 - bzip2
- libsemanage-python - libsemanage-python

View file

@ -19,7 +19,7 @@
## Install packages ## Install packages
- name: Install needed packages - name: Install needed packages
package: pkg={{ item }} state=present package: name={{ 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
package: pkg={{ item }} state=present package: name={{ item }} state=present
with_items: with_items:
- fedora-elections - fedora-elections
- python-psycopg2 - python-psycopg2

View file

@ -9,7 +9,7 @@
- yumrepos - yumrepos
- name: install needed packages - name: install needed packages
package: pkg={{ item }} state=present package: name={{ item }} state=present
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
package: pkg={{ item }} state=present package: name={{ item }} state=present
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
package: pkg={{ item }} state=present package: name={{ item }} state=present
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
package: pkg={{ item }} state=present package: name={{ item }} state=present
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
package: pkg={{ item }} state=present package: name={{ 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
package: pkg=fedmsg state=present package: name=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)
package: pkg=python34-fedmsg-core state=present package: name=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

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
package: pkg="{{ item }}" state=present package: name="{{ 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
package: pkg={{ item }} state=present package: name={{ item }} state=present
with_items: with_items:
- fedmsg-gateway - fedmsg-gateway
- stunnel - stunnel

View file

@ -1,5 +1,5 @@
- name: install fedmsg-gateway - name: install fedmsg-gateway
package: pkg=fedmsg-gateway state=present package: name=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
package: pkg={{ item }} state=present package: name={{ item }} state=present
with_items: with_items:
- fedmsg-hub - fedmsg-hub
tags: tags:

View file

@ -1,6 +1,6 @@
- name: install package for fedmsg-irc - name: install package for fedmsg-irc
package: pkg={{ item }} state=present package: name={{ item }} state=present
tags: tags:
- packages - packages
- fedmsg/irc - fedmsg/irc

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)
package: pkg=fedmsg-relay state=present package: name=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
package: pkg={{ item }} state=present package: name={{ 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
package: pkg={{ item }} state=present package: name={{ 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
package: pkg={{ item }} state=present package: name={{ 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
package: pkg={{ item }} state=present package: name={{ 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
package: pkg={{ item }} state=present package: name={{ item }} state=present
with_items: with_items:
- php - php
notify: notify:

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
package: pkg=git state=present package: name=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
package: pkg={{item}} state=present package: name={{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
package: pkg={{item}} state=present enablerepo=epel-testing package: name={{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
package: pkg=git-daemon state=present package: name=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
package: pkg=xinetd state=present package: name=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
package: pkg={{ item }} state=present package: name={{ 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
package: pkg={{item}} state=present package: name={{item}} state=present
with_items: with_items:
- gitolite3 - gitolite3
- perl-Sys-Syslog - perl-Sys-Syslog

View file

@ -2,7 +2,7 @@
# Tasks to set up haproxy # Tasks to set up haproxy
- name: install needed packages - name: install needed packages
package: pkg={{ item }} state=present package: name={{ item }} state=present
with_items: with_items:
- haproxy - haproxy
tags: tags:

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
package: pkg={{ item }} state=present enablerepo=epel-testing package: name={{ 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
package: pkg={{ item }} state=present package: name={{ 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
package: pkg={{ item }} state=present package: name={{ 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
package: pkg={{ item }} state=present package: name={{ 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
package: pkg={{ item }} state=present update_cache=yes package: name={{ item }} state=present update_cache=yes
with_items: with_items:
- ipsilon - ipsilon
- ipsilon-authfas - ipsilon-authfas

View file

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

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
package: pkg=policycoreutils-python state=present package: name=policycoreutils-python state=present
tags: tags:
- mailman - mailman
- selinux - selinux
@ -94,7 +94,7 @@
tags: mailman tags: mailman
- name: install needed packages - name: install needed packages
package: pkg={{ item }} state=present package: name={{ 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
package: pkg=mailman3-fedmsg-plugin package: name=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"
package: pkg={{ item }} state=present package: name={{ item }} state=present
with_items: with_items:
- mailman3 - mailman3
- mailman3-selinux - mailman3-selinux

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
package: pkg={{ item }} state=present package: name={{ 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
package: pkg={{ item }} state=present package: name={{ item }} state=present
with_items: with_items:
- "{{ wikiver }}" - "{{ wikiver }}"
- "{{ wikiver }}-Lockdown" - "{{ wikiver }}-Lockdown"
@ -42,7 +42,7 @@
- mediawiki - mediawiki
- name: install needed packages (el7 only) - name: install needed packages (el7 only)
package: pkg={{ item }} state=present package: name={{ item }} state=present
with_items: with_items:
- "{{ wikiver }}-Cite" - "{{ wikiver }}-Cite"
- "{{ wikiver }}-intersection" - "{{ wikiver }}-intersection"
@ -52,7 +52,7 @@
when: env != 'staging' when: env != 'staging'
- name: install needed packages (fedora only) - name: install needed packages (fedora only)
package: pkg={{ item }} state=present package: name={{ item }} state=present
with_items: with_items:
- "{{ wikiver }}-openid" - "{{ wikiver }}-openid"
- "{{ wikiver }}-skin-fedora" - "{{ wikiver }}-skin-fedora"

View file

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

View file

@ -2,7 +2,7 @@
# Configuration for the mirrormanager backend # Configuration for the mirrormanager backend
- name: install needed packages - name: install needed packages
package: pkg={{ item }} state=present update_cache=yes package: name={{ 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
package: pkg={{ item }} state=present update_cache=yes package: name={{ 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
package: pkg={{ item }} state=present update_cache=yes package: name={{ 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
package: pkg={{ item }} state=present enablerepo=epel-testing package: name={{ 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
package: pkg=mod_limitipconn state=present package: name=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,6 +1,6 @@
--- ---
- name: install needed packages - name: install needed packages
package: pkg={{ item }} state=present package: name={{ item }} state=present
with_items: with_items:
- python-psycopg2 - python-psycopg2
- httpd - httpd

View file

@ -1,5 +1,5 @@
- name: install needed packages - name: install needed packages
package: pkg={{ item }} state=present package: name={{ 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
package: pkg={{ item }} state=present package: name={{ item }} state=present
with_items: with_items:
- mote - mote
tags: tags:

View file

@ -2,7 +2,7 @@
# Install needed packages # Install needed packages
# #
- name: Install needed nfs server packages - name: Install needed nfs server packages
package: pkg={{ item }} state=present package: name={{ item }} state=present
with_items: with_items:
- nfs-utils - nfs-utils
- rpcbind - rpcbind

View file

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

View file

@ -2,7 +2,7 @@
# Configuration for the Fedora Notifications webapp # Configuration for the Fedora Notifications webapp
- name: install needed packages - name: install needed packages
package: pkg={{ item }} state=present package: name={{ item }} state=present
with_items: with_items:
- python-fmn - python-fmn
- python-psycopg2 - python-psycopg2
@ -16,7 +16,7 @@
- notifs/frontend - notifs/frontend
- name: Install epel-testing fmn on stage - name: Install epel-testing fmn on stage
package: pkg={{ item }} state=present enablerepo=epel-testing package: name={{ item }} state=present enablerepo=epel-testing
with_items: with_items:
- python-fmn - python-fmn
when: env == "staging" when: env == "staging"
@ -27,7 +27,7 @@
- notifs/frontend - notifs/frontend
- name: install packages needed from epel testing - name: install packages needed from epel testing
package: pkg={{ item }} state=present enablerepo=epel-testing package: name={{ item }} state=present enablerepo=epel-testing
with_items: with_items:
- python-flask-openid - python-flask-openid
notify: notify:

View file

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

View file

@ -2,7 +2,7 @@
# OpenVpn basic configuration # OpenVpn basic configuration
- name: Install needed package - name: Install needed package
package: pkg={{ item }} state=present package: name={{ item }} state=present
with_items: with_items:
- openvpn - openvpn
tags: tags:

View file

@ -2,7 +2,7 @@
# OpenVpn server # OpenVpn server
- name: Install needed packages - name: Install needed packages
package: pkg={{ item }} state=present package: name={{ item }} state=present
with_items: with_items:
- openvpn - openvpn
tags: tags:

View file

@ -2,7 +2,7 @@
# OpenVpn server # OpenVpn server
- name: Install needed packages - name: Install needed packages
package: pkg={{ item }} state=present package: name={{ item }} state=present
with_items: with_items:
- openvpn - openvpn
tags: tags:

View file

@ -2,7 +2,7 @@
# Configuration for the fedora-packages webapp # Configuration for the fedora-packages webapp
- name: install needed packages - name: install needed packages
package: pkg={{ item }} state=present package: name={{ item }} state=present
with_items: with_items:
- fedora-packages - fedora-packages
- 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
package: pkg={{ item }} state=present package: name={{ item }} state=present
with_items: with_items:
- fedmsg - fedmsg
- libsemanage-python - libsemanage-python

View file

@ -2,7 +2,7 @@
# Configuration for the pagure webapp # Configuration for the pagure webapp
- name: install needed packages - name: install needed packages
package: pkg={{ item }} state=present package: name={{ item }} state=present
with_items: with_items:
- pagure - pagure
- pagure-ci - pagure-ci
@ -39,7 +39,7 @@
# Set-up gitolite # Set-up gitolite
- name: install needed packages - name: install needed packages
package: pkg=gitolite3 state=present package: name=gitolite3 state=present
tags: tags:
- pagure - pagure
- gitolite - gitolite

View file

@ -2,7 +2,7 @@
# Configuration for the pagure webapp # Configuration for the pagure webapp
- name: install needed packages - name: install needed packages
package: pkg={{ item }} state=present package: name={{ item }} state=present
with_items: with_items:
- pagure - pagure
- pagure-ci - pagure-ci
@ -41,7 +41,7 @@
# Set-up gitolite # Set-up gitolite
- name: install needed packages - name: install needed packages
package: pkg=gitolite3 state=present package: name=gitolite3 state=present
tags: tags:
- pagure - pagure
- gitolite - gitolite

View file

@ -3,7 +3,7 @@
# Setup paste # Setup paste
# #
- name: install needed packages - name: install needed packages
package: pkg={{ item }} state=present package: name={{ item }} state=present
with_items: with_items:
- sticky-notes - sticky-notes
- php-cli - php-cli

View file

@ -6,7 +6,7 @@
tags: pdc tags: pdc
- name: install needed packages - name: install needed packages
package: pkg={{ item }} state=present package: name={{ item }} state=present
with_items: with_items:
- pdc-updater - pdc-updater
tags: pdc tags: pdc

View file

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

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