tachtler:archlinux_-_minimal_server_installation_-_mit_ansible
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende Überarbeitung | ||
tachtler:archlinux_-_minimal_server_installation_-_mit_ansible [2020/02/02 08:10] – [Playbook ausführen] klaus | tachtler:archlinux_-_minimal_server_installation_-_mit_ansible [2020/07/07 10:15] (aktuell) – [Installieren] klaus | ||
---|---|---|---|
Zeile 232: | Zeile 232: | ||
===== Ansible ===== | ===== Ansible ===== | ||
- | Die Nutzung | + | ==== Installieren ==== |
- | * **[[tachtler:ansible_mit_ansible_einrichten|Ansible mit Ansible einrichten]]** | + | |
+ | [[tachtler: | ||
+ | |||
+ | ^ Beschreibung | ||
+ | | Homepage | ||
+ | | Dokumentation | ||
+ | | Installation | ||
Ab hier werden '' | Ab hier werden '' | ||
< | < | ||
$ su - | $ su - | ||
- | Password: | + | Password |
</ | </ | ||
+ | |||
+ | Mit nachfolgendem Befehl, wird das Pakete **'' | ||
+ | < | ||
+ | # pacman --noconfirm -Sy ansible | ||
+ | resolving dependencies... | ||
+ | looking for conflicting packages... | ||
+ | |||
+ | Packages (24) libnsl-1.2.0-2 | ||
+ | python-3.8.1-1 | ||
+ | python-bcrypt-3.1.7-3 | ||
+ | python-cryptography-2.8-1 | ||
+ | python-jinja-2.10.3-3 | ||
+ | python-ordered-set-3.1.1-1 | ||
+ | python-paramiko-2.6.0-3 | ||
+ | python-pycparser-2.19-3 | ||
+ | python-pyparsing-2.4.6-1 | ||
+ | python-six-1.13.0-2 | ||
+ | |||
+ | Total Download Size: 52.42 MiB | ||
+ | Total Installed Size: 307.49 MiB | ||
+ | |||
+ | :: Proceed with installation? | ||
+ | :: Retrieving packages... | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | (24/24) checking keys in keyring | ||
+ | (24/24) checking package integrity | ||
+ | (24/24) loading package files [###################### | ||
+ | (24/24) checking for file conflicts | ||
+ | (24/24) checking available disk space [###################### | ||
+ | :: Processing package changes... | ||
+ | ( 1/24) installing libnsl | ||
+ | ( 2/24) installing python | ||
+ | Optional dependencies for python | ||
+ | python-setuptools [pending] | ||
+ | python-pip | ||
+ | sqlite [installed] | ||
+ | mpdecimal: for decimal | ||
+ | xz: for lzma [installed] | ||
+ | tk: for tkinter | ||
+ | ( 3/24) installing libyaml | ||
+ | ( 4/24) installing python-yaml | ||
+ | ( 5/24) installing python-ply | ||
+ | ( 6/24) installing python-pycparser | ||
+ | ( 7/24) installing python-cffi | ||
+ | ( 8/24) installing python-six | ||
+ | ( 9/24) installing python-bcrypt | ||
+ | (10/24) installing python-idna | ||
+ | (11/24) installing python-appdirs | ||
+ | (12/24) installing python-pyparsing | ||
+ | (13/24) installing python-packaging | ||
+ | (14/24) installing python-ordered-set | ||
+ | (15/24) installing python-setuptools | ||
+ | (16/24) installing python-asn1crypto | ||
+ | (17/24) installing python-cryptography | ||
+ | (18/24) installing python-pyasn1 | ||
+ | (19/24) installing libsodium | ||
+ | (20/24) installing python-pynacl | ||
+ | (21/24) installing python-paramiko | ||
+ | (22/24) installing python-markupsafe | ||
+ | (23/24) installing python-jinja | ||
+ | Optional dependencies for python-jinja | ||
+ | python-babel: | ||
+ | (24/24) installing ansible | ||
+ | Optional dependencies for ansible | ||
+ | sshpass: for ssh connections with password | ||
+ | python-passlib: | ||
+ | python-pyopenssl: | ||
+ | python-netaddr: | ||
+ | python-systemd: | ||
+ | python-pywinrm: | ||
+ | python-dnspython: | ||
+ | python-ovirt-engine-sdk: | ||
+ | python-boto3: | ||
+ | python-jmespath: | ||
+ | acme-tiny: openssl_certificate module | ||
+ | :: Running post-transaction hooks... | ||
+ | (1/1) Arming ConditionNeedsUpdate... | ||
+ | </ | ||
+ | |||
+ | Mit nachfolgendem Befehl kann überprüft werden, welche Inhalte mit dem Paket **'' | ||
+ | < | ||
+ | # pacman -Ql ansible | ||
+ | ansible /etc/ | ||
+ | ansible / | ||
+ | ansible / | ||
+ | ansible /usr/ | ||
+ | ansible /usr/bin/ | ||
+ | ansible / | ||
+ | ansible / | ||
+ | ansible / | ||
+ | ansible / | ||
+ | ansible / | ||
+ | ansible / | ||
+ | ansible / | ||
+ | ansible / | ||
+ | ansible / | ||
+ | ansible / | ||
+ | ansible / | ||
+ | ansible /usr/lib/ | ||
+ | ansible / | ||
+ | ... | ||
+ | [Kürzung der Ausgabe] | ||
+ | ... | ||
+ | ansible /usr/share/ | ||
+ | ansible / | ||
+ | ansible / | ||
+ | ansible / | ||
+ | ansible / | ||
+ | ansible / | ||
+ | ansible / | ||
+ | ansible / | ||
+ | ansible / | ||
+ | ansible / | ||
+ | ansible / | ||
+ | ansible / | ||
+ | ansible / | ||
+ | ansible / | ||
+ | ansible / | ||
+ | ansible / | ||
+ | ansible / | ||
+ | ansible / | ||
+ | ansible / | ||
+ | ansible / | ||
+ | ansible / | ||
+ | ansible / | ||
+ | ansible / | ||
+ | </ | ||
+ | |||
+ | Zum Abschluss kann mit nachfolgendem Befehl überprüft werden, ob ein Aufruf möglich ist und [[https:// | ||
+ | < | ||
+ | # ansible --version | ||
+ | ansible 2.9.2 | ||
+ | config file = / | ||
+ | configured module search path = ['/ | ||
+ | ansible python module location = / | ||
+ | executable location = / | ||
+ | python version = 3.8.1 (default, Dec 21 2019, 20:57:38) [GCC 9.2.0] | ||
+ | </ | ||
+ | |||
+ | ==== Konfigurieren ==== | ||
+ | |||
+ | Die Nutzung von [[https:// | ||
+ | * **[[tachtler: | ||
==== / | ==== / | ||
Zeile 485: | Zeile 657: | ||
# | # | ||
- name: Generate Basissystem with pacstrap (This may take some time!) | - name: Generate Basissystem with pacstrap (This may take some time!) | ||
- | command: pacstrap /mnt base base-devel linux-lts linux-firmware lvm2 openssh sshpass vi vim | + | command: pacstrap /mnt base base-devel linux-lts linux-firmware lvm2 openssh sshpass vi vim python |
register: pacstrap | register: pacstrap | ||
tachtler/archlinux_-_minimal_server_installation_-_mit_ansible.txt · Zuletzt geändert: 2020/07/07 10:15 von klaus