ansible/roles
Pierre-Yves Chibon b7ae30017a Handle the fact that the static files are in two locations
The static files are split over two places:
- /usr/share/pdc/static/ which contains the files specific to pdc
- /usr/share/patternfly1/resources/ which contains the files from patternfly1

This means that we much teach apache to go to both places to look for the static
files. This is quite annoying and thankfully something that Patrick Uiterwijk
and I already looked into for flask-multistatic.
So the solution was already known and documented:
https://pagure.io/flask-multistatic/blob/master/f/example.conf
2015-09-30 10:15:26 +02:00
..
anitya Future proof ourselves against modern versions of python-psutil. 2015-09-28 18:04:59 +00:00
ansible-server Fix up ansible config so things are idempotent 2015-09-21 21:51:59 +00:00
apache Change all instances of ansible_distribution_major_version to filter to int for comparisons. 2015-05-27 22:27:39 +00:00
apps-fp-o Update apps-fp-o jenkins URL 2015-08-26 16:39:39 +00:00
ask Revert "Switch askbot and packages to use memcached01 for now" 2015-05-27 18:59:02 +00:00
atomic-composer atomic: Pull the latest package from the main infra repo 2014-12-15 22:02:12 +00:00
autocloud Updates the first command in fedora.txt 2015-09-30 05:13:28 +00:00
autosigner Tag the autosigner role. 2015-01-30 16:05:14 +00:00
badges Add the robotics badge. 2015-07-30 19:24:06 +00:00
base Add f22 and f23 sshd configs 2015-09-27 16:04:35 +00:00
batcave and we have some new keys in my keys 2015-09-29 22:06:19 +00:00
beaker Change all instances of ansible_distribution_major_version to filter to int for comparisons. 2015-05-27 22:27:39 +00:00
bkernel Some bkernel role fixes 2014-05-30 16:29:04 +00:00
blockerbugs fixing syntax error 2015-09-03 00:15:13 +00:00
bodhi Move all puppet_private stuff to ansible private so we can stop using puppet private. 2015-09-25 18:16:23 +00:00
bodhi2 Move all puppet_private stuff to ansible private so we can stop using puppet private. 2015-09-25 18:16:23 +00:00
bugzilla2fedmsg Point stg bugzilla2fedmsg back at partner-bugzilla. 2014-11-18 18:28:29 +00:00
builder_repo Add autosigner role 2014-05-30 17:16:06 +00:00
cgit Fix up cgit on batcave 2015-09-25 15:01:11 +00:00
clamav Brute force this 2015-01-10 02:31:24 +00:00
cloud_compute Remove this RPM install since we now use RHOP 2015-08-18 18:41:41 +00:00
cloudstats Apply cloud stats work from ticket 3893. Thanks doteast and many others that worked on this! 2015-03-29 19:49:56 +00:00
collectd get ready to remove serverbeach 2015-09-02 00:07:32 +00:00
copr ALways run this commend so check and diff runs don't fail. 2015-09-27 17:37:43 +00:00
darkserver Drop this plugin config, we don't use the plugin anymore. 2015-08-31 19:19:26 +00:00
datagrepper Okay, we need both dirs. 2015-08-26 14:01:07 +00:00
debug_env Revert "Wonder if this will work any better" 2015-01-16 21:04:40 +00:00
denyhosts Update state from installed/removed to present/absent for yum module as per latest documents -> http://docs.ansible.com/yum_module.html 2014-11-05 15:32:11 +00:00
dhcp_server and we have to change a name here 2015-09-29 17:49:31 +00:00
distgit Add httpd_read_user_content selinux boolean on distgit 2015-07-21 23:44:31 +00:00
dns and we need to add this here so dns knows aobut it. 2015-06-02 20:20:47 +00:00
dopr [dopr] new requirements 2015-06-15 15:32:47 +02:00
download Move all puppet_private stuff to ansible private so we can stop using puppet private. 2015-09-25 18:16:23 +00:00
easyfix Move planet.fedoraproject.org to fedoraplanet.org 2015-07-31 18:56:04 +02:00
elections Tag up the elections role. 2015-06-20 04:45:26 +00:00
epylog Weed out these stunnel logs too. 2015-09-03 21:21:54 +00:00
etcd import required subset of upstream openshift-ansible roles/playbooks for OpenShift/OSBS 2015-08-05 15:59:05 +00:00
etcd_ca import required subset of upstream openshift-ansible roles/playbooks for OpenShift/OSBS 2015-08-05 15:59:05 +00:00
etcd_certificates import required subset of upstream openshift-ansible roles/playbooks for OpenShift/OSBS 2015-08-05 15:59:05 +00:00
fas_client This should be gnomebackup not gnomebackups 2015-07-20 22:57:28 +00:00
fas_server Move all puppet_private stuff to ansible private so we can stop using puppet private. 2015-09-25 18:16:23 +00:00
fedimg Remove stg fedimg's fedmsg production loopback. 2015-09-17 13:27:12 +00:00
fedmsg Add global fedmsg config for autocloud-backend nodes. 2015-09-28 18:50:29 +00:00
fedoauth Add new jenknis to ipsilon/fedoauth trusted roots 2015-08-26 16:38:01 +00:00
fedocal Add the fedmenu configuration for fedocal 2015-04-29 12:35:32 +02:00
fedora-docs Make docs-sync quiet so we only get emails on errors not every day 2015-09-27 15:46:02 +00:00
fedora-web Put that only in staging, actually. 2015-09-23 19:11:18 +00:00
fedora_owner_change Update state from installed/removed to present/absent for yum module as per latest documents -> http://docs.ansible.com/yum_module.html 2014-11-05 15:32:11 +00:00
fluentd_master import fluentd_master role from openshift-ansible 2015-08-05 16:40:24 +00:00
fluentd_node import fluentd_node role from openshift-ansible 2015-08-05 16:41:39 +00:00
freemedia Update freemedia form to say Fedora 22. Fixes ticket 4767 2015-05-30 16:50:11 +00:00
gallery/tasks Update state from installed/removed to present/absent for yum module as per latest documents -> http://docs.ansible.com/yum_module.html 2014-11-05 15:32:11 +00:00
geoip Update state from installed/removed to present/absent for yum module as per latest documents -> http://docs.ansible.com/yum_module.html 2014-11-05 15:32:11 +00:00
geoip-city-wsgi Fix up apache 2.2 vs 2.4 stuff 2015-05-07 18:27:37 +00:00
git Fix wrong command name in nagonce 2015-06-17 15:51:19 +00:00
github2fedmsg Add github2fedmsg to the dynamic fedmsg endpoints stuff. 2015-06-16 20:57:31 +00:00
gitolite Brute force. 2015-01-10 02:16:57 +00:00
gluster Update state from installed/removed to present/absent for yum module as per latest documents -> http://docs.ansible.com/yum_module.html 2014-11-05 15:32:11 +00:00
graphite Use /etc/systemd/system/grafana-server.service here instead 2015-08-31 03:08:01 +00:00
haproxy Prod haproxy entry for autocloud. 2015-09-28 18:55:28 +00:00
hosts Adds hosts files for autocloud backends. 2015-09-29 14:44:26 +00:00
hotness Move all puppet_private stuff to ansible private so we can stop using puppet private. 2015-09-25 18:16:23 +00:00
httpd Robots have no use in fedoracommunity as its just an aggregator 2015-09-16 11:50:59 +00:00
ipsilon Also specify application name 2015-09-07 10:35:16 +00:00
iscsi_client And comment this special case for now, not needed. 2015-02-07 15:27:19 +00:00
jenkins re-add jenkins plugins from bigfiles............ 2015-09-04 19:04:19 +00:00
keepalived Lets not run the same cron job 3 times on koji02. 2015-01-24 15:39:13 +00:00
kerneltest Tag up the kerneltest role. 2015-06-16 20:49:39 +00:00
keyserver Move all puppet_private stuff to ansible private so we can stop using puppet private. 2015-09-25 18:16:23 +00:00
koji_builder Lets try this a different way. 2015-09-17 20:09:38 +00:00
koji_db/tasks Fix old variable usage. Patch from janeznemanic. Thanks! 2014-01-01 19:15:11 +00:00
koji_hub export composes from the koji hubs using a redirect 2015-09-29 16:41:53 +00:00
koji_reminder This was overzealous. 2015-09-17 19:54:44 +00:00
kojipkgs Move all puppet_private stuff to ansible private so we can stop using puppet private. 2015-09-25 18:16:23 +00:00
koschei Move all puppet_private stuff to ansible private so we can stop using puppet private. 2015-09-25 18:16:23 +00:00
mailman Also test Postorius on deploy 2015-09-21 10:57:34 +00:00
mariadb_server This is a module argument 2015-06-23 17:03:38 +00:00
mediawiki and we remove proxy09 2015-09-01 22:13:09 +00:00
membership-map Add them in the right place. 2015-07-28 19:12:41 +00:00
memcached Change all instances of ansible_distribution_major_version to filter to int for comparisons. 2015-05-27 22:27:39 +00:00
mirrormanager Move all puppet_private stuff to ansible private so we can stop using puppet private. 2015-09-25 18:16:23 +00:00
mod_limitipconn Update state from installed/removed to present/absent for yum module as per latest documents -> http://docs.ansible.com/yum_module.html 2014-11-05 15:32:11 +00:00
mote Fix mote/meetbot to be idempotent here instead of changing everything twice.. 2015-06-23 16:40:24 +00:00
nagios_client Adjust nagios checks for the bodhi-backend split out. 2015-09-02 17:24:26 +00:00
nagios_server thank you peer1/serverbeach for your help to Fedora. good luck with your future 2015-09-29 18:45:43 +00:00
nfs Add export for bodhi02.stg on koji01.stg 2015-07-22 16:58:48 +00:00
notifs Update bootstrap symlink. 2015-07-08 19:52:18 +00:00
nuancier Tag up the nuancier role. 2015-06-16 20:18:23 +00:00
openshift_common import openshift_common role from openshift-ansible 2015-08-05 16:39:05 +00:00
openshift_examples import required subset of upstream openshift-ansible roles/playbooks for OpenShift/OSBS 2015-08-05 15:59:05 +00:00
openshift_facts import required subset of upstream openshift-ansible roles/playbooks for OpenShift/OSBS 2015-08-05 15:59:05 +00:00
openshift_manage_node/tasks import required subset of upstream openshift-ansible roles/playbooks for OpenShift/OSBS 2015-08-05 15:59:05 +00:00
openshift_master import required subset of upstream openshift-ansible roles/playbooks for OpenShift/OSBS 2015-08-05 15:59:05 +00:00
openshift_master_ca import openshift_master_ca role from openshift-ansible 2015-08-05 16:37:49 +00:00
openshift_master_certificates import required subset of upstream openshift-ansible roles/playbooks for OpenShift/OSBS 2015-08-05 15:59:05 +00:00
openshift_master_cluster import required subset of upstream openshift-ansible roles/playbooks for OpenShift/OSBS 2015-08-05 15:59:05 +00:00
openshift_node import required subset of upstream openshift-ansible roles/playbooks for OpenShift/OSBS 2015-08-05 15:59:05 +00:00
openshift_node_certificates import required subset of upstream openshift-ansible roles/playbooks for OpenShift/OSBS 2015-08-05 15:59:05 +00:00
openshift_repos import openshift_repos role from openshift-ansible 2015-08-05 16:29:24 +00:00
openvpn add a batcave ccd 2015-09-28 20:38:41 +00:00
os_env_extras import required subset of upstream openshift-ansible roles/playbooks for OpenShift/OSBS 2015-08-05 15:59:05 +00:00
os_env_extras_node/tasks import required subset of upstream openshift-ansible roles/playbooks for OpenShift/OSBS 2015-08-05 15:59:05 +00:00
os_firewall import os_firewall role from openshift-ansible 2015-08-05 16:35:47 +00:00
packager_alias Set this request to verify. There's no reason not to, and it gets rid of the insecure urllib3 spew. 2015-09-04 15:31:01 +00:00
packages Drop this logrotate file, as the app has one that it comes with. 2015-09-03 15:49:58 +00:00
pager_server Need 755 here. 2014-07-28 21:32:35 +00:00
pagure Future proof ourselves against modern versions of python-psutil. 2015-09-28 18:04:59 +00:00
pam_shield Update state from installed/removed to present/absent for yum module as per latest documents -> http://docs.ansible.com/yum_module.html 2014-11-05 15:32:11 +00:00
paste db03.stg now 2015-06-23 20:29:03 +00:00
pdc Handle the fact that the static files are in two locations 2015-09-30 10:15:26 +02:00
people Load fedora.css using HTTPS on people page 2015-09-11 21:16:40 +00:00
phabricator fixing some small link and format issues with phabricator interface 2015-07-30 15:02:32 +00:00
pkgdb2 ok, I confused myself and had this right the first time. 2015-09-16 19:21:12 +00:00
planet Fix planet RedirectMatch to new URL 2015-07-31 20:49:25 +02:00
pods import required subset of upstream openshift-ansible roles/playbooks for OpenShift/OSBS 2015-08-05 15:59:05 +00:00
postfix_logreport/tasks Update state from installed/removed to present/absent for yum module as per latest documents -> http://docs.ansible.com/yum_module.html 2014-11-05 15:32:11 +00:00
postgresql_server Fix script to be executable 2015-04-27 18:25:55 +00:00
publican_webhost 2 != 3 2014-12-21 01:21:33 -07:00
redis/tasks Add an unconfigured redis role to start with. 2015-09-28 17:16:29 +00:00
releng make sure the uplaod ca cert file exists 2015-09-28 21:12:58 +00:00
releng-dash This is a template. I must need another cup of coffee.. 2014-12-19 15:01:19 +00:00
repo2json Fix retrieving the RHEL channel for the package 2015-02-02 10:03:49 +01:00
review-stats Update to latest review-stats upstream code. 2015-08-21 17:55:40 +00:00
rkhunter Adjust rkhunter for changes on kojipkgs and fed-cloud09 2015-06-07 17:31:02 +00:00
rsyncd Add 209.132.181.102 to allowed rsync hosts for mm-crawlers 2015-09-04 20:13:16 +00:00
s3-mirror Fix the s3sync report_mirror file names 2015-09-11 20:00:15 +00:00
sudo/tasks Ensure that our sysadmin-main sudoers file comes first. 2015-09-25 18:46:53 +00:00
summershum Update state from installed/removed to present/absent for yum module as per latest documents -> http://docs.ansible.com/yum_module.html 2014-11-05 15:32:11 +00:00
supybot Fix mote/meetbot to be idempotent here instead of changing everything twice.. 2015-06-23 16:40:24 +00:00
tagger Fix that url. 2015-06-30 15:51:52 +00:00
taiga Add backups for taiga.cloud.fp.o. 2015-06-29 13:26:41 +00:00
taskotron taskotron-dev: fix using https in links 2015-09-04 15:55:30 +00:00
testdays forcing testdays to use localhost for database URI until resultsdb roles are upgraded 2015-09-16 17:54:44 +00:00
tftp_server ooof. we dont have fedora19 or fedora20 anymore. 2015-09-29 20:59:03 +00:00
torrent Use more https URLs where possible 2015-06-04 17:20:06 +02:00
totpcgi Move all puppet_private stuff to ansible private so we can stop using puppet private. 2015-09-25 18:16:23 +00:00
unbound Update state from installed/removed to present/absent for yum module as per latest documents -> http://docs.ansible.com/yum_module.html 2014-11-05 15:32:11 +00:00
varnish Use the other one instead 2015-06-17 07:21:16 +00:00
yubikey Add symlink from /etc/ykksm/ykksm-config.php to /usr/share/ykksm/ykksm-config.php 2014-12-07 17:00:11 +01:00
yum-cron Add yum-cron role, add to mailman-stg group. 2013-08-21 17:09:40 +00:00
zanata zanata role 2015-07-17 21:16:46 +00:00
README import fluentd_node role from openshift-ansible 2015-08-05 16:41:39 +00:00

