Re: [ansible-project] referring file from different repo

2024-03-23 Thread Nico Kadel-Garcia
On Sat, Mar 23, 2024 at 9:51 AM Todd Lewis wrote: > > This isn't so much an Ansible question as it is a Git question. But that's > okay. > > The problem you've described is exactly what git submodules are intended to > address. The problem with submodules is that almost nobody uses them, so > y

Re: [ansible-project] Ansible-builder help

2024-03-11 Thread Nico Kadel-Garcia
On Thu, Feb 22, 2024 at 1:05 AM Thirumalai Raja A wrote: > Hi all, > > I am trying to build an execution environment for my AWX. I am facing the > below error in my CentOS 7. > Can any one help me in this regard? > Stop there. CentOS 7 and RHEL 7 are deprecated, and will be obsolete in June of t

Re: [ansible-project] Getting complete package update information

2024-02-29 Thread Nico Kadel-Garcia
On Wed, Feb 28, 2024 at 3:42 PM Dimitri Yioulos wrote: > > Stephen, if you mean add that parameter to the dnf module, like this: > > dnf: > list: updates > security: yes I would expect that to report *only* security updates, not to report those *as well*. Security updates wo

Re: [ansible-project] Rhel 7-> 8 upgrade

2024-02-25 Thread Nico Kadel-Garcia
On Thu, Feb 22, 2024 at 10:13 PM Prady A wrote: > > Thank you.. I ll try to use the modules instead. > And we run ansible with the root user .. > also when I rebooting my server manually the default python link is getting > updated to pyhon3 > > Now I raised the issue to RH let’s see what comes u

Re: [ansible-project] New release: ansible-core 2.16.3

2024-02-04 Thread Nico Kadel-Garcia
On Mon, Jan 29, 2024 at 3:55 PM Matt Martz wrote: > > Hi all- we're happy to announce the general release of: > > ansible-core 2.16.3 > > > How to get it > - > > $ python3 -m pip install --user ansible-core==2.16.3 Thanks for updating this to "python3". Unfortunately, on RHEL 8 and RH

Re: [ansible-project] What characters are allowed in a vault-id?

2024-01-30 Thread Nico Kadel-Garcia
On Tue, Jan 30, 2024 at 9:35 AM Brian Coca wrote: > > No explicit limitations exist, but now that you ask I'm thinking there > should be. Syntactic sugar is always an issue with configuration tools. Punctuation like "@", "$", ",", "!", quotation marks and anything that may be interpreted on the f

Re: [ansible-project] [ansible project] VM snapshot capture using VMware

2024-01-20 Thread Nico Kadel-Garcia
On Thu, Jan 18, 2024 at 8:16 PM Prady A wrote: > > Hi experts, > > We are doing automation to update RHEL7-> RHEL8 . > Before we upgrade we take the snapshot. > The issue is whenever there is an upgrade failure we revert the server to its > previous state. But it seems when we revert it the machi

Re: [ansible-project] Regarding No space left on device error

2024-01-20 Thread Nico Kadel-Garcia
On Thu, Jan 18, 2024 at 12:54 AM Ashok Reddy wrote: > > Hi All, > > I have been facing the following issue: > > /home/ansible/.ansible/tmp/ansible-tmp: No space left on device. > > I have cleared the space in Ansible server and another server but the issue > still persists. > > Can some one pleas

Re: [ansible-project] Re: Issue copying files in playbook to RHEL 7 servers

2023-09-09 Thread Nico Kadel-Garcia
On Fri, Sep 8, 2023 at 10:17 AM lift...@gmail.com wrote: > > OK, what I ended up doing was adding "ansible_python_interpreter=/bin/python" > on all RHEL 7 hosts in /etc/ansible/hosts, and the file copy worked. > > Thanks, > Harry > Use "/usr/bin/python3" for clarity. The "platform python" crazine

Re: [ansible-project] Unable to use python 3

