dormi.zone
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
Possibly linux to linuxmemes@lemmy.worldEnglish • 1 year ago

Ansible casually administering hundreds or thousands of devices

lemmy.zip

message-square
53
fedilink
219

Ansible casually administering hundreds or thousands of devices

lemmy.zip

Possibly linux to linuxmemes@lemmy.worldEnglish • 1 year ago
message-square
53
fedilink
  • @darganon@lemmy.world
    link
    fedilink
    2•1 year ago

    They installed it for us at work as part of a project, and we went to ask the ansible guy wtf we could use it for in a windows world, and he couldn’t articulate how it would be an improvement in any way over a scheduled task.

    • @taladar@sh.itjust.works
      link
      fedilink
      6•1 year ago

      To be fair it is not Ansible’s fault that Windows does pretty much everything differently from the systems Ansible was designed for.

      • @darganon@lemmy.world
        link
        fedilink
        2•1 year ago

        Agreed entirely.

    • @moonpiedumplings@programming.dev
      link
      fedilink
      4•
      edit-2
      1 year ago

      It appeals to me for management of a windows machine for a few things:

      • Lots of machines at once, over winrm. Although ssh is the default, as ansible is linux first.
      • I don’t have to learn powershell - the shared language means the windows teams and the linux team don’t have to learn eachother’s language. In ansible, it’s very easy to avoid the footguns that come with something like bash, especially after you install the red hat linter, ansible-lint, which warns of ansible’s own footguns.
      • easy to version control it
      • premade stuff: the official “modules” are massive and do a lot. There are also community packages: https://galaxy.ansible.com - of course, you should probably check any stuff you run first. But ansible is very easy to read.
      • built in secret management. Encrypt secrets, but still be able to use them smoothly with the automation framework.

      For just one machine? Task scheduler is probably good enough. 2-3 machines, managed remotely? Ansible is at least worth looking at.

      Edit: also, really good docs. Like, check out this active directory module with examples: https://docs.ansible.com/ansible/latest/collections/microsoft/ad/object_info_module.html#ansible-collections-microsoft-ad-object-info-module

      The examples are very helpful, with things like getting a list of ad users. I used that to create a ansible script to shuffle all ad user passwords - while being a a linux lover who hates windows and has literally never touched ad before this.

      https://github.com/CSUN-CCDC/CCDC-2023/blob/main/windows/ansible/testing/users.yml

      https://github.com/CSUN-CCDC/CCDC-2023/blob/main/windows/ansible/roles/domain/tasks/main.yml

      • @azvasKvklenko@sh.itjust.works
        link
        fedilink
        English
        1•1 year ago

        Nice, I love it

linuxmemes@lemmy.world

!linuxmemes@lemmy.world

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !linuxmemes@lemmy.world

Hint: :q!


Sister communities:
  • !tech_memes@lemmy.world
  • !memes@lemmy.world
  • !lemmyshitpost@lemmy.world
  • !risa@startrek.website

Community rules (click to expand)

1. Follow the site-wide rules
  • Instance-wide TOS: https://legal.lemmy.world/tos/
  • Lemmy code of conduct: https://join-lemmy.org/docs/code_of_conduct.html
2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack users for any reason. This includes using blanket terms, like “every user of thing”.
  • Don’t get baited into back-and-forth insults. We are not animals.
  • Leave remarks of “peasantry” to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry will not be tolerated.
3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn, no politics, no trolling or ragebaiting.
4. No recent reposts
  • Everybody uses Arch btw, can’t quit Vim, <loves/tolerates/hates> systemd, and wants to interject for a moment. You can stop now.
5. 🇬🇧 Language/язык/Sprache
  • This is primarily an English-speaking community. 🇬🇧🇦🇺🇺🇸
  • Comments written in other languages are allowed.
  • The substance of a post should be comprehensible for people who only speak English.
  • Titles and post bodies written in other languages will be allowed, but only as long as the above rule is observed.
6. (NEW!) Regarding public figures

We all have our opinions, and certain public figures can be divisive. Keep in mind that this is a community for memes and light-hearted fun, not for airing grievances or leveling accusations.

  • Keep discussions polite and free of disparagement.
  • We are never in possession of all of the facts. Defamatory comments will not be tolerated.
  • Discussions that get too heated will be locked and offending comments removed.

 

Please report posts and comments that break these rules!


Important: never execute code or follow advice that you don’t understand or can’t verify, especially here. The word of the day is credibility. This is a meme community – even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don’t remove France.

  • 884 users / day
  • 2.2K users / week
  • 8.93K users / month
  • 18K users / 6 months
  • 24.9K subscribers
  • 1.59K Posts
  • 83.4K Comments
  • Modlog
  • mods:
  • Kevin
  • @zephyr@lemmy.world
  • @rtxn@lemmy.world
  • BE: 0.19.3
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org