snabelen.no er en av mange uavhengige Mastodon-servere du kan bruke for å delta i det desentraliserte sosiale nettet.
Ein norsk heimstad for den desentraliserte mikroblogge-plattformen.

Administrert av:

Serverstatistikk:

363
aktive brukere

#ansible

23 innlegg19 deltakereett innlegg i dag
Brandon<p>Pitching <span class="h-card" translate="no"><a href="https://fosstodon.org/@ansible" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>ansible</span></a></span> again to my employer's leadership team and was asked to hash out Windows patch approval (Most of our managed machines are Windows).</p><p>Does anyone have any good resources on this? Looks like it *may* be best to set up a WSUS server that the Ansible control nodes talk to, but looking for anything internal to Ansible that may be able to manage patch approval.</p><p><a href="https://fosstodon.org/tags/Ansible" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Ansible</span></a> <a href="https://fosstodon.org/tags/SysAdmin" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SysAdmin</span></a></p>
bodsch<p>Neues aus meiner <span class="h-card" translate="no"><a href="https://floss.social/@forgejo" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>forgejo</span></a></span> <a href="https://chaos.social/tags/Ansible" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Ansible</span></a> "Giftküche" .. meine Rolle kann jetzt auch lokale Benutzer anlegen und nicht nur einen LDAP Server konfigurieren.<br>Ist noch etwas Beta und bedarf Feinschliff, aber die grundlegende Funktionalität wäre gegeben.</p>
Ansible Community Team<p>Ansible Bullhorn 195 (latest edition) is out! It talks about the ansible-core and Ansible package release, contains project, collection updates and things happening in the <a href="https://fosstodon.org/tags/ansible" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ansible</span></a> land. Happy reading !</p><p><a href="https://forum.ansible.com/t/the-bullhorn-195/44095" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">forum.ansible.com/t/the-bullho</span><span class="invisible">rn-195/44095</span></a></p>
clonejo 2021-W42-3T13:37Z<p><span class="h-card" translate="no"><a href="https://tacobelllabs.net/@wxcafe" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>wxcafe</span></a></span> <a href="https://social.troll.academy/tags/Ansible" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Ansible</span></a>, or how i have come to call it: YAMLScript</p>
Nine Internet Solutions AG<p>From zero to infra or building a production-ready setup with our API and Ansible: Because our customers often run web applications, Tim wants to show in his blog post how services can be provided and managed with our API and other tools. 🧰 You can read the rest of Tim's article here <a href="https://nine.ch/from-zero-to-infra-building-a-production-ready-setup-using-our-api-and-ansible/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">nine.ch/from-zero-to-infra-bui</span><span class="invisible">lding-a-production-ready-setup-using-our-api-and-ansible/</span></a> on our website. 👈 <a href="https://mastodon.social/tags/infrastructure" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>infrastructure</span></a> <a href="https://mastodon.social/tags/production" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>production</span></a> <a href="https://mastodon.social/tags/ansible" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ansible</span></a> <a href="https://mastodon.social/tags/api" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>api</span></a> <a href="https://mastodon.social/tags/blog" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>blog</span></a> <a href="https://mastodon.social/tags/nine" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>nine</span></a></p>
JP Mens<p>I invented ansible-doc and it was merged into <a href="https://mastodon.social/tags/ansible" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ansible</span></a> in November 2012. </p><p>At the time we relied on an external pager if people wanted that.</p><p>Sometime since (can't be bothered to search) somebody added an integral pager to the utility which is practical, but what sucks eggs is that noobs tend to CTL-C out of the pager (instead of hitting 'q'), so I constantly have to tell people to reset(1).</p><p>After uncounted releases, the bug is still there. Can somebody report it, please? ;)</p>

Aah, ich beginne zu verstehen. ...

- #iServ verwendet #OPSI, weil damit Windows Clients ... naja ... installiert werden können.

- #Linux Clients (via linux-client-agent) sind ein kostenpflichtiges OPSI-"Produkt".

- dort klappt (mit Glück) die Installation, aber keine Updates oder Konfigurationsänderungen.

- mit Pech passen Kernel, initrd, Kernelmodule und zu installierende Linuxversion nicht zusammen und es gibt eine Fehlermeldung.

- "niemand" nutzt Linux unter iServ

- deshalb findet dort auch keine nennenswerte Entwicklung statt.

- von Linux kommend würde man auch nicht unbedingt OPSI verwenden wollen, sondern eher #DebianEdu mit z.B. #FAI oder #Ansible
🤔

Also: was tun mit Linux Clients unter iServ?

Edit:
Antworten bitte hier:
digitalcourage.social/@chbmeye

digitalcourage.socialCh M[ae][iy]e?r 🇪🇺 🖤 🤍 (@chbmeyer@digitalcourage.social)Was tun mit #Linux Clients unter #iServ? Problem: https://digitalcourage.social/@chbmeyer/114859593833244306 Wie kann man (als Community?) Linux am sinnvollsten unter iServ nutzen? [ ] alls OPSI Pakete selbst erstellen (iServ-Style) [ ] OPSI mit eigenem Debianpaket zur Config ergänzen [ ] FAI / Ansible statt OPSI, in iServ (Linux Style) [ ] nur sehen / Antwort als Kommentar

I am currently looking for a #job . I am an experienced (senior) software developer/engineer with 7y of experience. If someone is looking for a capable software engineer or knows someone looking for engineers, please let me know.

I do #python #scheme #django #docker and aim for reproducible software. I learned some #devops and #ansible and can manage servers. Used to do #fullstack dev work, before everything needed to be an SPA.

I am looking for #remote work or work in #berlin or #potsdam .

“Fun” learning YAML properly?

Okay. So. I have to learn ANSI-Bell for $ork. Meh. But okay.

Pre-existing “fun”

Playbooks are written in YAML. I hate YAML and have always used yaml2jsn to convert it to JSON (if possible) when I had to touch it in the past, as somehow a subset¹² of JSON is a valid subset of YAML accepted² by YAML parsers.

① you’ll have to make sure you don’t emit some codepoints literally, and to format numbers in scientific notation a specific way, but that’s generally a good advice for JSON emitters
② except JSON strings have codepoints outside the Basic Multilingual Plane encoded as two UTF-16 surrogates in \u#### notation whereas YAML parsers require it to be unescaped four-octet UTF-8, which breaks many JSON parsers; I ran into that just this week, in fact, for my RSS to Fediverse gateways…

I personally find YAML unwritable, due to things like GitHub Actions’ example of…

on:
  push:
    branches:
      - main

… does not convert to…

{
  "on": {
    "push": {
      "branches": [
        "main"
      ]
    }
  }
}

… but to:

{
  "1": {
    "push": {
      "branches": [
        "main"
      ]
    }
  }
}

(GitHub accepts both syntacēs in workflow files in JSON.)

But let’s go back to the “self-explaining, obvious” YAML:

on:
  push:
    branches:
      - main

So, we’ve already established that “on” is 1 and that something like country: no isn’t Norway but 0 (and real existing people have fallen into this, yet there are strong recommendations to not quote strings in YAML documents like ANSI-Bell playbooks, and somehow nobody even documents how strings are to be escaped and when they need to be escaped).

But, riddle me this:

push:
<2 spaces>branches:

But:

branches:
<2 spaces><hyphen-minus and space>main

But:

options:
<no space><hyphen-minus and space>Ubuntu
<no space><hyphen-minus and space>macOS

(All examples from here.)

I find this totally obvious and self-explanatory and consistent, and I totally know when to use two spaces, or dash-plus-space, or both.</sarcasm>

But there is training material!

One of the books I’ve been provided (actual published training material with an ISBN each) just hand-waves it away, the other says:

The target section looks like the following code snippet:

  - hosts: webservers
    user: root

[…] As per the YAML syntax, the line must start with a dash. […]

So, basically, the hosts: line must start with a dashhyphen-minus? I think not.

The “Hands-on interactive lab and helpful resources” in the Red Hat “YAML essentials for Ansible” “learning path” is similarly deficient in even fundamentally basic explanation. 0/10, won’t recommend.

Fun with training material, continued

The hand-waving book links to http://www.yaml.org/start.html, so let’s read…

a getting started guide for YAML

… in my favourite webbrowser lynx:

                                                   Page not found · GitHub Pages
 
 
   File not found
 
   The  site  configured  at  this  address does not contain the requested
   file.
 
   If  this is your site, make sure that the filename case matches the URL
   as well as any file permissions.
   For root URLs (like http://example.com/) you must provide an index.html
   file.
 
   [1]Read  the full documentation for more information about using GitHub
   Pages.
   [2]GitHub Status — [3]@githubstatus
 
 
 
 
 
 
 
Edit this document's URL: https://yaml.org/start.html

… oooookay?

But surely yaml.org has more material? *looks* … well, it has links to the specs and implementations. All very useful, but not right now for a hopefully structured introduction that explains the hows and ideally also the whys.

Let’s follow the *New* link in which they announce the 1.2.2 spec… a blogpost. Okay. It has a title bar (brown background in Firefox) with a promising link:

   Y
 
     *
     * [2]Blog
     * [3]Docs

Let’s follow #3 to “Docs”!

←←←                                                                      Twitter
   [1]Skip to main content
 
   Y
 
     *
     * [2]Blog
     * [3]Docs
 
     *
     *
 
   [4]YAML Glossary
 
   [5]YAML Cheat Sheet
 
   (BUTTON) Menu
 
YAML Documentation
     __________________________________________________________________
 
   YAML documentation is on the way!
 
#content

This 80×24 screenshot is literally the entirety of the official #YAML documentation.

Well, colour me impressed.

Wait, no.

Fuck that shit.

Wait. This is for $dayjob. $customer also edits playbooks. I’m sure they’ll be delighted if I run things through yaml2jsn and commit the result as #JSON.

Also, see footnote 2 above.

Fuuuuck I’m SOL.

So. Do I honestly have to wade through the spec to learn this?

(Not that this is new. When I first learnt Python in 2008, I had to look at the C-language source code of the #Python interpreter to figure out things missing from the documentation. Which brings us back full circle to #ansible, the culprit of bringing this entire shitshow to my attention. I’m a programmer, not a DevCloudOp or something.)

#Japan trip essential: lightweight bag that held bottles of water, umbrella, hat/cap, sunscreen, fan, battery bank, raincoat, phones, cards, shopping purchases, and more. Didn't stick to my back like a regular backpack, keeping my back less hot. One of the best swag items I've sourced at work.

#Ansible @ansible