2023-07-03 Thread Nico Kadel-Garcia
On Fri, Jun 30, 2023 at 11:42 AM cool prat wrote: > > Hi @Nico Kadel-Garcia, > > Thanks for your detailed reply. > > I am trying to understand it. So there is some split and ansible and > ansible-core is separated now. I can see in the Redhat Downloads (with > what

Re: [ansible-project] pip3 and python

2023-07-03 Thread Nico Kadel-Garcia
ansible-core 2.13 is enough for casual use. If you really feel the need up update, delete that copy owned by the root user. sudo -i pip3 uninstall ansible-core Then install a more recent python, if it's available. On RHEL 8 or 9, simply doing this will pull in a recent ansible-core and

Re: [ansible-project] Unable to use python 3

2023-06-30 Thread Nico Kadel-Garcia
On Thu, Jun 29, 2023 at 10:30 AM cool prat wrote: > > Hi Team, > > I want to use python3 for using k8s module (`kubernetes.core.k8s_info`) on > the ansible controller node which RHEL 7. > > Python2 is already installed. I have installed python3. > > I am trying to use python3 by setting ansible_p

Re: [ansible-project] checking to see if cron entry exists

2023-06-29 Thread Nico Kadel-Garcia
On Thu, Jun 29, 2023 at 6:35 AM Kathy L wrote: > > Both items make sense - thank you. > > On Wednesday, June 28, 2023 at 11:50:56 AM UTC-4 Brian Coca wrote: >> >> If you want to just see if things 'would change': >> `check_mode: true` >> >> not all modules support it, but both cron and lininefile

Re: [ansible-project] Ssh connectivity issues from a Debian core server to a remote Windows 10 Pro host.

2023-06-28 Thread Nico Kadel-Garcia
On Wed, Jun 28, 2023 at 11:40 AM gonzalo diaz larenas wrote: > > I already did the generation of the public key, then I copied it to the host > that has Windows Pro, I did all these steps to the letter, in the > inventory.yml file I also made the corresponding changes, based on the help > of an

Re: [ansible-project] Release announcement : Ansible Community Package 8.1.0

2023-06-28 Thread Nico Kadel-Garcia
ially because ansible-core comes from the mismatched git repo name: https://github.com/ansible/ansible Can we just fix the one thing right now? Nico Kadel-Garicia > On Wed, 28 Jun 2023 10:44:09 +0200 > Anwesha Das wrote: > > > Hello Nico, > > > > On Fri, Jun

Re: [ansible-project] Release announcement : Ansible Community Package 8.1.0

2023-06-28 Thread Nico Kadel-Garcia
On Wed, Jun 28, 2023 at 4:44 AM Anwesha Das wrote: > > Hello Nico, > > On Fri, Jun 23, 2023 at 12:13 PM Nico Kadel-Garcia wrote: > > > > > Please: stop claiming this. ansible-core is a required dependency, not > > contained within the ansible packages. Pip insta

Re: [ansible-project] How to restart a remote Firefox in Windows machine?

2023-06-27 Thread Nico Kadel-Garcia
On Mon, Jun 12, 2023 at 12:49 PM sjuanlu wrote: > > Hi Team! I've tried to restart a firefox in remote machine to apply the > updates. I can't use chocolately because Net. Framework is neccesary but it's > not complied with security businness. > > I have usedthese modules: > win_command > win_sh

Re: [ansible-project] AWX question from a beginner :-(

2023-06-25 Thread Nico Kadel-Garcia
her people, etc." For a small, consistent environment? As you've found, ansible-core by itself is enough. Nico Kadel-Garcia On Thu, Jun 22, 2023 at 3:51 PM Evan Hisey wrote: > > Correct. AWX was not intended managing a seperate environment. Honestly, > unless you need schedu

Re: [ansible-project] Release announcement : Ansible Community Package 8.1.0

2023-06-23 Thread Nico Kadel-Garcia
dules and plugins. Please: stop claiming this. ansible-core is a required dependency, not contained within the ansible packages. Pip install builds the dependency, but it can be built and installed quite independently of the "ansible" distribution. Nico Kadel-Garcia > How to get

Re: [ansible-project] Issue with community.general.make module

2023-06-19 Thread Nico Kadel-Garcia
more stuff winds up in $HOME/.local/ . I used to publish RPM building tools for RHEL 7, but gave up when ansible-core started require python 3.11 for current releases. Nico Kadel-Garcia > Here's the call in the role/task: > > - name: Install | Compiling Guacamole Server #

Re: [ansible-project] installing ansible-galaxy

2023-06-06 Thread Nico Kadel-Garcia
On Tue, Jun 6, 2023 at 9:46 AM Azadeh Amirhosseini wrote: > > Hi All, > I have an ansible control node, which is the version 2.10.17 Delete or replace that software, and update to a contemporary release of ansible-core. There were big structural changes when ansible was renamed ansible-core, and

Re: [ansible-project] JOB | Linux Sysadmin (London, UK)

2023-06-04 Thread Nico Kadel-Garcia
On Fri, Jun 2, 2023 at 10:20 AM James Tobin wrote: > > Hello, I'm working with an employer that is looking to hire a Linux > sysadmin with terraform, ansible and python experience for an > infrastructure position in London. I had hoped some members of this This is a technical mailing list. Pleas

Re: [ansible-project] Ansible 8.0.0 has been released!

2023-05-31 Thread Nico Kadel-Garcia
On Tue, May 30, 2023 at 3:30 PM Christian Adams wrote: > > Hello everyone, > > We're happy to announce the release of the Ansible 8.0.0 package! > > Ansible 8.0.0 includes ansible-core 2.15.0 as well as a curated set of > Ansible collections that provide a vast number of modules and plugins. Plea

Re: [ansible-project] Need help in using amazon.aws collection on RHEL 6

2023-05-31 Thread Nico Kadel-Garcia
On Wed, May 31, 2023 at 6:11 AM Sac Isilia wrote: > > Hi Team, > > I am writing a playbook in which I need to use amazon.aws collection to > fetch the instance metadata. I am interested in particularly this module > (amazon.aws.ec2_metadata_facts). As per the documentation , this was > introdu

Re: [ansible-project] Release announcement : Ansible Community Package 7.6.0

2023-05-26 Thread Nico Kadel-Garcia
On Fri, May 26, 2023 at 8:07 AM Nico Kadel-Garcia wrote: > > On Tue, May 23, 2023 at 8:15 AM Anwesha Das wrote: > > > > Hello everyone, > > > > We're happy to announce the release of the Ansible 7.6.0 package! > > > > Ansible 7.6.0 includes

Re: [ansible-project] Release announcement : Ansible Community Package 7.6.0

2023-05-26 Thread Nico Kadel-Garcia
On Tue, May 23, 2023 at 8:15 AM Anwesha Das wrote: > > Hello everyone, > > We're happy to announce the release of the Ansible 7.6.0 package! > > Ansible 7.6.0 includes ansible-core 2.14.6 as well as a curated set of > Ansible collections that provide a vast number of modules and plugins. Please,

Re: [ansible-project] create ansible download archive (zip or gz) which is installable locally without internet

2023-04-18 Thread Nico Kadel-Garcia
On Tue, Apr 18, 2023 at 9:38 PM for tan wrote: > > Thats great. And could likely use this as is , at times, sometimes... but > the liklihood this gz bundle is exactly as we need it to be each time we need > it, is not likely. That's why pypi.org publishes these with release numbers, and for m

Re: [ansible-project] create ansible download archive (zip or gz) which is installable locally without internet

2023-04-18 Thread Nico Kadel-Garcia
can save you hundreds of Megabytes of local space filled with bulky modules you don't use on your ansible server. Nico Kadel-Garcia > and then - later on ( not immediately) use this downloaded archive to install > ansible to create new or existing ansible or non ansible host ( Why t

Re: [ansible-project] Panik Github RSH SSH host key change breaks installations

2023-03-28 Thread Nico Kadel-Garcia
rivate key. > > Walter > -- > Walter Rowe, Division Chief > Infrastructure Services, OISM > Mobile: 202.355.4123 That's true. But the return on investment of relying on SSH hostkeys to be consistent is generally not worth the trouble. Nico Kadel-Garcia -- You received t

Re: [ansible-project] Re: Panik Github RSH SSH host key change breaks installations

2023-03-25 Thread Nico Kadel-Garcia
On Sat, Mar 25, 2023 at 2:24 AM 'Neil Young' via Ansible Project wrote: > > Sounds legit and works. But isn't "StrictHostKeyChecking=no" dangerous? (To > not start a religious war here :)) There is an increased risk. The risk of needing to clean up from reset host keys is also a significant one,

Re: [ansible-project] Re: Panik Github RSH SSH host key change breaks installations

2023-03-24 Thread Nico Kadel-Garcia
On Fri, Mar 24, 2023 at 8:37 AM 'Neil Young' via Ansible Project wrote: > > OK, maybe a solution (workaround?) > > I got another error message later, which clarified the failing command: > > FAILED! => {"changed": false, "cmd": "/usr/bin/git ls-remote > g...@github.com:xxx.git -h refs/hea

Re: [ansible-project] Ansible 7.3.0 has been Released!

2023-03-01 Thread Nico Kadel-Garcia
people about it's contents. You've heard my comments before about it. My RPM building repo contains an appropriately constructed "ansible_collectons" package, if you'd like to play with it. Nico Kadel-Garcia -- You received this message because you are subscribed to th

Re: [ansible-project] Append 2 lines in visudo /etc/sudoers

2023-02-27 Thread Nico Kadel-Garcia
On Mon, Feb 27, 2023 at 2:30 PM Hamim Ismail wrote: > Append 2 lines in /etc/sudoers > > Hi I have 2 lines starting with User_Alias > > How do i make sure both lines get appended > > at the moment only the last line is being appended using this playbook > You don't. You put that content in as a

Re: [ansible-project] Re: error command not found in RHEL server and few are working

2023-02-06 Thread Nico Kadel-Garcia
RHEL 8 based compilation. Do a "git pull" and try it now. Nico Kadel-Garcia > On Mon, Feb 6, 2023 at 1:22 AM Todd Lewis wrote: >> >> You say "Path is same set from putty as well as from shell module in >> ansible". Convince us. Run the following through p

Re: [ansible-project] ansible connection issue on remote RHE5 linux server

2023-02-02 Thread Nico Kadel-Garcia
On Thu, Feb 2, 2023 at 7:56 AM Mike Eggleston wrote: > > I built the most current (at the time) Python and installed the Python > executable in my home directory, then I used an Ansible variable in my > inventory file (I don’t remember which variable) to specify an alternate > Python interprete

Re: [ansible-project] ansible connection issue on remote RHE5 linux server

2023-02-01 Thread Nico Kadel-Garcia
something still supported, if you can. Extended life cycle support for RHEL 5 ended in 2020, things are going to get worse iover time if you keep trying to keep that going. Nico Kadel-Garcia On Thu, Feb 2, 2023 at 1:49 AM Abhijeet Kasurde wrote: > > Please upgrade your RHEL 5 machine to

Re: [ansible-project] Ansible 7.2.0 has been Released!

2023-02-01 Thread Nico Kadel-Garcia
d with various parts of its organization, I'll send the author a note with suggestions. Nico Kadel-Garcia On Tue, Jan 31, 2023 at 5:26 PM Christian Adams wrote: > > Hi all, > > We're happy to announce that the Ansible 7.2.0 package has been released! > > Ansible 7.2

Re: [ansible-project]

2023-01-19 Thread Nico Kadel-Garcia
On Thu, Jan 19, 2023 at 5:37 AM Sean Son wrote: > > Hello > > I hope all is well. I am new to Ansible and I am trying to set up a play or a > playbook that will run the following command: > > yum update --skip-broken --nobest -y The published "ansible" package. is no longer "ansible". The co

[ansible-project] Re: Unable to run ansible-playbook after installed ansible-core

2023-01-16 Thread Nico Kadel-Garcia
Why are you installing ansible as the root user? The root user typically does not have ".local/bin" in its PATH. If your operating system has ansible-core packages, use those. RHEL 8 or later have ansible-core 2.14, with all the dependences, already bundled as a more gracefully integrated RPM.

Re: [ansible-project] AWX installing application to IBM AIX, no space in file system?

2023-01-13 Thread Nico Kadel-Garcia
On Fri, Jan 13, 2023 at 2:27 PM Kevin Knox wrote: > > I don't know where to start with this one. The Installation Manager is 180mb, > and we have 6gb available and plenty of inodes. We can move a 100kb file, no > problem, so it actually looks like space, but I have no idea how to tell it > to u

Re: [ansible-project] Ansible version > 2.9 Slow

2023-01-09 Thread Nico Kadel-Garcia
e" tarball: https://github.com/ansible-community/ansible-build-data/blob/main/7/ansible-7.1.0.deps I'd install only those you need. And I'd *definitely* leave out the Fortinet modules, which are *huge*. They're roughly 150 MBytes of the total 300 MBytes of the current "ans

Re: [ansible-project] Ansible version > 2.9 Slow

2023-01-09 Thread Nico Kadel-Garcia
On Sat, Jan 7, 2023 at 10:00 AM Zied Kharrat wrote: > > Hi everyone, > I used to run for my playbooks ansible v2.9 and now I'm testing ansible 2.13. > Playbooks are the same but when executing using 2.13, it tooks randomly for > some tasks long time (like freeze status for a long time). > No issu

Re: [ansible-project] Ansible version upgrade to 3.0.0 error

2022-12-29 Thread Nico Kadel-Garcia
. That should get you started. If you need to install this stuff as the root user, to lock it down, do follow up with the name of your operating system. There may be a more recent package already available for you to install. Nico Kadel-Garcia > My python version is: 2.7.5 > > Please he

Re: [ansible-project] Issues with CentOS 8

2022-12-24 Thread Nico Kadel-Garcia
On Sat, Dec 24, 2022 at 11:45 AM tor eng wrote: > > Hello all, > I am new to ansible, trying to learn the basis so I can use it to > automate some of my networking stuffs. I currently have setup a small lab > with for Ubuntu and 2 CentOS systems. Anything I do on the Ubuntu works fine > be

Re: [ansible-project] Identify most recent directory in a directory.

2022-12-22 Thread Nico Kadel-Garcia
On Thu, Dec 1, 2022 at 7:10 PM Vladimir Botka wrote: > > Use Ansible module *find* and sort the directories by *ctime*. For > example, given the tree This is only reliable if nothing else writes anything else in that tree between the first command, tand the "tree" command. > shell> tree /tmp/te

Re: [ansible-project] Python venv, Error " Ansible could not initialize the preferred locale "

2022-12-22 Thread Nico Kadel-Garcia
le, because the updates of individual and non-backwards compatible modules from the ansible collection is an unpredictable hazard if you install the "ansible" suite of more than 100 distinct modules written by many quite independent companies nad developers. Nico Kadel-Garcia On Thu, Dec

Re: [ansible-project] RPM BUILD procedure for ansible-core 2.14.1

2022-12-20 Thread Nico Kadel-Garcia
ke cfgs and repos are getting failed in the system with below error > message. > > Please check and advise on this. You need to run these commands at the top of the git repo, in "ansiblerepo". It needs to build up the dependency chain, including a local git repo to use for mock ba

Re: [ansible-project] RPM BUILD procedure for ansible-core 2.14.1

2022-12-19 Thread Nico Kadel-Garcia
, >> > S Sathish >> >> On CentOS, it is: >> >> sudo dnf install -y ansible-core >> >> It's in the "appstream" channel. I don't like the RHEL channels, but I >> believe that one is available by default? If not, you may have to

Re: [ansible-project] RPM BUILD procedure for ansible-core 2.14.1

2022-12-16 Thread Nico Kadel-Garcia
version. > > Thanks and Regards, > S Sathish On CentOS, it is: sudo dnf install -y ansible-core It's in the "appstream" channel. I don't like the RHEL channels, but I believe that one is available by default? If not, you may have to use "subscription-manage

Re: [ansible-project] RPM BUILD procedure for ansible-core 2.14.1

2022-12-16 Thread Nico Kadel-Garcia
On Thu, Dec 15, 2022 at 1:48 AM sathish subramani wrote: > > Hi Team, > > In older version of ansible till 2.9 we download ansible source tar from > below Ansible URL > > URL: https://releases.ansible.com/ansible/ > > Step Followed: > > tar xvf ansible-2.8.3.tar.gz > > cp ansible-2.8.3.tar.gz /r

Re: [ansible-project] Ansible 6.7.0 has been Released!

2022-12-08 Thread Nico Kadel-Garcia
f modules and plugins. Is there any reason to use this with ansible 7.0, and ansible-core 2.14.0 available? Besides the requirement for python 3.9 for both of those. I'm not aware right now of any supported operating systems that only go up to python 3.8. Nico Kadel-Garcia -- You receiv

Re: [ansible-project] Ansible 2.9.7 on RHEL 7.9 - Upgrade plan

2022-12-06 Thread Nico Kadel-Garcia
ss you're willing to install your own personal version of python 3.9 or later. I'd definitely hop to RHEL 8 or RHEL 9 instead for my ansible server. And yes, the word "ansible" is now very confusing. Nico Kadel-Garcia > On Tuesday, December 6, 2022 at 1:21:46 AM UTC+5:30 Mat

Re: [ansible-project] How to Downgrade RHSA Security Patch with Playbook

2022-12-03 Thread Nico Kadel-Garcia
> without know ID or package that RHSA have installed? Thanks "An RHSA security patch" is not the name of any particular package. There are a stack of such patches: https://linuxsecurity.com/advisories/red-hat I suspect you'll need to identify the particular patch to re

Re: [ansible-project] Ansible 7.0.0 has been released!

2022-11-24 Thread Nico Kadel-Garcia
On Tue, Nov 22, 2022 at 5:21 PM Christian Adams wrote: > > Hi all, > > We're happy to announce that the Ansible 7.0.0 package has been released! > > Ansible 7.0.0 will include ansible-core 2.14.0 as well as a curated set of > Ansible collections to provide a vast number of modules and plugins. I'

Re: [ansible-project] Adding AD User to a local linux group

2022-11-15 Thread Nico Kadel-Garcia
On Tue, Nov 15, 2022 at 7:17 AM 'Rowe, Walter P. (Fed)' via Ansible Project wrote: > > Look at SSSD for joining your Linux machine to AD. We use it and find it very > reliable. It also enables use of smart card for SSH logins if your public > keys are populated in your AD user objects if you wor

Re: [ansible-project] now space left on remote_tmp

2022-11-11 Thread Nico Kadel-Garcia
On Fri, Nov 11, 2022 at 11:11 AM Dick Visser wrote: > > It's total gibberish to me. > Post plain text and we might be able to help > But one thing that comes to mind and that is you've ran out of inodes. > > > On Fri, 11 Nov 2022 at 17:04, dulhaver via Ansible Project > wrote: >> >> I am getting

Re: [ansible-project] New releases: ansible-core 2.14.0 - C'mon Everybody

2022-11-07 Thread Nico Kadel-Garcia
On Mon, Nov 7, 2022 at 11:19 AM Matt Martz wrote: > > Hi all- we're happy to announce the general release of: > > - ansible-core 2.14.0 > > > How to get it > - > > $ python3 -m pip install --user ansible-core==2.14.0 For RHEL, this does not work on RHEL 7. python 2.7 is the default, a

[ansible-project] awxkit RPM building tools in public repo

2022-11-02 Thread Nico Kadel-Garcia
to be moribund: this might serve as a useful place to start from, using the system provided python39 rather than relying on the more awkward SCLO provided python tools. Nico Kadel-Garcia -- You received this message because you are subscribed to the Google Groups "Ansible Project" gro

Re: [ansible-project] Ansible 6.5.0 has been released!

2022-10-17 Thread Nico Kadel-Garcia
le 6.5.0, over at https://github.com/nkadel/ansiblerepo/ . They're both passing my limited smoke testing. I'm disappointed that some ansible staff, paid by Red Hat, haven't taken up ownership of those to get actual RPMs rather than "pip install" for ansible servers or Ansi

Re: [ansible-project] Can I Upload SSH Keys to Azure Keyvault using azcollection?

2022-10-17 Thread Nico Kadel-Garcia
On Tue, Oct 11, 2022 at 5:40 AM Alex Walker wrote: > > HI > > I'm writing an Ansible script to perform key rotation across my company's > Linux estate. We use Azure as a cloud platform and I'm looking to store a > backup copy of the public and private keys in Azure Keyvault. The Linux > estate

Re: [ansible-project] Ansible 6.3.0 has been Released!

2022-08-24 Thread Nico Kadel-Garcia
On Tue, Aug 23, 2022 at 4:23 PM Christian Adams wrote: > > Hi all, > > We're happy to announce that the Ansible 6.3.0 package has been released! > > Ansible 6.3.0 will include ansible-core 2.13.3 as well as a curated set of > Ansible collections to provide a vast number of modules and plugins. I'

Re: [ansible-project] I am curious about ~/.ansible vs ~/ansible - why was that done?

2022-08-23 Thread Nico Kadel-Garcia
On Tue, Aug 23, 2022 at 12:23 AM Jeff Silverman wrote: > > In Storing and finding roles and elsewhere, it says that one of the places > ansible looks for .yml files is ~/.ansible/roles . Why .ansible, which is > hidden, and not ansible, which is not hidden? Of course, I can change it > easily b

Re: [ansible-project] Error- When Condition

2022-08-13 Thread Nico Kadel-Garcia
On Fri, Aug 12, 2022 at 2:48 AM Vladimir Botka wrote: > > On Fri, 12 Aug 2022 11:01:01 +0500 > farrukh ahmed wrote: > > > *What I'm trying to achieve is that;* > > *1) Check if any job process is running.* > > *2) If the job process found running then; first stop the process and then > > remove t

Re: [ansible-project] AWX Azure AZ team and organization map

2022-08-11 Thread Nico Kadel-Garcia
On Thu, Aug 11, 2022 at 3:41 PM OM Nachiketa wrote: > > Hi all, > > I am trying to figure out how to use Azure AD for auth with awx. could anyone > share a sample team and organization map. Don't? Use a linked ADDS, which provides LDAP and Kerberos services linked to the Azure AD accounts and gr

Re: [ansible-project] In a pickle...

2022-08-10 Thread Nico Kadel-Garcia
On Wed, Aug 10, 2022 at 7:08 PM Chris Jefferies wrote: > > The Fix - It came down to "actually" removing (deleting) the 2.9.0 version > which was a hard file references as: /usr/local/bin/ansible > > I then added a sym-link as follows: > > /usr/local/bin/ansible -> ../Cellar/ansible/6.2.0/bin/an

Re: [ansible-project] Re: Centos System Disk Partition help

2022-08-08 Thread Nico Kadel-Garcia
On Mon, Aug 8, 2022 at 3:31 PM 'Walter Rowe' via Ansible Project wrote: > > Some food for thought ... > > Why deploy CentOS? The Red Hat down stream product is end of existence in > July 2024 > > See https://www.centos.org/centos-linux-eol/ > See https://blog.centos.org/2020/12/future-is-centos-s

Re: [ansible-project] Ansible 2.13 yum module - requires minimum version of target python of 2.7 or 3.5. But I already have that

2022-08-08 Thread Nico Kadel-Garcia
Note that ansible-core 2.12 is the default available version on RHEL 8, because it's compatible with the built-in python 3.6, and is available from Red Hat repos as an RPM. So it's a supportable release on your ansible server, even if your server is on a commercially supported RHEL. On Mon, Aug 8

Re: [ansible-project] Alma Linux not recognised as RedHat family

2022-08-06 Thread Nico Kadel-Garcia
On Thu, Aug 4, 2022 at 4:23 PM shane.do...@gmail.com wrote: > > I've got some playbooks that install updates to some servers based on > operating system family like so: > > - include_tasks: update-RedHat.yml > when: (ansible_os_family == 'RedHat') > > - include_tasks: update-Debian.yml >

Re: [ansible-project] Ansible 2.13 yum module - requires minimum version of target python of 2.7 or 3.5. But I already have that

2022-08-06 Thread Nico Kadel-Garcia
CentOS 6 is end-of-life. Even the primary mirror sites over at vault.centos.org don't work anymore. That said, if you're staying on CentOS 6, do not use the raw "python" or "pip" command to install any of it. Use "python3" or "pip3". pip3 install --user ansible-core That will only get you th

Re: [ansible-project] Ansible 6.2.0 has been released!

2022-08-02 Thread Nico Kadel-Garcia
On Tue, Aug 2, 2022 at 1:31 PM Ompragash Viswanathan wrote: > > Hi all, > > > We're happy to announce that the Ansible 6.2.0 package has been released ! > > > Ansible 6.2.0 will include ansible-core 2.13.2 as well as a curated set of > Ansible collections to provide a vast number of modules and pl

Re: [ansible-project] ProxyCommand fails on > ansible 3.4.0 using network_cli

2022-07-31 Thread Nico Kadel-Garcia
On Thu, Jul 28, 2022 at 9:26 AM nol...@gmail.com wrote: > > Hi, > For connectivity to Cisco XR devices, i need to use one or more jumphosts. > I am using: > ansible_ssh_common_args: -o StrictHostKeyChecking=no -o > UserKnownHostsFile=/dev/null -o ProxyCommand="ssh -W %h:%p -q jumphost" > > but al

Re: [ansible-project] Re: python error during task

2022-07-24 Thread Nico Kadel-Garcia
On Sat, Jul 23, 2022 at 7:35 AM Todd Lewis wrote: > > This is the problem that Execution Environments allow you to avoid. > > Or, if you're rather more cynical, this is the type of problem that emerges > due to relying on execution environments. That's a pretty fundamental architectural issue, y

Re: [ansible-project] python error during task

2022-07-24 Thread Nico Kadel-Garcia
On Fri, Jul 22, 2022 at 2:35 PM Michael DiDomenico wrote: > > sorry for the cross post, i sent this to the devel list by mistake > --- > i have compiled a separate version of openssl 1.1.1, python 3.10.5, > and ansible 2.13.2 into my home directory. i have the > interpreter_python set in the ansi

Re: [ansible-project] Execute Ansible playbooks in Terraform main.tf file

2022-07-23 Thread Nico Kadel-Garcia
meration of roughly 100 add-on packages, none or nearly none of which are of any use to such a micro ansible setup. Installing the "ansible" package slows such installations quite a lot and soaks up space not needed for a VM or docker image at all. Nico Kadel-Garcia > On Jul 23,

Re: [ansible-project] why am i not able to access id_rsa.pub as another user?

2022-07-23 Thread Nico Kadel-Garcia
On Fri, Jul 22, 2022 at 10:22 AM Brian Coca wrote: > > simple permissions, can you 'cat '/home/rke/.ssh/id_rsa.pub` ? you > probably get same permissions error. The $HOME/.ssh/ directory is normally restricted in its permissions to permit the SSH private keys there to be used. It's partly why Ans

Re: [ansible-project] New releases: ansible-core 2.13.2

2022-07-21 Thread Nico Kadel-Garcia
On Mon, Jul 18, 2022 at 12:17 PM Matt Martz wrote: > > Hi all- we're happy to announce the general release of: > > - ansible-core 2.13.2 > > > How to get it > - > > $ python3 -m pip install --user ansible-core==2.13.2 On RHEL 8, you need to enable modularity, install python38 and pyth

Re: [ansible-project] Unable to install a package

2022-07-11 Thread Nico Kadel-Garcia
On Mon, Jul 11, 2022 at 3:10 AM David Logan wrote: > > Unfortunately RH are still insisting on using 2.9 as their only solution > without paying for Ansible Automation platform. Update to RHEL 8, for which ansible-core 2.12 is available as an RPM. ansible-core 2.11 can be fairly easily built fo

Re: [ansible-project] Unable to install a package

2022-07-10 Thread Nico Kadel-Garcia
On Sun, Jul 10, 2022 at 9:10 PM David Logan wrote: > > Hi Folks, > > Having a problem with a rc 126 from yum. I have tried the following options > and am receiving the following error messages. I did find a reference to this > particular error but not on RHEL 2.9.27 (which is what I'm running)

Re: [ansible-project] manage docker via Ansible - question on the python docker library/package on the target

2022-07-08 Thread Nico Kadel-Garcia
On Fri, Jul 8, 2022 at 12:33 AM 'Felix Fontein' via Ansible Project wrote: > > Hi, > > > > > The best alternative is usually to install it from system > > > > packages. For example, on Ubuntu and Debian, there's the > > > > python3-docker system package you can install. For other OSes > > > > simi

Re: [ansible-project] Ansible integration with LUMEN devices

2022-07-07 Thread Nico Kadel-Garcia
On Wed, Jul 6, 2022 at 12:30 AM Aditya Chauhan wrote: > > How can we integrate ansible with LUMEN devices for fetching top talkers > details by using commands. Is there any module or something? How can we > achieve this. here are some modules involving "lumen" there. which might be a place to s

Re: [ansible-project] manage docker via Ansible - question on the python docker library/package on the target

2022-07-07 Thread Nico Kadel-Garcia
On Thu, Jul 7, 2022 at 7:39 AM dulhaver via Ansible Project wrote: > > > The best alternative is usually to install it from system packages. For > > example, on Ubuntu and Debian, there's the python3-docker system > > package you can install. For other OSes similar packages might exist. > > same s

Re: [ansible-project] manage docker via Ansible - question on the python docker library/package on the target

2022-07-07 Thread Nico Kadel-Garcia
On Thu, Jul 7, 2022 at 6:59 AM 'Felix Fontein' via Ansible Project wrote: > > Hi, > > > I try to handle docker containers via Ansible and am getting this > > error: > > msg: 'Failed to import the required Python library (Docker SDK > > for Python: docker (Python >= 2.7) or docker-py (Python 2

Re: [ansible-project] Ansible 2.8 will work on RHEL8 with python 3.6.

2022-07-05 Thread Nico Kadel-Garcia
t;pywinrm", and the dependency chain for that is a nightmare. Nico Kadel-Garcia > -- > Brian Coca > > -- > You received this message because you are subscribed to the Google Groups > "Ansible Project" group. > To unsubscribe from this group and stop recei

Re: [ansible-project] Ansible 2.8 will work on RHEL8 with python 3.6.

2022-07-03 Thread Nico Kadel-Garcia
On Sat, Jul 2, 2022 at 8:40 PM sathish subramani wrote: > > Hi Brian/Team, > > In RHEL 8.6 come with python3.6 as default with Long term support. As > application system we need to stick with long term support package. > > As per ansible-core 2.13 requirement sheet dependencies Python 3.8+ suppo

Re: [ansible-project] Ansible 2.8 will work on RHEL8 with python 3.6.

2022-06-29 Thread Nico Kadel-Garcia
On Wed, Jun 29, 2022 at 5:34 AM sathish subramani wrote: > > Hi Team, > > Ansible 2.8 will work on RHEL8 with python 3.6. > > Reference : https://github.com/ansible/ansible/tree/stable-2.8 Why would you want to? Why would you not use the available ansible-core 2.12 RPM? Let's keep "ansible" and

Re: [ansible-project] Ansible 2.13 supported on RHEL 7.9 & 8.6 OS version

2022-06-28 Thread Nico Kadel-Garcia
quot;ansible" from the git repo at https://github.com/ansible/ansible. Both have misnamed tarballs and MODULE.egg-info python directories, as part of a very strange architectural split of ansible some years ago. You're not the first person confused by it, and you won't be the last. Nico

Re: [ansible-project] Naming convention for remote user

2022-06-10 Thread Nico Kadel-Garcia
On Fri, Jun 10, 2022 at 2:40 PM Noah Walden wrote: > > Hi all, > > Is there a standard username and/or UID people tend to attach to the user > ansible-playbook authenticates as on the remote host? We’d like to start > creating a system user with sudo privileges on all hosts that Ansible needs >

Re: [ansible-project] Ansible 6.0.0rc1 (including ansible-core 2.13) is available for testing!

2022-06-08 Thread Nico Kadel-Garcia
On Tue, Jun 7, 2022 at 3:55 PM Ompragash Viswanathan wrote: > > Hi all, > > > We're happy to announce that the first release candidate of Ansible 6.0.0 is > > now available for testing! > > > Ansible 6.0.0rc1 will include ansible-core 2.13 as well as a curated set of > > Ansible collections to pro

Re: [ansible-project] remove collection size limit on private Automation Hub

2022-06-07 Thread Nico Kadel-Garcia
On Mon, Jun 6, 2022 at 8:42 PM bpanyarachun wrote: > > nevermind, sorted this out by increasing client_max_body_size in > /etc/nginx/nginx.conf. > > reference: https://access.redhat.com/solutions/5679321 I admit to confusion about why you need to upload such a large collection? What do you gain

Re: [ansible-project] Re: Ansible 2.9 Upstream Life Cycle Announcement

2022-06-01 Thread Nico Kadel-Garcia
Unfortunately, the update to "ansible 5" or "ansible 6" is a bit fraught. It's *huge*, filled with roughly 100 modules, very few of which are of any use whatsoever to most ansible servers. Most developers will only need ansible-core, with only a very few ansible galaxy modules if needed, which is m

Re: [ansible-project] Ansible 6.0.0b1 (including ansible-core 2.13) is available for testing

2022-06-01 Thread Nico Kadel-Garcia
On Fri, May 27, 2022 at 12:49 PM David Moreau Simard wrote: > > Hi all, > > We're happy to announce that the first beta release of Ansible 6.0 is > now available for testing ! > > Ansible 6.0.0 will include ansible-core 2.13 as well as a curated set of > Ansible collections to provide a vast numbe

Re: [ansible-project] How do you keep your ansible collections and roles from the galaxy current ?

2022-06-01 Thread Nico Kadel-Garcia
On Wed, Jun 1, 2022 at 3:30 AM Norbert Klamann wrote: > > Hallo all, > what is the best way to keep the ansible collections and roles current which > you use ? > I think about parsing the output of `ansible-galaxy role list` or > `ansible-galaxy collection list` but this is not very elegant. >

Re: [ansible-project] New releases: ansible-core 2.12.6, ansible-core 2.11.12

2022-05-23 Thread Nico Kadel-Garcia
On Mon, May 23, 2022 at 6:10 PM Matt Martz wrote: > > Hi all- we're happy to announce the general release of: > > - ansible-core 2.12.6 > - ansible-core 2.11.12 Is there any reason to use ansible-core 2.12.6 with ansible-core 2.13.0 available? I don't see any obvious incompatibilities with the pu

Re: [ansible-project] Playbook structure

2022-05-13 Thread Nico Kadel-Garcia
On Fri, May 13, 2022 at 6:24 AM Marc Haber wrote: > > On Thu, May 12, 2022 at 10:21:07PM +0200, Dick Visser wrote: > > On 2022-05-10 (Tue) 08:30, Dick Visser wrote: > > > > stylistic nit pick > > > > > > tasks: > > > > ⦙ - name: install ansible dependencies > > > > ⦙ ⦙ apt: > > > > ⦙ ⦙ ⦙ n

Re: [ansible-project] playbook to comment out one line and add another line in a file

2022-05-06 Thread Nico Kadel-Garcia
On Fri, May 6, 2022 at 4:36 PM Tony Wong wrote: > > does this mean I cannot keep the old commented line? > > #image: graylog/graylog4.2.5 It's tricky. You can write scripting to do anything you want to do, but it's not necessarily built-in precisely the way you want it to behave. It's why many c

Re: [ansible-project] Ansible 6.0.0a2 (including ansible-core 2.13.0rc1) available for testing

2022-05-05 Thread Nico Kadel-Garcia
On Wed, May 4, 2022 at 6:49 PM David Moreau Simard wrote: > > Hi all, > > We're happy to announce that the second alpha release of Ansible 6.0 is > now available for testing ! > > Ansible 6.0.0 will include ansible-core 2.13 as well as a curated set of > Ansible collections to provide a vast numbe

Re: [ansible-project] Ansible 5.7.0 has been released

2022-04-28 Thread Nico Kadel-Garcia
sisted that all software be bundled together. It meant that roll-backs of individual components had to roll back *everything*. I first peeled the kernel out of the monolithic bundle, and others have since segmented their software more sensibly. Nico Kadel-Garcia On Tue, Apr 26, 2022 at 2:34 PM Davi

Re: [ansible-project] Is there a specific reason ansible-core lost compatibility with python 3.6?

2022-04-21 Thread Nico Kadel-Garcia
Got interrupted before I completed this! On Thu, Apr 21, 2022 at 6:43 PM Nico Kadel-Garcia wrote: > > On Wed, Apr 20, 2022 at 8:55 PM Nico Kadel-Garcia wrote: > > > > On Wed, Apr 20, 2022 at 9:52 AM Matt Martz wrote: > > > > > > There are a number of reaso

Re: [ansible-project] Is there a specific reason ansible-core lost compatibility with python 3.6?

2022-04-21 Thread Nico Kadel-Garcia
On Wed, Apr 20, 2022 at 8:55 PM Nico Kadel-Garcia wrote: > > On Wed, Apr 20, 2022 at 9:52 AM Matt Martz wrote: > > > > There are a number of reasons, some of which are related to the fact that > > Py3.6 had already transitioned to only receiving security fixes by t

Re: [ansible-project] Is there a specific reason ansible-core lost compatibility with python 3.6?

2022-04-20 Thread Nico Kadel-Garcia
nsible-core 2.12, and all required dependencies. The AAP repo > contains ansible-core 2.13. CentOS Stream 8 and 9 both contain ansible-core > 2.12 as of now: https://git.centos.org/rpms/ansible-core/branches That's good, with the concerns about internally bundled dependencies th

  1   2   >