Commit Graph

18 Commits

Author SHA1 Message Date
Jan Kaluža
bce3078d14 Try sending empty JSON in ODCS cleanup task. 2019-02-25 12:35:01 +00:00
Jan Kaluža
0395c736e8 Try escaping quotes differently... 2019-02-25 12:30:31 +00:00
Jan Kaluža
dcecfeb583 Try escaping quotes... 2019-02-25 12:28:30 +00:00
Jan Kaluža
b0ad485c07 Add tags for the ODCS cron job 2019-02-25 12:22:28 +00:00
Jan Kaluža
31ee3b9cda Install cron job for sending ODCS cleanup messages. For testing on stg, send it once a minute. 2019-02-25 12:21:23 +00:00
Jan Kaluža
fd559dd4a2 Use 'restart apache' instead of 'restart httpd service'. 2018-11-06 06:28:17 +00:00
Jan Kaluža
58dc4a0e49 Use PrivateTmp=0 to force the task run with fixed notify handlers. 2018-11-06 06:22:14 +00:00
Jan Kaluža
402e1a3bb7 Use 'reload systemd' instead of 'systemctl daemon-reload'. 2018-11-06 06:03:20 +00:00
Jan Kaluža
234625903a Disable PrivateTmp=True in httpd.service for ODCS frontend.
The NFS share with /mnt/koji is automounted and can expired after some time.
System then refreshes the expired NFS share, but this does not work correctly
with private filesystem namespace which is enabled by httpd using PrivateTmp=True.

This leads to httpd using expired NFS storage and httpd therefore cannot serve
files from this storage.
2018-11-06 05:54:48 +00:00
Jan Kaluža
e8d708a9a2 Do not use recurse when creating ODCS_TAGET_DIR. 2018-08-30 10:57:58 +00:00
Mikolaj Izdebski
ca07181406 Revert "Merge branch 'master' of /git/ansible"
This reverts commit bab1e587b6, reversing
changes made to 0da4b9b0fd.
2018-08-29 08:52:18 +00:00
Jan Kaluža
c290bcf769 Do not use recurse when creating ODCS_TAGET_DIR. 2018-08-29 08:32:39 +00:00
Kevin Fenzi
6e053f661b do not follow links as they could point to things that no longer exist on /mnt/koji and cause ansible to error out 2018-06-29 03:57:57 +00:00
Ralph Bean
00be7fd514 Open up perms on /srv/odcs. 2018-06-21 13:18:46 +00:00
Ralph Bean
92b1118a8f Quoting. 2017-09-28 21:12:52 +00:00
Ralph Bean
c83a6dddf6 Additional selinux boolean for odcs frontend. 2017-09-28 21:11:39 +00:00
Qixiang Wan
7c31d0867f [odcs] update selinux policy and make httpd log readable
1. ensure selinux lets httpd talk to postgres
2. make httpd log readable for all users
2017-09-24 20:59:29 +08:00
Qixiang Wan
4471564913 [odcs] Add odcs playbook and roles 2017-09-22 10:26:52 +00:00