Space for our ansible roles - ansible 1.2 and above only


Notes About OpenShift Ansible Roles
-----------------------------------
The following roles that are "imported" at face value from the upstream
OpenShift Ansible project[0] for use by OSBS[1][2][3]

This is currently required by the playbooks/groups/osbs.yml playbook

To re-import/update the OpenShift Ansible roles:

    # This can be anywhere, just not in this git tree
    $ cd /tmp/

    $ git clone https://github.com/openshift/openshift-ansible.git
    $ cd openshift-ansible/roles/

    $ oo_roles=(
        etcd
        etcd_ca
        etcd_certificates
        fluentd_master
        fluentd_node
        openshift_common
        openshift_examples
        openshift_facts
        openshift_manage_node
        openshift_master
        openshift_master_ca
        openshift_master_certificates
        openshift_master_cluster
        openshift_node
        openshift_node_certificates
        openshift_repos
        os_env_extras
        os_env_extras_node
        os_firewall
        pods
    )

    # This assumes your local branch of this git repo exists in
    # ~/src/fedora-ansible/ but replace that with the actual path
    $ for role in ${oo_roles[@]}
    do
        cp -r $role ~/src/fedora-ansible/roles/
    done

    # Inspect the changes 
    $ cd ~/src/fedora-ansible
    $ git diff

    # If you're happy with things, then
    $ git commit -m "re-import/update openshift roles from upstream"
    $ git push

[0] - https://github.com/openshift/openshift-ansible
[1] - https://github.com/projectatomic/osbs-client
[2] - https://github.com/release-engineering/koji-containerbuild
[3] - https://github.com/projectatomic/atomic-reactor