Ansible

ansible,

📯 The Bullhorn 134

Releases:

  • Ansible 9.4.0
  • AWX 24.1.0 & Operator 2.14.0
  • ansible-core 2.14.15, 2.15.10 & 2.16.5

Collections:

  • community.routeros 2.14.0
  • community.general 8.5.0, 7.5.6 & 6.6.8

Participate:

  • vote on team rep in Steering Committee
  • discuss docker_compose deprecation
  • review collection inclusion requests
  • help with easyfix issues
  • Ansible München meetup

More:

  • Ansible Lightspeed update
  • Steampunk doc update

➡️ https://forum.ansible.com/t/the-bullhorn-134/4631

shane_kerr,
@shane_kerr@fosstodon.org avatar

I'm cleaning up problems reported by ansible-lint and am down to a couple of these:

https://ansible.readthedocs.io/projects/lint/rules/no-handler/

The problem that I have is that if I follow the recommendation and convert the tasks to handlers, then the handlers will be very far away in the playbook - way down at the bottom, hundreds of lines later.

I can silence the error, but I guess it is there for a reason.

Am I crazy? Or is the idea that I should be having smaller playbooks or what?

shane_kerr,
@shane_kerr@fosstodon.org avatar

@ascherbaum Well I basically have a playbook that sets up everything on a metal server in a cluster. So installing packages, configuring email, creating swap, changing from systemd timesync to ntpd and so on. It's a lot of simple things. I guess that I can split it up, but have never had any reason to... until now, and it feels a bit arbitrary. 🤔

ascherbaum,
@ascherbaum@mastodon.social avatar

@shane_kerr simple but many lines of code don't go well together ;-)

From your description that should be at least 5 different roles, possibly more.

thedoubl3j,

AWX 24.1.0 is out and fresh off the presses! py 3.9 -> 3.11 upgrade included as well as other fixes and new metrics support in awx-operator @ansible https://forum.ansible.com/t/announcing-awx-24-1-0-and-awx-operator-2-14-0/4581

zhenech,
@zhenech@chaos.social avatar

TIL: has a nice, "new" Debian repository configuration module: deb822_repository (https://docs.ansible.com/ansible/latest/collections/ansible/builtin/deb822_repository_module.html)

It even correctly handles signed_by entries and places the keys into /etc/apt/keyrings

pikesley,
@pikesley@mastodon.me.uk avatar

And there it is, the first appearance of the , from 1974

The cover of The Dispossessed by Ursula K LeGuin

gilesdring,
@gilesdring@mastodon.me.uk avatar

@pikesley I recall need to get on with reading a load more Le Guin. Sought out (short story) Vaster Than Empires And More Slow a month or so ago and it was excellent.

zhenech,
@zhenech@chaos.social avatar
zhenech,
@zhenech@chaos.social avatar

@jpmens Facts are fixed after CVE-2016-9587, erm, I mean, CVE-2017-7466 ;-)

(the later reported by yours truly)

zhenech,
@zhenech@chaos.social avatar

@jpmens And thanks for the "this is fucking unclear", updated the article to have the import and also use wrap_var which is a tiny wrapper that figures out the "right" Unsafe datatype itself.

dschier, German
@dschier@fosstodon.org avatar

So, you just started with ? Or maybe you want to improve in it? In the past, I wrote a couple of articles about @ansible , how you can get started and practical examples.

I hope these help you with . In case you miss something or want to provide feedback, please get in touch. I would love to address your topics, too.

https://blog.while-true-do.io/tag/ansible/

verosk,

TIL: Ansible playbooks can handle unreachable hosts.

the option name is ignore_unreachable: true

Again, it saved me half an hour of life.

nebucatnetzer,
@nebucatnetzer@emacs.ch avatar

After testing a PoC for a few weeks we now officially switch to a based development environment based on . We’re comming from a based environment.
will still do the configuration for certain parts but the LAMP stack is provided by .
Really looking forward to working on this, even though it is a little bit intimidating.

Ric,
@Ric@awscommunity.social avatar

@geerlingguy is there an way to set up a static IP on a headless raspberry pi, I know I can set an IP when flashing the sd card, but then I want to set hostname and IP using nmcli, maybe from a lookup table or something, I’m probably over complicating this.

geerlingguy,
@geerlingguy@mastodon.social avatar
jriou,
@jriou@hachyderm.io avatar

I found my Master's thesis from 2013 where I wrote that wasn't mature enough to be chosen to manage our database infrastructure at my previous job. 11 years later, I gave a talk to show the exact opposite at .

jriou,
@jriou@hachyderm.io avatar

@ascherbaum Doctor Julien 😆

ascherbaum,
@ascherbaum@mastodon.social avatar

@jriou da doctor is in da house.

ck,

In a specific playbook I wanted to retrieve the root partition's size in GB. Sounds easy, right?
Actually this turned out to be more complex than I anticipated.

json_query filtering, type issues with arithmetic calculations and rounding were some of the hurdles I needed to jump. 🦘

May my latest post be helpful to you. Happy Friday! 🍻

https://www.claudiokuenzler.com/blog/1387/how-to-retrieve-root-partition-disk-size-in-gb-ansible-playbook

rfc2549,
@rfc2549@fosstodon.org avatar

Automating Internal Databases Operations at OVHcloud with with @jriou, let's go!

atixag,

Event-Driven Ansible is here and it opens up a whole new world of possibilities for working with . Dive into the future with our latest article, featuring a minimal example to get you started
https://atix.de/en/blog/event-driven-ansible/

lx,
@lx@swiss.social avatar

Prove me wrong, but strings should not be comparable to booleans. How many times have I forgotten to wrap an expression in "{{ }}" only to have it assign a string to a variable not a boolean. I wonder why it's always true at the other end…

  • All
  • Subscribed
  • Moderated
  • Favorites
  • Ansible
  • DreamBathrooms
  • InstantRegret
  • ethstaker
  • magazineikmin
  • osvaldo12
  • rosin
  • everett
  • Youngstown
  • khanakhh
  • slotface
  • ngwrru68w68
  • kavyap
  • Durango
  • thenastyranch
  • megavids
  • mdbf
  • cisconetworking
  • GTA5RPClips
  • cubers
  • Leos
  • modclub
  • normalnudes
  • tacticalgear
  • tester
  • anitta
  • provamag3
  • JUstTest
  • lostlight
  • All magazines