Commit Graph

52 Commits

Author SHA1 Message Date
Ralph Bean 1e49aa493d Remove all accelerate-mode knobs and toggles now that pipelining is a go. 2014-11-12 19:15:06 +00:00
Praveen Kumar 4b1e5162d7 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
Aurélien Bompard 444c0c8f62 Try to solve the conflict between role vars and global vars 2014-09-18 08:46:08 +00:00
Pierre-Yves Chibon 6787706dc5 Replace the openvpn task by the openvpn role 2014-08-01 18:23:40 +02:00
Aurélien Bompard 786d325a79 Move mailman's postfix config to the base role 2014-07-21 16:03:49 +00:00
Kevin Fenzi fbeeb394bb Switch mailman to rhel7 openvpn task 2014-07-01 17:25:56 +00:00
Kevin Fenzi 9405324127 Conditionalize denyhosts for rhel7 2014-06-24 21:46:54 +00:00
Kevin Fenzi 800c03d37e Move hosts to a role and put it before fas_client so initial runs can find admin. 2014-06-23 00:49:31 +00:00
Kevin Fenzi ef4a44c44c Convert sudo to a role so we can include it before roles/plays that use sudo. 2014-06-14 20:58:52 +00:00
Aurélien Bompard 960d87f8ca Mailman: create a HK DB for unit testing 2014-05-30 08:13:00 +00:00
Kevin Fenzi 25dc54212b Set accelerate to false by default, override with -e acclerated=True for your playbook runs. 2014-05-19 15:22:24 +00:00
Ralph Bean 573454af79 Renamespace the collectd role to collectd/base 2014-03-21 13:46:06 +00:00
Ralph Bean edbc9b21cf Renamespace the fedmsg module. 2014-03-14 15:47:11 +00:00
Kevin Fenzi a62df97226 Only in prod tho 2014-02-25 17:20:19 +00:00
Kevin Fenzi dcf9a500dc Add openvpn to mailman instances 2014-02-25 17:19:48 +00:00
Kevin Fenzi cd5b9dd331 Move collectd to a role instead of a task. 2014-02-18 00:46:12 +00:00
Aurélien Bompard b64262922c Install psycopg2 on the DB servers 2014-02-03 11:31:37 +00:00
Aurélien Bompard 159115f3d3 Mailman: the DB server is different in stg and prod 2014-02-03 11:11:21 +00:00
Kevin Fenzi 58b8b85ef0 Move fedmsg_base role to the last one to allow ownership of keys files to work right hopefully. 2014-01-23 18:15:18 +00:00
Kevin Fenzi 206ed3f776 Now that we have roles_path, drop the long path on all the roles. 2014-01-23 17:12:40 +00:00
Kevin Fenzi e5aad94914 Add mailman01/02 to production. 2014-01-20 19:01:12 +00:00
Aurélien Bompard 2e2100319f Mailman: parametrize the role 2014-01-20 17:56:53 +00:00
Aurélien Bompard 13b6d6f85a Uniformize indentation (whitespaces only) 2014-01-17 11:10:54 +00:00
Aurélien Bompard eefdd1b23c Minor syntax fixes 2014-01-17 11:01:27 +00:00
Kevin Fenzi b9ff6d133d Revert "Move accelerate: true to global vars."
This reverts commit 0953ea5efa.

Looks like this doesn't work as a var, and accel might just get dropped in favor of new ssh soon.
2014-01-08 20:35:05 +00:00
Kevin Fenzi 0953ea5efa Move accelerate: true to global vars. 2014-01-08 19:28:00 +00:00
Kevin Fenzi b929678ff1 Hard code vars_path for now. 2014-01-06 18:22:18 +00:00
Kevin Fenzi 67bc3b4920 vars is reserved, use vars_path for variable path 2014-01-06 17:49:22 +00:00
Kevin Fenzi f7d56ff2b1 Fix old variable usage. Patch from janeznemanic. Thanks! 2014-01-01 19:15:11 +00:00
Ralph Bean 1632b1e855 Move the fedmsg role after the mailman one. 2013-11-07 16:40:54 +00:00
Kevin Fenzi f43489746f Bump size up to 250G and set accel mode for mailman01.stg 2013-11-07 16:25:01 +00:00
Ralph Bean 13eacb75ab Add that fedmsg role back in. 2013-11-07 15:49:25 +00:00
Ralph Bean 8e258ed3c5 Temporarily remove the fedmsg role. 2013-11-07 15:21:59 +00:00
Ralph Bean 6a9865150b Add the fedmsg role to the mailman playbook. 2013-11-07 14:41:40 +00:00
Aurélien Bompard ca61692776 OK I spotted my syntax error this time 2013-10-01 14:11:12 +00:00
Aurélien Bompard 7ffbb98c70 Fix syntax 2013-10-01 14:02:01 +00:00
Aurélien Bompard a7b83a7f28 Setup HyperKitty and Postorius in the same Django instance 2013-10-01 13:55:38 +00:00
Aurélien Bompard de589ffcf9 Fix started services list 2013-09-06 11:23:32 +00:00
Aurélien Bompard 2343b7c0d2 Mailman: skip granting perms on the DB app users
At least until there's a better solution available (eg the Ansible bug
is fixed). For PG<9, there's no way to grant on all tables at once.
2013-09-06 06:53:17 +00:00
Aurélien Bompard 47f420f433 Mailman: don't use postgresql_privs, it's buggy
See: https://github.com/ansible/ansible/issues/4043
2013-09-06 06:06:23 +00:00
Aurélien Bompard a3f009754b Syntax error 2013-09-05 17:37:18 +00:00
Aurélien Bompard 319dd9bebb mailman: missing parameter 2013-09-05 17:30:00 +00:00
Aurélien Bompard 561ae8423d Separate DB user privileges from creation
(race condition)
2013-09-05 17:25:08 +00:00
Aurélien Bompard c790d0b90d Use db02.stg as a DB server 2013-09-05 16:46:18 +00:00
Aurélien Bompard 16cc8ecc02 Don't use the roles variable, it does not work yet 2013-09-05 16:26:59 +00:00
Aurélien Bompard 440c84cc59 Initial version of the mailman setup 2013-09-05 15:43:24 +00:00
Kevin Fenzi aecec53380 Move base to a role.
Clean up syntax in all the base tasks.
Add CONVENTIONS file for info on where things go.
Tweak readme.
Switch add playbooks to base role instead of task.
2013-08-25 18:44:54 +00:00
Kevin Fenzi 4dbcf3f226 Add yum-cron role, add to mailman-stg group. 2013-08-21 17:09:40 +00:00
Kevin Fenzi 8215951252 Just hard code these for now until we can figure out why $roles doesn't work. 2013-08-19 21:04:17 +00:00
Kevin Fenzi 8e2ec48cc0 Migrate a bunch of things to roles. Thanks to misc! 2013-08-19 20:12:26 +00:00