Update state from installed/removed to present/absent for yum module as per latest documents -> http://docs.ansible.com/yum_module.html

This commit is contained in:
Praveen Kumar 2014-10-29 09:08:40 +05:30 committed by Kevin Fenzi
parent fa85764d3b
commit 4b1e5162d7
93 changed files with 120 additions and 120 deletions

View file

@ -31,7 +31,7 @@
tasks: tasks:
- name: install cloud-utils - name: install cloud-utils
yum: pkg=cloud-utils state=installed yum: pkg=cloud-utils state=present
- name: growpart /dev/vda1 partition (/) to full size - name: growpart /dev/vda1 partition (/) to full size
action: command growpart /dev/vda 1 action: command growpart /dev/vda 1

View file

@ -72,7 +72,7 @@
tasks: tasks:
- name: install fedmsg-relay - name: install fedmsg-relay
yum: pkg=fedmsg-relay state=installed yum: pkg=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

@ -40,7 +40,7 @@
action: mount name=/var/lib/jenkins src='LABEL=jenkins' fstype=ext4 state=mounted action: mount name=/var/lib/jenkins src='LABEL=jenkins' fstype=ext4 state=mounted
- name: install pkgs for jenkins - name: install pkgs for jenkins
action: yum state=installed pkg={{ item }} action: yum state=present pkg={{ item }}
with_items: with_items:
- vim - vim
- dejavu-s\* - dejavu-s\*
@ -80,7 +80,7 @@
- config - config
- name: install pkgs for jenkins - name: install pkgs for jenkins
action: yum state=installed pkg={{ item }} action: yum state=present pkg={{ item }}
with_items: with_items:
- jenkins - jenkins
tags: tags:
@ -307,7 +307,7 @@
- packages - packages
- name: install pkgs for jenkins - name: install pkgs for jenkins
action: yum state=installed pkg={{ item }} action: yum state=present pkg={{ item }}
with_items: with_items:
- vim - vim
- java-1.8.0-openjdk - java-1.8.0-openjdk
@ -351,7 +351,7 @@
- packages - packages
- name: install packages not (yet) available on el7 builder - name: install packages not (yet) available on el7 builder
action: yum state=installed pkg={{ item }} action: yum state=present pkg={{ item }}
with_items: with_items:
- python-straight-plugin - python-straight-plugin
- pyflakes # Requested by user rholy (ticket #4175) - pyflakes # Requested by user rholy (ticket #4175)
@ -361,13 +361,13 @@
- packages - packages
- name: install pkgs for jenkins for fedora systems > F19 - name: install pkgs for jenkins for fedora systems > F19
action: yum state=installed pkg={{ item }} action: yum state=present pkg={{ item }}
when: is_fedora is defined and ansible_distribution_major_version > 20 when: is_fedora is defined and ansible_distribution_major_version > 20
with_items: with_items:
- sbt-extras - sbt-extras
- name: install pkgs for jenkins for fedora systems - name: install pkgs for jenkins for fedora systems
action: yum state=installed pkg={{ item }} action: yum state=present pkg={{ item }}
when: is_fedora is defined when: is_fedora is defined
with_items: with_items:
- python3 - python3

View file

@ -55,7 +55,7 @@
tasks: tasks:
- name: install needed packages - name: install needed packages
yum: pkg={{ item }} state=installed yum: pkg={{ item }} state=present
with_items: with_items:
- httpd - httpd

View file

@ -67,7 +67,7 @@
tasks: tasks:
- name: install psycopg2 for the postgresql ansible modules - name: install psycopg2 for the postgresql ansible modules
yum: pkg=python-psycopg2 state=installed yum: pkg=python-psycopg2 state=present
tags: tags:
- packages - packages
@ -126,7 +126,7 @@
tasks: tasks:
- name: install more needed packages - name: install more needed packages
yum: pkg={{ item }} state=installed yum: pkg={{ item }} state=present
with_items: with_items:
- tar - tar
- mailman # transition from mailman2.1 - mailman # transition from mailman2.1

View file

@ -38,7 +38,7 @@
- system-config-firewall-base - system-config-firewall-base
- name: install dependencies of fedocal - name: install dependencies of fedocal
action: yum state=installed pkg={{ item }} action: yum state=present pkg={{ item }}
with_items: with_items:
- mod_wsgi - mod_wsgi
- mod_ssl - mod_ssl

