James Antill
40f024ab64
ansible: Set conn. retries to 4, for tasks with large num. of hosts.
...
Signed-off-by: James Antill <james@and.org>
2025-10-02 15:56:09 -04:00
2f1ee9e0d6
[ansible-server] Set transfer_method to smart
...
When trying to run the playbook for
bvmhost-p09-05.rdu3.fedoraproject.org I encountered an error when
copying files through scp. After some digging I found this in the
ansible documentation
https://docs.ansible.com/ansible/latest/collections/ansible/builtin/ssh_connection.html#parameter-ssh_transfer_method
and it helped with that.
Let's make the change permanent with this commit.
2025-07-29 14:19:10 +02:00
bf4f2c898a
Enable the fedora messaging callback plugin in ansible
...
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2023-05-23 10:28:49 +02:00
bf24d014bd
Make the python3 fact module compatible with python2 for EL7 boxes
...
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2023-05-23 08:33:17 +02:00
6679b35345
ansible: disable python3_fact gathering as it's broken on el7
...
el7 hosts don't have python3 installed normally, so this fact fails. ;(
"failed_modules": {"python3_fact": {"failed": true, "module_stderr": "/usr/bin/env: python3: No such file or directory\n",
So, lets just disable for now until we can fix it.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-05-16 15:17:49 -07:00
5e80355057
Add a fact module to get information about python3 installations
...
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2023-05-10 17:49:17 +02:00
b43fba8103
ansible-server: move inventory to the right place
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-04-04 15:33:10 -07:00
21c3ea8380
ansible-server: fix another jinja in comment
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-04-04 15:24:54 -07:00
f1edf4a3e3
ansible-server: fix another jinja in comment
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-04-04 15:23:28 -07:00
222b836dae
ansible-server: fix another jinja in comment
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-04-04 15:22:25 -07:00
14373ccd14
ansible-server: fix another jinja in comment
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-04-04 15:20:27 -07:00
16ff4bb937
ansible-server: fix jinja in comment
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-04-04 15:19:12 -07:00
9395e8822e
ansible-server: rebase config for 2.12 from 2.9.
...
In 2.12 this file is generated with all the options commented out and
showing the defaults. I went and enabled/set everything we had in the
old 2.9 one so hopefully this is all good.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-04-04 15:06:53 -07:00
5869239c9c
batcave01 / ansible_server: disable fedora-messaging callback for now.
...
It doesn't work with python3.8 ansible-core.
I would really like to find a way to do this however.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-04-04 14:27:15 -07:00
Rick Elrod
a4b89d6d0b
set ansible caching back to jsonfile
...
Signed-off-by: Rick Elrod <relrod@redhat.com>
2020-06-06 15:33:24 -05:00
bd59b6287a
ansible server: fix python2 vs python3 paths in config
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-06-05 18:56:21 -07:00
001a28e583
ansible / server: also comment out that plugin in config
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-06-03 10:25:26 -07:00
e060e7efa1
Rename the fedora_messaging callback and enable it in ansible
...
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-05-14 22:32:21 +02:00
4957a811f1
ansible: try and clean up callback_plugins
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-05-14 12:30:10 -07:00
8b408c8a79
ansible-server: fix roles path to work with linux-system-roles
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-05-12 16:11:20 -07:00
12287e3e23
ansible server: set interpreter_python to auto instead of auto_legacy (default)
...
This will cause ansible command line to also detect things the way our playbooks do.
ie, prefer python3
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:20 +02:00
Rick Elrod
05efd6c0e7
and use it
...
Signed-off-by: Rick Elrod <relrod@redhat.com>
2020-04-24 21:34:15 +02:00
ca87780119
ansible: try and move the ansible_python_interpreter setting to group_vars/all
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-05-30 22:34:06 +00:00
5caa9024c5
ansible: drop each host/group setting ansible_python_interpreter and just change the interpreter_python value on the control host.
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-05-30 21:59:28 +00:00
3a5f3c7894
ansible-server: just switch to all scp
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-04-09 18:59:13 +00:00
678e78acab
ansible-server: switch transport to use scp first, then piped, and only then sftp
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-04-09 18:54:09 +00:00
c44bb085a1
add fuse.glusterfs to list of special filesystems
2018-08-20 20:50:32 +00:00
da8324764f
Drop special remote_tmp casing for targets with become, instead just switch everything to use /tmp for remote tmp.
...
ansible picks a pretty random dir and this works with the case of users who cannot write to their homedir.
2018-07-11 21:29:29 +00:00
4abad78f55
make the facts cache use ~
2018-07-02 18:46:10 +00:00
2ddec06c5c
enable constructed inventory plugin even though it does not do what I want yet
2018-06-14 23:14:52 +00:00
3c8866abbd
lets try some fact caching
2018-05-18 17:18:42 +00:00
8a8980044d
we need merge behavior here for osbs
2017-11-20 23:38:03 +00:00
b55efeaa61
put forks back to pre ansible 2.4 value for more testing
2017-10-17 17:43:16 +00:00
10293f57dd
try 90 here
2017-10-16 13:59:25 +00:00
5487e61986
no compression at all
2017-10-16 03:43:21 +00:00
f815304250
perhaps this is causing the mem issue
2017-10-16 02:50:22 +00:00
bbd16eaec5
try decreasing forks a bit
2017-10-16 01:14:40 +00:00
69fd8d117a
switch all the handlers to import and drop the global static import
2017-10-15 20:29:59 +00:00
07bc405e04
no retry files please
2017-10-15 20:12:16 +00:00
ceff9bfca4
first stab at replacing include with include_playbook or includ_tasks
2017-10-15 19:46:08 +00:00
46c0c63d92
Fix plugins paths
2017-10-15 19:11:15 +00:00
b105f8a4d2
messing up comment in template
2017-10-15 18:57:10 +00:00
b56675cba5
sync ansible config with upstream 2.4 version
2017-10-15 18:51:02 +00:00
44f7ddfed6
drop openshift ansible from here, it is pulled in on the osbs control host now
2016-11-28 22:07:53 +00:00
6cfe573263
try importing the openshift ansible repo and roles to use with oour osbs
2016-10-14 21:32:54 +00:00
Patrick Uiterwijk
9dd2b8e5af
Also show useful ansible info when no name: is provided for a task
...
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2016-06-26 21:21:43 +00:00
04bb673626
Set handler includes to be static to make our included handlers work again.
2016-05-25 16:28:05 +00:00
37de5e8009
10 second timeout is too fast for some loaded machines, up it to 60.
2016-02-26 21:09:57 +00:00
4d64c39ec0
Up the max forks to 125
2016-02-14 23:20:05 +00:00
7a8e866a46
Lets not bother with retry files. We don't use them and they just clutter things.
2016-02-02 20:51:33 +00:00