Hi
No problem.
So the 'ansible way' is to use native modules wherever possible. The
shell/command task should be used only if there is no reasonable way
to achieve things using native modules.
In your case the ansible way could look something like this:
tasks:
- name: Find RPM GPG keys
Apologies to you also Racke. Thank you for pointing this out.
On Thursday, May 7, 2020 at 2:02:31 AM UTC-4, Stefan Hornburg (Racke) wrote:
>
> On 5/7/20 1:01 AM, Quad Zero wrote:
> > Thanks for your reply but really is not helpful bud.
> >
> > This is like if i asked how i can get to a
Hi Dick,
Yes, so I may have replied to your comment above in my reply back to
Michael.
I guess my knowledge on Ansible is still very new, so currently just
getting things done, until I get to grips with better understanding.
Could anyone please recommend any good books that covers most of
Hi Michael,
So I did search all the modules. My question was how to import all the keys
from the /etc/pki... all i could find was individual loads, it was so that
I run multiple CentOS and RedHat servers and some have different repos
enabled, so bulk import would be a better solution I
On 5/7/20 1:01 AM, Quad Zero wrote:
> Thanks for your reply but really is not helpful bud.
>
> This is like if i asked how i can get to a destination, you are telling me to
> go to a train or bus station.
>
That was a bad move from you if you ask me.
Regards
Racke
>
> On Wednesday,
Indeed.
I've noticed quite a few people are frantically trying to shoehorn shell
commands into ansible. This works yes but lacks all the goodies that
ansible brings such as idempotency etc.
The questions then tend to narrow down to why the output of a dozen twelve
cat/grep/sed/awk pipes doesn't
Quad Zero,
You didn't even indicate if you tried using the module JYL took the time to
point out to you. There are examples there and everything. If you want
pre-written Ansible code without doing any research or leg work you should
look on galaxy.ansible.com.
And that is really weak criticizing
Thanks for your reply but really is not helpful bud.
This is like if i asked how i can get to a destination, you are telling me
to go to a train or bus station.
On Wednesday, May 6, 2020 at 7:32:08 AM UTC-4, Jean-Yves LENHOF wrote:
>
> Hi,
>
> There's a module to import key, please use it !
>
Hi,
There's a module to import key, please use it !
https://docs.ansible.com/ansible/latest/modules/rpm_key_module.html
Regards,
JYL
Le 06/05/2020 à 12:17, Quad Zero a écrit :
Hi all,
Thank you for your help in my last post. I have come quite a way
(small compared to many of you) but
Hi all,
Thank you for your help in my last post. I have come quite a way (small
compared to many of you) but nevertheless making good progress each day.
I hit roadblocks quite a bit and thankfully google has helped me quite a
bit. I have come across this problem now which I hope some of you
10 matches
Mail list logo