View file

@ -133,7 +133,7 @@
tasks: tasks:
- name: install more needed packages - name: install more needed packages
yum: pkg={{ item }} state=installed yum: pkg={{ item }} state=present
with_items: with_items:
- tar - tar
- mailman # transition from mailman2.1 - mailman # transition from mailman2.1

View file

@ -8,7 +8,7 @@
- anitya_backend - anitya_backend
- name: install needed packages - name: install needed packages
yum: pkg={{ item }} state=installed yum: pkg={{ item }} state=present
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=installed yum: pkg={{ item }} state=present
with_items: with_items:
- fedmsg - fedmsg
- libsemanage-python - libsemanage-python

View file

@ -8,7 +8,7 @@
- anitya_frontend - anitya_frontend
- name: install needed packages - name: install needed packages
yum: pkg={{ item }} state=installed yum: pkg={{ item }} state=present
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=installed yum: pkg={{ item }} state=present
with_items: with_items:
- ansible - ansible
- git - git

View file

@ -3,12 +3,12 @@
# Setup askbot for ask.fedoraproject.org site. # Setup askbot for ask.fedoraproject.org site.
# #
- name: install needed packages from epel-testing - name: install needed packages from epel-testing
yum: pkg={{ item }} state=installed enablerepo=epel-testing yum: pkg={{ item }} state=present enablerepo=epel-testing
with_items: with_items:
- askbot - askbot
- name: install needed packages - name: install needed packages
yum: pkg={{ item }} state=installed yum: pkg={{ item }} state=present
with_items: with_items:
- python-memcached - python-memcached
- python-askbot-fedmsg - python-askbot-fedmsg

View file

@ -6,7 +6,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=installed pkg={{ item }} yum: state=present pkg={{ item }}
with_items: with_items:
- fedmsg - fedmsg
- fedmsg-hub - fedmsg-hub

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=installed yum: 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=installed yum: pkg={{ item }} state=present
with_items: with_items:
- python-tahrir - python-tahrir
- python-psycopg2 - python-psycopg2

View file

@ -20,7 +20,7 @@
- base - base
- name: global default packages to install - name: global default packages to install
yum: state=installed name={{ item }} yum: state=present name={{ item }}
with_items: with_items:
- "{{ global_pkgs_inst }}" - "{{ global_pkgs_inst }}"
tags: tags:
@ -71,7 +71,7 @@
- base - base
- name: dist pkgs to remove - name: dist pkgs to remove
yum: state=removed name={{ item }} yum: state=absent name={{ item }}
with_items: with_items:
- "{{ base_pkgs_erase }}" - "{{ base_pkgs_erase }}"
tags: tags:
@ -79,7 +79,7 @@
- base - base
- name: dist pkgs to install - name: dist pkgs to install
yum: state=installed name={{ item }} yum: state=present name={{ item }}
with_items: with_items:
- "{{ base_pkgs_inst }}" - "{{ base_pkgs_inst }}"
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
yum: pkg={{ item }} state=installed yum: pkg={{ item }} state=present
with_items: with_items:
- bodhi-server - bodhi-server
tags: tags:

View file

@ -3,7 +3,7 @@
# This is the base set of files needed for bodhi/masher # This is the base set of files needed for bodhi/masher
- name: install needed packages - name: install needed packages
yum: pkg={{ item }} state=installed yum: pkg={{ item }} state=present
with_items: with_items:
- python-fedora-turbogears - python-fedora-turbogears
tags: tags:
@ -103,7 +103,7 @@
# tasks for setting up epelmasher # tasks for setting up epelmasher
- name: install needed packages - name: install needed packages
yum: pkg={{ item }} state=installed yum: pkg={{ item }} state=present
with_items: with_items:
- repoview - repoview
when: epelmasher when: epelmasher

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=installed yum: 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 pkg # install pkg
- name: install collectd - name: install collectd
yum: name=collectd state=installed yum: name=collectd state=present
tags: tags:
- collectd - collectd
@ -41,7 +41,7 @@
# apache - localhost only - pretty much any apache server # apache - localhost only - pretty much any apache server
- name: install collectd-apache - name: install collectd-apache
yum: state=installed name=collectd-apache yum: state=present name=collectd-apache
tags: tags:
- collectd - collectd
notify: notify:

View file

@ -1,7 +1,7 @@
--- ---
- name: install python-retask - name: install python-retask
yum: name=python-retask state=installed yum: name=python-retask state=present
tags: tags:
- 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=installed yum: name={{ item }} state=present
with_items: with_items:
- collectd-rrdtool - collectd-rrdtool
- collectd-ping - collectd-ping

View file

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

View file

@ -1,7 +1,7 @@
--- ---
#install denyhosts #install denyhosts
- name: install denyhosts - name: install denyhosts
yum: name=denyhosts state=installed yum: name=denyhosts state=present
tags: tags:
- packages - packages

View file

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

View file

@ -1,6 +1,6 @@
--- ---
- name: Get nfs-utils - name: Get nfs-utils
yum: pkg=nfs-utils state=installed yum: pkg=nfs-utils state=present
- name: Create /srv/pub directory - name: Create /srv/pub directory
file: path=/srv/pub state=directory file: path=/srv/pub state=directory
@ -9,13 +9,13 @@
file: path=/srv/web state=directory file: path=/srv/web state=directory
- name: Get libsemanage-python - name: Get libsemanage-python
yum: pkg=libsemanage-python state=installed yum: pkg=libsemanage-python state=present
- name: Get policycoreutils-python - name: Get policycoreutils-python
yum: pkg=policycoreutils-python state=installed yum: pkg=policycoreutils-python state=present
- name: Get mod_ssl - name: Get mod_ssl
yum: pkg=mod_ssl state=installed yum: pkg=mod_ssl state=present
- name: Set httpd_use_nfs seboolean - name: Set httpd_use_nfs seboolean
action: seboolean name=httpd_use_nfs state=yes persistent=yes action: seboolean name=httpd_use_nfs state=yes persistent=yes

View file

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

View file

@ -7,7 +7,7 @@
- packages - packages
- name: install needed packages - name: install needed packages
yum: pkg={{ item }} state=installed yum: 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 package - name: install epylog package
yum: state=installed name=epylog yum: state=present name=epylog
tags: tags:
- packages - packages
- epylog - epylog

View file

@ -9,7 +9,7 @@
# nss_db is needed to store user/group info. # nss_db is needed to store user/group info.
# #
- name: install package needed for fas-client - name: install package needed for fas-client
yum: state=installed name={{ item }} yum: state=present name={{ item }}
with_items: with_items:
- fas-clients - fas-clients
- cronie - cronie
@ -18,7 +18,7 @@
- fas_client - fas_client
- name: install nss_db on rhel hosts only - name: install nss_db on rhel hosts only
yum: state=installed name=nss_db yum: state=present name=nss_db
when: is_rhel is defined and ansible_distribution_major_version == '6' when: is_rhel is defined and ansible_distribution_major_version == '6'
tags: tags:
- packages - packages

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=installed yum: pkg={{ item }} state=present
with_items: with_items:
- fedmsg - fedmsg
- libsemanage-python - libsemanage-python

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=installed yum: pkg="{{ item }}" state=present
with_items: with_items:
- python-datanommer-consumer - python-datanommer-consumer
- python-datanommer-models - python-datanommer-models

View file

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

View file

@ -1,12 +1,12 @@
- name: install fedmsg-irc - name: install fedmsg-irc
yum: pkg=fedmsg-irc state=installed yum: pkg=fedmsg-irc state=present
tags: tags:
- packages - packages
- fedmsg/irc - fedmsg/irc
- name: install python-fedmsg-meta-fedora-infrastructure - name: install python-fedmsg-meta-fedora-infrastructure
yum: pkg=python-fedmsg-meta-fedora-infrastructure state=installed yum: pkg=python-fedmsg-meta-fedora-infrastructure 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 - name: install fedmsg-relay
yum: pkg=fedmsg-relay state=installed yum: pkg=fedmsg-relay state=present
tags: tags:
- packages - packages
- fedmsg/relay - fedmsg/relay

View file

@ -7,7 +7,7 @@
- packages - packages
- name: install needed packages - name: install needed packages
yum: pkg={{ item }} state=installed yum: pkg={{ item }} state=present
with_items: with_items:
- fedoauth - fedoauth
- fedoauth-template-fedora - fedoauth-template-fedora

