Both sides previous revision
Previous revision
Next revision
|
Previous revision
|
public:tool:ansible [2022/10/07 00:17] canvon [Version requirements] Mention Windows problems of ansible controller node |
public:tool:ansible [2022/10/11 06:04] (current) canvon [Tool: ansible] Add section "Random stuff": Add Ansible FAQ, with suggestions about (turning off) cowsay and use of mkpasswd which (at least on Debian) comes with the whois package |
| |
[[https://docs.ansible.com/|ansible]] is an agent-less [[wp>configuration management]] [[.|tool]] with [[wp>Infrastructure_as_Code]] (IaC), but high-level with a declarative syntax that is aimed to ordinary people to understand (or at least get a glimpse of the idea). | [[https://docs.ansible.com/|ansible]] is an agent-less [[wp>configuration management]] [[.|tool]] with [[wp>Infrastructure_as_Code]] (IaC), but high-level with a declarative syntax that is aimed to ordinary people to understand (or at least get a glimpse of the idea). |
| |
| |
| ===== Random stuff ===== |
| |
| * https://docs.ansible.com/ansible/latest/reference_appendices/faq.html |
| * Perhaps the canonical place talking about ''cowsay'' and how to turn it off. |
| * At one point, it references ''mkpasswd'' -- this, on Debian, seems to be part of the ''whois'' package... O_o (For historical reasons.)\\ For me (canvon), at the time of writing (2022-10-10), seems quite as odd as "hundreds"(?) of Debian packages depending on library ''com_err'' built from the ''e2fsprogs'' sources. ... |
| |
| |
===== Version requirements ===== | ===== Version requirements ===== |
| |
===== Installation ===== | ===== Installation ===== |
| |
| * [[https://docs.ansible.com/ansible/latest/installation_guide/installation_distros.html#installing-ansible-on-ubuntu|Official ansible documentation]] says to use a PPA (Personal Package Archive) for Ubuntu, and to use the same PPA with "fake"/translated release names for/from Debian, too. |
| |
* On Debian 11 "''bullseye''", it should suffice to do ''apt install ansible'', maybe? | * On Debian 11 "''bullseye''", it should suffice to do ''apt install ansible'', maybe? |
* ansible 4.10.0 | * ansible 4.10.0 |
* ansible-core 2.11.12 | * ansible-core 2.11.12 |
| |
| |
| ===== Links ===== |
| |
| * https://www.redhat.com/sysadmin/faster-ansible-playbook-execution mentions: |
| * Activate callback plugins in ''ansible.cfg'': ''[defaults]'' ''callbacks_enabled = timer, profile_tasks, profile_roles''\\ This will measure each task's execution time and output all of them ordered by time taken, at the end of the play. (At least I think that is what it does.) |
| * Disable fact gathering to speed things up at start of play. |
| * A lot more. I (canvon) don't need (or even don't understand) much of the rest... |
| |
| |