Commit graph

20973 commits

Author SHA1 Message Date
Ralph Bean
96610bfb4f Replace all references to "environment" with "env".
It turns out that "environment" is reserved in ansible.
    See: http://ur1.ca/eb6gp
2013-06-13 16:23:30 +00:00
Ralph Bean
568e6ad0d8 It is not that it is not defined. 2013-06-13 16:13:07 +00:00
Ralph Bean
b3d43562a0 Undo that and try it somewhere else. 2013-06-13 16:11:13 +00:00
Ralph Bean
2bf51d9646 Try setting the environment var in badges-backend-stg. 2013-06-13 16:08:10 +00:00
Ralph Bean
4f9c695879 Try again with slightly different syntax. 2013-06-13 16:00:15 +00:00
Ralph Bean
0577dbb1ea Try to dump the environment var to see what it is. 2013-06-13 15:54:33 +00:00
Ralph Bean
7273212bab Just rearrange some of the fedmsg_base stuff. 2013-06-13 15:31:57 +00:00
Ralph Bean
a7aa5974b9 Missing "=" 2013-06-13 15:19:18 +00:00
Ralph Bean
d61942fc72 Change filename to overwrite the one from the rpm. 2013-06-13 15:15:34 +00:00
Ralph Bean
e77846f422 Perms for that badges dir. 2013-06-13 15:14:58 +00:00
Ralph Bean
f831cfa020 Nevermind that for now. It is not necessary anyways. 2013-06-13 15:14:13 +00:00
Ralph Bean
cf28114fcb Apparently not.
https://groups.google.com/forum/?fromgroups#!topic/ansible-project/hN-lEidIv6E
2013-06-13 15:07:02 +00:00
Ralph Bean
a0f6cc0c26 Can I remove files with a glob? 2013-06-13 15:03:05 +00:00
Ralph Bean
0b66e72f40 Thinko fixo. 2013-06-13 14:53:13 +00:00
Ralph Bean
f37ca6d4a8 Add a first test badge definition. 2013-06-13 14:51:18 +00:00
Ralph Bean
3587902cfb Define the restart handler in a role to see if it will work. 2013-06-12 20:24:38 +00:00
Ralph Bean
9e14e24f1d Modify a config file to force a restart. 2013-06-12 20:22:09 +00:00
Ralph Bean
53940efed2 Define a global handler for restarting the fedmsg-hub. 2013-06-12 20:20:01 +00:00
Ralph Bean
79c32cebc0 Permissions for badges config. 2013-06-12 20:04:43 +00:00
Ralph Bean
6c2ce2392b Roles are executed before "loose" things. 2013-06-12 20:01:26 +00:00
Ralph Bean
790cdf0373 Let's see if one role can restart a service from another. 2013-06-12 19:57:58 +00:00
Ralph Bean
ff0bcbdda7 Fix another name mismatch. 2013-06-12 19:53:10 +00:00
Ralph Bean
79f0a2cbf1 Easy on the M's, there. 2013-06-12 19:52:16 +00:00
Ralph Bean
ed3f36cdf8 Specify dest by name. 2013-06-12 19:50:01 +00:00
54de3e5d30 rename role and comment out the include in the role task. You cannot include other tasks from a role
at this time
2013-06-12 17:50:40 +00:00
c1f0054001 rename badge-awarder to main.yml in the role 2013-06-12 17:47:42 +00:00
a83e65bb30 absolute paths :( 2013-06-12 17:40:01 +00:00
8acd7c6ba7 hopefully make the role locatable 2013-06-12 17:05:02 +00:00
e175491fb7 remove repetition of virt_install_command 2013-06-12 17:01:31 +00:00
Kevin Fenzi
fd2afa9760 Adjust order here 2013-06-12 16:29:48 +00:00
Kevin Fenzi
6663e706e3 Perhaps we need this. 2013-06-12 16:22:15 +00:00
Kevin Fenzi
48e8cc7aa4 Use correct test for staging 2013-06-12 16:18:51 +00:00
Kevin Fenzi
e16eb2007c Try this to fix 2fa on staging hosts. 2013-06-12 16:14:05 +00:00
Ralph Bean
b5da07e38e They really don't need to be prefixed. 2013-06-12 15:24:44 +00:00
Ralph Bean
74ec43559a Role names do not have to be prefixed. 2013-06-12 15:23:34 +00:00
Ralph Bean
89470998a5 First try at roles for badges-backend. 2013-06-12 15:22:07 +00:00
f0d7f6f296 make geoip sync cron job go in by copy not cron module, for now 2013-06-11 20:29:22 +00:00
e3cf83c6ad add geoip_sync cron file 2013-06-11 20:28:04 +00:00
4161ecf4d8 setting apache to run has been occasionally erroring out for reasons I don't
understand on first install. Setting it to ignore_errors for the moment
2013-06-11 19:59:13 +00:00
9f81f2986f make all of the mirrorlists 4 cpus
move mirrorlist-ibiblio  to ibiblio03
2013-06-11 19:58:04 +00:00
Kevin Fenzi
7d1d6af988 Add gallery01.stg instance. 2013-06-11 18:50:30 +00:00
Kevin Fenzi
f66837a638 Fix iptables typo, add apache and mod_wsgi 2013-06-11 18:40:26 +00:00
Kevin Fenzi
7c807b866c Add badges-web01.stg 2013-06-11 18:28:46 +00:00
91f5b15e59 fix rsyslog workdir as /var/lib/rsyslog, which exists, not /var/spool/rsyslog, which doesn't 2013-06-11 18:05:35 +00:00
217f980c9a make sure destroy_cloud_inst doesn't TRY to run 2013-06-11 17:29:22 +00:00
890869b03d useful to have the right ip address in there, too 2013-06-11 17:08:23 +00:00
f803810449 make all the when_string be when 2013-06-11 16:46:07 +00:00
874da2220a make buildvm-17 8gb :( 2013-06-11 16:41:54 +00:00
48a865fbc6 change a bunch of when_strings to when's and fix up variables 2013-06-11 16:29:13 +00:00
d58aa21f37 convert over the when_string to a when and change the variable syntax
lemme tell you how much I am looking forward to doing this all over
2013-06-11 16:08:16 +00:00