View file

@ -7,7 +7,7 @@
- packages - packages
- name: install needed packages - name: install needed packages
yum: pkg={{ item }} state=installed yum: pkg={{ item }} state=present
with_items: with_items:
- fedocal - fedocal
- python-psycopg2 - python-psycopg2

View file

@ -3,7 +3,7 @@
## Install packages ## Install packages
- name: Install needed packages - name: Install needed packages
yum: pkg={{ item }} state=installed yum: 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=installed yum: pkg={{ item }} state=present
with_items: with_items:
- php - php
notify: notify:

View file

@ -7,7 +7,7 @@
- packages - packages
- name: install needed packages - name: install needed packages
yum: pkg={{ item }} state=installed yum: pkg={{ item }} state=present
with_items: with_items:
- gallery3 - gallery3
- gallery3-openid - gallery3-openid

View file

@ -5,7 +5,7 @@
# #
# install python-paste-deploy # install python-paste-deploy
- name: install python-paste-deploy - name: install python-paste-deploy
yum: name=python-paste-deploy state=installed yum: name=python-paste-deploy state=present
tags: tags:
- packages - packages

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=installed yum: name=python-GeoIP state=present
tags: tags:
- packages - packages

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=installed yum: pkg={{ item }} state=present
with_items: with_items:
- github2fedmsg - github2fedmsg
- python-psycopg2 - python-psycopg2

View file

@ -1,7 +1,7 @@
--- ---
- name: install needed packages - name: install needed packages
yum: pkg={{ item }} state=installed yum: pkg={{ item }} state=present
with_items: with_items:
- glusterfs-fuse - glusterfs-fuse
tags: tags:

View file

@ -1,7 +1,7 @@
--- ---
- name: install needed packages - name: install needed packages
yum: pkg={{ item }} state=installed yum: pkg={{ item }} state=present
with_items: with_items:
- glusterfs-server - glusterfs-server
tags: tags:

View file

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

View file

@ -7,7 +7,7 @@
- packages - packages
- name: install needed packages - name: install needed packages
yum: pkg={{ item }} state=installed yum: pkg={{ item }} state=present
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=installed yum: name=sks state=present
tags: tags:
- packages - packages
- name: install mod_ssl - name: install mod_ssl
yum: name=mod_ssl state=installed yum: name=mod_ssl state=present
tags: tags:
- packages - packages

View file

@ -46,7 +46,7 @@
when: env == 'staging' when: env == 'staging'
- name: add pkgs - name: add pkgs
yum: state=installed pkg={{ item }} yum: state=present pkg={{ item }}
with_items: with_items:
- yum-utils - yum-utils
- koji-builder - koji-builder
@ -59,7 +59,7 @@
- audit - audit
- name: add oz/imagefctory pkgs on x86 and arm only. - name: add oz/imagefctory pkgs on x86 and arm only.
yum: state=installed pkg={{ item }} yum: state=present pkg={{ item }}
with_items: with_items:
- oz - oz
- imagefactory - imagefactory
@ -181,7 +181,7 @@
# #
- name: special pkgs for the x86_64 builders - name: special pkgs for the x86_64 builders
yum: state=installed pkg={{ item }} yum: state=present pkg={{ item }}
with_items: with_items:
- kmod-hfsplus - kmod-hfsplus
when: is_rhel is defined and ansible_architecture == 'x86_64' when: is_rhel is defined and ansible_architecture == 'x86_64'

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=installed yum: name={{ item }} state=present
with_items: with_items:
- koji-hub - koji-hub
- koji-hub-plugins - koji-hub-plugins

View file

@ -1,5 +1,5 @@
- name: Install required packages - name: Install required packages
yum: name={{ item }} state=installed yum: name={{ item }} state=present
with_items: with_items:
- python-arrow - python-arrow
- python-fedora - python-fedora

View file

