Francois Andrieu
3696752d08
logview: use dateutil for date parsing
...
Signed-off-by: Francois Andrieu <naolwen@gmail.com>
2020-07-16 18:29:34 +00:00
Kevin Fenzi
b7786f17ed
scripts / auth-keys-from-fas: run 2to3 and move to python3
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-07-12 14:17:54 -07:00
Francois Andrieu
84b859b342
scripts/logview: Few fixups for python3 compatibility
...
Signed-off-by: Francois Andrieu <naolwen@gmail.com>
2020-07-09 17:28:42 +02:00
Kevin Fenzi
d5babb1721
scripts/logview: 2to3 port to python3
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-07-01 18:34:59 -07:00
Kevin Fenzi
7984b46eb7
The great phx2 pruning run (1st cut).
...
Since we no longer have any machines in phx2, I have tried to remove
them from ansible. Note that there are still some places where we need
to remove them still: nagios, dhcp, named were not touched, and in cases
where it wasn't pretty clear what a conditional was doing I left it to
be cleaned up later.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-06-14 14:14:31 -07:00
Pierre-Yves Chibon
e83dcc26fa
scripts/users-from-fas: import the print_function from __future__ for when we need to be py2 compatible
...
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-06-09 23:19:08 +02:00
Pierre-Yves Chibon
491ee01d35
First pass at porting scripts/users-from-fas to python3
...
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-06-09 23:17:38 +02:00
Pierre-Yves Chibon
af81ba7546
vhost-info: run black over the code to make it more consistent and modern
...
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-06-08 21:54:38 +02:00
Pierre-Yves Chibon
fe1d44e412
vhost-info: Add some code to help debugging in the future
...
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-06-08 21:53:46 +02:00
Pierre-Yves Chibon
fac20163c8
vhost-info: specify a default verbosity to make it work
...
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-06-08 21:53:46 +02:00
Pierre-Yves Chibon
518d72347c
Start porting vhost-info to python3
...
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-06-06 21:20:07 +02:00
Kevin Fenzi
b02b5c479b
vhost-info: fix python2/3 path
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-06-06 11:39:51 -07:00
Kevin Fenzi
0c119e4a45
vhost-info: take a wild stab at porting to python3
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-06-06 11:36:55 -07:00
Clement Verna
4bba45fd49
vhost-info: fix the indentation after adding 4 spaces.
...
Signed-off-by: Clement Verna <cverna@tutanota.com>
2020-04-24 21:34:27 +02:00
Clement Verna
ea3b536786
vhost-info: use 4 spaces indentation.
...
Signed-off-by: Clement Verna <cverna@tutanota.com>
2020-04-24 21:34:27 +02:00
Kevin Fenzi
6900b2d1d4
vhost-info: adjust for ansible python api changes
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:27 +02:00
Brendan Early
60b360e9e1
fix hosts_with_var_set script
2020-04-24 21:34:26 +02:00
Kevin Fenzi
c04b160037
koji db: set things to copy backup from 02 and not 01 now.
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:14 +02:00
Patrick Uiterwijk
ce762afe70
Fix host sorting
...
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
2019-04-18 20:28:07 +02:00
Clement Verna
14b34ce6bd
freezelist: support Python3
...
Signed-off-by: Clement Verna <cverna@tutanota.com>
2019-04-18 19:44:11 +02:00
Kevin Fenzi
f0c596c427
Try and make a public anitya dump with the right tables.
2018-10-08 17:41:07 +00:00
Kevin Fenzi
b2ff9078f2
Clean up non openshift anitya in favor of openshift version.
2018-10-06 00:11:10 +00:00
Kevin Fenzi
2d7ac321c7
a few tagger stragglers
2018-10-03 17:56:00 +00:00
Randy Barlow
096edb164a
Add markers to highlight where to begin and end copy/pasta on oidc script.
...
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
2018-05-03 21:18:34 +00:00
Randy Barlow
b5cf0d7844
Correctly format the expiration time and issue time.
...
Additionally:
- Require at least one scope to be provided.
- Print out a more descriptive usage of the SQL.
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
2018-05-03 21:11:01 +00:00
Randy Barlow
4b7005471c
Add a script to help generate OIDC tokens.
...
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
2018-05-03 20:48:00 +00:00
44eed62fad
using db-qa02.qa for public resultsdb dumps
2018-01-15 14:31:45 +00:00
Patrick Uiterwijk
5bbafa3c1a
Make vhost-info indicate insecure vhosts
...
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2018-01-11 21:45:25 +00:00
Kevin Fenzi
149de51ee6
fix typo in resultsdb database publishing script
2017-11-02 16:43:05 +00:00
Patrick Uiterwijk
13cc604141
Ansible keeps adding more fields to _result. Let's just use inclusion rather than exclusion
...
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2017-10-27 23:09:37 +00:00
8a03bd7646
It actually works fine now, and I am a moron
...
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
2017-10-17 19:53:06 +00:00
4971f2ec40
fix which_playbook
...
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
2017-10-17 16:37:27 +00:00
8a936f637d
bump hosts_with_var_set for 2.4
...
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
2017-10-17 16:21:39 +00:00
Ralph Bean
029575ac90
Add odcs and waiverdb to the public db copy script.
2017-10-17 15:10:10 +00:00
a8209d03bb
fix freezelist script for new ansible
...
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
2017-10-16 18:42:48 +00:00
Kevin Fenzi
0c31d62c52
add resultsdb to public db dumps, clean up script to use fqdn
2017-10-07 21:24:51 +00:00
Stephen Smoogen
68e2a472b3
How beauteous mankind is! O brave new world
2017-06-26 19:03:03 +00:00
Patrick Uiterwijk
d1ee16d332
Update group name in ok-nagios and shutup-nagios
...
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2017-06-23 12:07:42 +00:00
Ralph Bean
cb3ea2da56
MBS db dumps.
2017-03-23 12:21:02 +00:00
Aurélien Bompard
24355c520d
First attempt at a staging-sync playbook for Mailman/HK
2017-01-16 18:14:53 +00:00
Toshio くらとみ
9a8399d577
Fix list-vms-per-host script
...
Ansible-2.2 introduced more special result vars. Omit all tresults vars
starting with '_ansible' to compensate.
2016-11-05 18:45:04 +00:00
Kevin Fenzi
8bd2fc224f
When shutting up nagios also disable handlers and re-enable then when ok
2016-05-27 21:41:44 +00:00
Stephen Smoogen
31d705a3c6
more scripts which have not been runnable for a while
2016-05-24 21:31:07 +00:00
Stephen Smoogen
236cce523d
we use playbooks and not scripts
2016-05-24 21:30:08 +00:00
Ralph Bean
79ceea52a9
Expose the pdc backup.
2016-05-13 18:11:05 +00:00
doteast
f644e69ac6
remove duplicate lines
2016-03-18 11:17:01 +00:00
Kevin Fenzi
6c2aa67cc9
Fix default group that vhost-info uses.
2016-03-17 22:38:27 +00:00
doteast
0e3143ed23
remove working copy
2016-03-01 19:35:18 +00:00
doteast
a7d6d24952
replace original
2016-03-01 19:33:43 +00:00
doteast
ea50d55562
prolog it
2016-03-01 19:32:28 +00:00