Suche
Unten sind die Ergebnisse Ihrer Suche gelistet.
Volltextergebnisse:
- Bau eines Freifunk-Offloaders auf Basis eines Raspberry 4B
- IdentitiesOnly=yes Protocol 2 IdentityFile ~/.ssh/id_ed25519_ffmuc</code> Beim Parameter **... chlüssel]]** geben wir beim Parameter **''IdentityFile''** an. ==== Klonen des GIT-Repositories (Ansib... │ ├── templates │ │ │ ├── systemd-service-file.j2 │ │ │ └── vxlan-init.j2 │ │ └── vars... ition der Hosts erfolgt via **''hosts''**-Datei: <file bash ~/ansible/inventories/production/hosts># Dja
- Ansible - erweitertes Konfigurationsbeispiel 7: Ansible Vault
- create Create new vault encrypted file decrypt Decrypt vault encrypted file edit Edit vault encrypted file view View vault encrypted file encrypt Encrypt YAML file encrypt
- Erste Schritte Rund um Ansible
- ble.cfg''**. # vim /etc/ansible/ansible.cfg <file bash /etc/ansible/ansible.cfg># config file for ansible -- https://ansible.com/ # =====================... 2.ext.i18n # if set, always use this private key file for authentication, same as # if passing --privat... e-key to ansible or ansible-playbook #private_key_file = /path/to/file # If set, configures the path to
- Ansible - einfaches Playbook-Beispiel: Bedingtes Kopieren
- hnis **''~/ansible''** an $ vim 04_repro.yml <file bash 04_repro.yml>--- - hosts: all become: true... sudoers: ansible tasks: - name: Place repo-file nausch.org for CentOS 8 right in place copy... on_major_version'] == "8" - name: Place repo-file nausch.org for CentOS 7 right in place cop... _facts['distribution_major_version'] == "7" ... </file> Im Arbeitsverzeichnis für unsere Ansible hatten
- Ansible - erweiterte Konfigurationsbeispiele: Ansible-Controll-Node und SSH-Jumphosts
- che Konfigurationsdatei: $ vim ~/.ssh/config <file bash ~/.ssh/config># Default Werte Host * Po... Hostname firewall-c.idmz.nausch.org IdentityFile ~/.ssh/id_ed25519_idmz # Zweiter Sprunghost (fw... Hostname firewall-b.edmz.nausch.org IdentityFile ~/.ssh/id_ed25519_edmz ProxyCommand ssh -A -... .org Port 22222 user sysadmin IdentityFile ~/.ssh/id_ed25519_edmz ProxyCommand ssh -A -
- Ansible - Erweiterte Konfigurationsbeispiel: Roles
- $ vim ~/ansible/playbooks/site_generation.yml <file c++ ~/ansible/playbooks/site_generation.yml>--- #... nden ... # Ende unseres systemweiten Playbooks </file> ---- === Webserver Host/Playbook-Definition : ... t hatten. $ vim ~/ansible/playbooks/web.yml <file c++ web_server.yml>--- # Start des Playbooks für ... r ... # Start des Playbooks für den Web-Server </file> Unser Kopiervorlage **''common''** für die Roll
- Ansible - erweiterte Konfigurationsbeispiele: Ansible mit Hilfe von Ansible einrichten
- ~/ansible/playbooks/ansible_grundconfig_v1.yml <file c++ ~/ansible/playbooks/ansible_grundconfig_v1.ym... nfiguration anpassen" ansible.builtin.lineinfile: line: "{{ item.line }}" path: "/... e Directory Layout anlegen" ansible.builtin.file: path: '/home/{{ admin_user }}/{{ ansible... my-files main.yml befüllen" ansible.builtin.file: path: '/home/{{ admin_user }}/{{ ansible
- Ansible
- erlich sind. # vim /etc/ansible/beispiel.yml <file yaml /etc/ansible/beispiel.yml>--- #YAML start Be... name: <your service name> … #YAML end syntax </file> ==== Facts ==== Ansible ermittelt bei jedem Auf... hdir: /var/www/html/demo/webseite - file: src: '/tmp/{{ item }}' dest:... -i INVENTORY, --inventory=INVENTORY, --inventory-file=INVENTORY specify invento
- Ansible - Erweiterte Konfigurationsbeispiel: Inventory
- vim ~/ansible/inventories/production/hosts.yml> <file bash ~/ansible/inventories/production/hosts.yml>-... ssh_user: ansible ansible_ssh_private_key_file: /home/django/.ssh/id_ed25519_ansible hosts... ssh_user: ansible ansible_ssh_private_key_file: /home/django/.ssh/id_rsa_ansible ho... le_ssh_user: root ansible_ssh_private_key_file: /home/django/.ssh/id_rsa4096_freifunk_2014
- Ansible - einfaches Playbook-Beispiel: NTP-Daemon chrony installieren und konfigurieren
- nis **''~/ansible''** an $ vim 05_chrony.yml <file bash 05_chrony.yml>--- - hosts: centos8 become: true vars: sudoers: ansible config_file: /etc/chrony.conf # chronyd client config-opt... exists == False - name: Copy template config-file in place template: #https://docs.ansi... 8/chrony-client.conf.j2 dest: "{{ config_file }}" - name: Make sure Chrony is started up
- Ansible-Lint: Die Fusselbürste
- force-color] [--exclude EXCLUDE_PATHS] [-c CONFIG_FILE] [--offline] [--version] [lin... , autodetected based on location of configuration file. -r RULESDIR Specify custom rule dire... rn about these rules, unless overridden in config file defaults to 'experimental' --enable-list ENABLE... s to skip. This option is repeatable. -c CONFIG_FILE Specify configuration file to use. Default
- Ansible - einfaches Playbook-Beispiel: mehrere Benutzer anlegen
- erstes Script ab. $ vim 03_create-admins.yml <file bash 03_create-admins.yml>--- - hosts: centos8 ... " state: present key: "{{ lookup('file', '/home/django/ansible/authkeys/{{ item.name }}.... - include_tasks: 02_passwd_sudo_wheel.yml ... </file> ==== WICHTIG ==== <WRAP center round alert 100%... altet. <code> $ vim includes/sudoers.yml</code> <file bash includes/sudoers.yml>--- - name: All use
- Ansible cowsay: Die sprechende Kuh, oder auch mehr Getier oder doch nur puristisch mit dem Ansible Stdout Compact Logger?
- e) SYNOPSIS cowsay [-e eye_string] [-f cowfile] [-h] [-l] [-n] [-T tongue_string] [-W column] [-... he -f option specifies a particular cow picture file (``cowfile'') to use. If the cowfile spec contains '/' then it will be interpreted as a path relative to t
- Ansible - einfaches Playbook-Beispiel: Benutzer anlegen
- r erstes Script ab. $ vim 01_create-user.yml <file bash 01_create-user.yml>--- - hosts: centos8 be... | openssl passwd -1 -stdin) {{ createuser }} ...</file> ==== WICHTIG ==== <WRAP center round alert 100%... 0, 164)">Using /etc/ansible/ansible.cfg as config file</font> <font style="color: rgb(0, 0, 0)">BECOME p... , "state": "present", "stderr": "Creating mailbox file: File exists\n", "stderr_lines": ["Creating mailb
- Ansible - einfaches Playbook-Beispiel: sudoers anpassen
- le-Script ab. $ vim 02_passwd_sudo_wheel.yml <file bash 02_passwd_sudo_wheel.yml>--- - hosts: centos... mode: "0440" validate: visudo -cf %s ...</file> ==== Script Beschreibung ==== Die einzelnen Zei... 0, 164)">Using /etc/ansible/ansible.cfg as config file</font> <font style="color: rgb(0, 0, 0)">BECOME p... 8174240.9800038-82649856412743/source", "state": "file", "uid": 0}</font><br> <font style="color: rgb(0,