@ -7,7 +7,7 @@
# SELinux # SELinux
# #
- name: install semanage - name: install semanage
yum: pkg=policycoreutils-python state=installed yum: pkg=policycoreutils-python state=present
- name: set the SELinux policy for the configuration directory - name: set the SELinux policy for the configuration directory
command: semanage fcontext -a -t etc_t "{{ mailman_webui_confdir }}(/.*)?" command: semanage fcontext -a -t etc_t "{{ mailman_webui_confdir }}(/.*)?"
@ -39,13 +39,13 @@
dest=/etc/yum.repos.d/hyperkitty.repo dest=/etc/yum.repos.d/hyperkitty.repo
- name: install GPG to validate the key - name: install GPG to validate the key
yum: state=installed name=gnupg yum: state=present name=gnupg
- name: add the GPG key - name: add the GPG key
rpm_key: state=present key=https://repos.fedorapeople.org/repos/abompard/abompard.asc rpm_key: state=present key=https://repos.fedorapeople.org/repos/abompard/abompard.asc
- name: install needed packages - name: install needed packages
yum: pkg={{ item }} state=installed yum: pkg={{ item }} state=present
with_items: with_items:
- mailman3 - mailman3
- mailman3-selinux - mailman3-selinux

View file

@ -15,7 +15,7 @@
action: seboolean name=httpd_can_sendmail state=yes persistent=yes action: seboolean name=httpd_can_sendmail state=yes persistent=yes
- name: install needed packages - name: install needed packages
yum: pkg={{ item }} state=installed yum: pkg={{ item }} state=present
with_items: with_items:
- mediawiki119 - mediawiki119
- mediawiki119-Cite - mediawiki119-Cite

View file

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

View file

@ -27,7 +27,7 @@
shell=/bin/bash shell=/bin/bash
- name: install mirrormanager package - name: install mirrormanager package
yum: pkg={{ item }} state=installed yum: pkg={{ item }} state=present
with_items: with_items:
- mirrormanager - mirrormanager
tags: tags:

View file

@ -1,6 +1,6 @@
--- ---
- name: Install package - name: Install package
yum: pkg=mod_limitipconn state=installed yum: 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

@ -3,7 +3,7 @@
--- ---
# install pkgs: # install pkgs:
- name: install nagios client pkgs - name: install nagios client pkgs
yum: name={{ item }} state=installed yum: name={{ item }} state=present
with_items: with_items:
- nrpe - nrpe
- nagios-plugins - nagios-plugins

View file

@ -16,7 +16,7 @@
- nagios_server - nagios_server
- name: Install nagios packages - name: Install nagios packages
yum: name={{ item }} state=installed yum: name={{ item }} state=present
with_items: with_items:
- php - php
- nagios-plugins-http - nagios-plugins-http

View file

@ -20,7 +20,7 @@
# Install needed packages # Install needed packages
# #
- name: Install needed nfs packages - name: Install needed nfs packages
yum: pkg={{ item }} state=installed yum: pkg={{ item }} state=present
with_items: with_items:
- nfs-utils - nfs-utils
- rpcbind - rpcbind

View file

@ -2,7 +2,7 @@
# Install needed packages # Install needed packages
# #
- name: Install needed nfs server packages - name: Install needed nfs server packages
yum: pkg={{ item }} state=installed yum: pkg={{ 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
yum: pkg={{ item }} state=installed yum: pkg={{ item }} state=present
with_items: with_items:
- python-fmn-consumer - python-fmn-consumer
- 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
yum: pkg={{ item }} state=installed yum: pkg={{ item }} state=present
with_items: with_items:
- python-fmn-web - python-fmn-web
- python-psycopg2 - python-psycopg2

View file

@ -7,7 +7,7 @@
- packages - packages
- name: install needed packages - name: install needed packages
yum: pkg={{ item }} state=installed yum: pkg={{ 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
yum: pkg={{ item }} state=installed yum: pkg={{ 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
yum: pkg={{ item }} state=installed yum: pkg={{ 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
yum: pkg={{ item }} state=installed yum: pkg={{ 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
yum: pkg={{ item }} state=installed yum: pkg={{ item }} state=present
with_items: with_items:
- fedora-packages - fedora-packages
- python-psycopg2 - python-psycopg2

View file

@ -1,7 +1,7 @@
--- ---
#install pam_shield #install pam_shield
- name: install pam_shield - name: install pam_shield
yum: name=pam_shield state=installed yum: name=pam_shield state=present
tags: tags:
- packages - packages

View file

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

View file

@ -7,7 +7,7 @@
- packages - packages
- name: install needed packages - name: install needed packages
yum: pkg={{ item }} state=installed yum: pkg={{ item }} state=present
with_items: with_items:
- pkgdb2 - pkgdb2
- python-psycopg2 - python-psycopg2

View file

@ -3,7 +3,7 @@
# This is the base set of files needed for postfix/logreport # This is the base set of files needed for postfix/logreport
- name: install postfix-perl-scripts package - name: install postfix-perl-scripts package
yum: pkg=postfix-perl-scripts state=installed yum: pkg=postfix-perl-scripts state=present
tags: tags:
- postfix - postfix
- packages - packages

View file

@ -3,7 +3,7 @@
# Setup postgresql server. # Setup postgresql server.
# #
- name: install postgresql server packages - name: install postgresql server packages
yum: name={{ item }} state=installed yum: name={{ item }} state=present
with_items: with_items:
- postgresql-server - postgresql-server
- postgresql-contrib - postgresql-contrib

View file

@ -3,11 +3,11 @@
template: src=koji-tag-package.repo dest="/etc/yum.repos.d/{{ kojitag }}.repo" owner=root group=root template: src=koji-tag-package.repo dest="/etc/yum.repos.d/{{ kojitag }}.repo" owner=root group=root
- name: install publican & brand - name: install publican & brand
yum: name="publican-{{ publican_brand }}-web" state=installed yum: name="publican-{{ publican_brand }}-web" state=present
- name: install fedwatch - name: install fedwatch
yum: name=fedwatch state=installed enablerepo=epel-testing yum: name=fedwatch state=present enablerepo=epel-testing
# needs updating! # needs updating!
- name: copy fedwatch.conf - name: copy fedwatch.conf

View file

@ -60,7 +60,7 @@
- /var/spool/rsyslog - /var/spool/rsyslog
- name: add pkgs - name: add pkgs
action: yum state=installed pkg={{ item }} action: yum state=present pkg={{ item }}
with_items: with_items:
- yum-utils - yum-utils
- koji - koji
@ -106,7 +106,7 @@
action: file src=/mnt/fedora_koji/compose dest=/srv/pungi state=link action: file src=/mnt/fedora_koji/compose dest=/srv/pungi state=link
- name: add pkgs for nightly compose - name: add pkgs for nightly compose
action: yum state=installed pkg={{ item }} action: yum state=present pkg={{ item }}
with_items: with_items:
- packagedb-cli - packagedb-cli
when: inventory_hostname.startswith('branched-composer') or inventory_hostname.startswith('rawhide-composer') or inventory_hostname.startswith('composer.stg') when: inventory_hostname.startswith('branched-composer') or inventory_hostname.startswith('rawhide-composer') or inventory_hostname.startswith('composer.stg')

View file

@ -4,7 +4,7 @@
# #
- name: install rnecessary packages - name: install rnecessary packages
yum: state=installed name={{item}} yum: state=present name={{item}}
with_items: with_items:
- rsync - rsync
- xinetd - xinetd

View file

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

View file

@ -1,5 +1,5 @@
- name: install supybot package - name: install supybot package
yum: pkg={{ item }} state=installed yum: pkg={{ item }} state=present
with_items: with_items:
- supybot-gribble - supybot-gribble
- supybot-fedora - supybot-fedora
@ -39,7 +39,7 @@
cron: name=meetings-by-team hour="23" minute="0" user=daemon job="/usr/local/bin/meetings_by_team.sh" cron: name=meetings-by-team hour="23" minute="0" user=daemon job="/usr/local/bin/meetings_by_team.sh"
- name: hotfix - packagedb-cli which is a new dep but is not there in the rpm - name: hotfix - packagedb-cli which is a new dep but is not there in the rpm
yum: pkg=packagedb-cli state=installed yum: pkg=packagedb-cli state=present
- name: hotfix - supybot plugin - name: hotfix - supybot plugin
copy: src=plugin.py dest=/usr/lib/python2.6/site-packages/supybot/plugins/Fedora/plugin.py mode=755 owner=root copy: src=plugin.py dest=/usr/lib/python2.6/site-packages/supybot/plugins/Fedora/plugin.py mode=755 owner=root

View file

@ -6,7 +6,7 @@
- name: install needed packages - name: install needed packages
yum: pkg={{ item }} state=installed yum: pkg={{ item }} state=present
with_items: with_items:
- fedora-tagger - fedora-tagger
- python-psycopg2 - python-psycopg2

View file

@ -1,12 +1,12 @@
--- ---
- name: install tftp server package - name: install tftp server package
yum: state=installed name=tftp-server yum: state=present name=tftp-server
tags: tags:
- packages - packages
- tftp_server - tftp_server
- name: install syslinux package - name: install syslinux package
yum: state=installed name=syslinux yum: state=present name=syslinux
tags: tags:
- packages - packages
- tftp_server - tftp_server

View file

@ -1,5 +1,5 @@
- name: install unbound package - name: install unbound package
yum: pkg={{ item }} state=installed yum: pkg={{ item }} state=present
with_items: with_items:
- unbound - unbound
- policycoreutils-python - policycoreutils-python

View file

@ -1,6 +1,6 @@
--- ---
- name: install pam_url - name: install pam_url
yum: name=pam_url state=installed yum: name=pam_url state=present
tags: tags:
- packages - packages

View file

@ -1,6 +1,6 @@
--- ---
- name: install needed packages for accelerated mode - name: install needed packages for accelerated mode
yum: pkg={{ item }} state=installed yum: pkg={{ item }} state=present
with_items: with_items:
- python-keyczar - python-keyczar
tags: tags:

View file

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

View file

@ -6,7 +6,7 @@
- packages - packages
- name: ntp pkgs - name: ntp pkgs
action: yum state=installed pkg={{ item }} action: yum state=present pkg={{ item }}
with_items: with_items:
- ntpdate - ntpdate
- ntp - ntp

View file

@ -1,7 +1,7 @@
--- ---
# install mod_wsgi # install mod_wsgi
- name: install mod_wsgi - name: install mod_wsgi
yum: name=mod_wsgi state=installed yum: name=mod_wsgi state=present
tags: tags:
- packages - packages

View file

@ -3,7 +3,7 @@
# Setup mysql server. # Setup mysql server.
# #
- name: install mysql server packages - name: install mysql server packages
yum: name={{ item }} state=installed yum: name={{ item }} state=present
with_items: with_items:
- mysql-server - mysql-server
tags: tags:

View file

@ -1,7 +1,7 @@
--- ---
# openvpn - ftw - or something # openvpn - ftw - or something
- name: install openvpn - name: install openvpn
yum: name=openvpn state=installed yum: name=openvpn state=present
tags: tags:
- packages - packages

View file

@ -1,7 +1,7 @@
--- ---
# openvpn - ftw - or something # openvpn - ftw - or something
- name: install openvpn - name: install openvpn
yum: name=openvpn state=installed yum: name=openvpn state=present
tags: tags:
- packages - packages

View file

@ -1,5 +1,5 @@
- name: install postfix - name: install postfix
action: yum pkg=postfix state=installed action: yum pkg=postfix state=present
tags: tags:
- postfix - postfix
- packages - packages

View file

@ -1,7 +1,7 @@
--- ---
# tasklist for setting up a rdiff backup server. # tasklist for setting up a rdiff backup server.
- name: install rdiff-backup - name: install rdiff-backup
yum: pkg={{ item }} state=installed yum: pkg={{ item }} state=present
with_items: with_items:
- rdiff-backup - rdiff-backup
- git - git

View file

@ -10,7 +10,7 @@
- packages - packages
- name: install sigul - name: install sigul
action: yum state=installed name={{ item }} action: yum state=present name={{ item }}
with_items: with_items:
- sigul - sigul
- ntp - ntp

View file

@ -5,7 +5,7 @@
selinux: policy=targeted state=enforcing selinux: policy=targeted state=enforcing
- name: install libvirt packages on rhel6 virthosts - name: install libvirt packages on rhel6 virthosts
yum: pkg={{ item }} state=installed yum: pkg={{ item }} state=present
with_items: with_items:
- qemu-kvm - qemu-kvm
- libvirt - libvirt
@ -15,7 +15,7 @@
when: ansible_distribution == 'RedHat' and ansible_distribution_major_version == '6' when: ansible_distribution == 'RedHat' and ansible_distribution_major_version == '6'
- name: install libvirt packages on rhel7 virthosts - name: install libvirt packages on rhel7 virthosts
yum: pkg={{ item }} state=installed yum: pkg={{ item }} state=present
with_items: with_items:
- qemu-kvm - qemu-kvm
- libvirt - libvirt