Suche
Unten sind die Ergebnisse Ihrer Suche gelistet.
Volltextergebnisse:
- Bau eines Freifunk-Offloaders auf Basis eines Raspberry 4B
- niedrigerer Priorität für diese Rolle │ ├── files # Verzeichnis "files" │ │ └── main.yml # (Skript-)Dateien zur Verwe... ~/ansible/roles/common/{tasks,handlers,templates,files,vars,defaults,meta,library,module_utils,lookup_p... ~/ansible/roles/common/{tasks,handlers,templates,files,vars,defaults,meta}/main.yml */ === Ansible-Kon
- Ansible - erweitertes Konfigurationsbeispiel 7: Ansible Vault
- . encryption/decryption utility for Ansible data files positional arguments: {create,decrypt,edit,vi... create Create new vault encrypted file decrypt Decrypt vault encrypted file edit Edit vault encrypted file view View vault encrypted file
- Erste Schritte Rund um Ansible
- ─ ansible.cfg ├── hosts └── roles 1 directory, 2 files </code> ==== /etc/ansible/ansible.cfg ==== Fast... 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
- 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: src: /home/django/ansible/files/CentOS8/nausch.org.repo dest: /etc/yum.... on_major_version'] == "8" - name: Place repo-file nausch.org for CentOS 7 right in place cop
- Ansible - Erweiterte Konfigurationsbeispiel: Roles
- niedrigerer Priorität für diese Rolle ├── files # Verzeichnis "files" │ └── main.yml # (Skript-)Dateien zur Verwe... pache Webservers mit Hilfe von **''tasks''**, **''files''** und **''handlers''** === Systemweite... $ vim ~/ansible/playbooks/site_generation.yml <file c++ ~/ansible/playbooks/site_generation.yml>--- #
- Ansible - erweiterte Konfigurationsbeispiele: Ansible mit Hilfe von Ansible einrichten
- ~/ansible/playbooks/ansible_grundconfig_v1.yml <file c++ ~/ansible/playbooks/ansible_grundconfig_v1.ym... e Directory Layout anlegen" ansible.builtin.file: path: '/home/{{ admin_user }}/{{ ansible... n/defaults/"} - {directory: "roles/common/files/"} - {directory: "roles/common/handlers/... - name: "Ansible Directory Layout mit dummy-files main.yml befüllen" ansible.builtin.file:
- Ansible
- /Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pen... 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:
- Ansible-Lint: Die Fusselbürste
- force-color] [--exclude EXCLUDE_PATHS] [-c CONFIG_FILE] [--offline] [--version] [lin... al arguments: lintables One or more files or paths. When missing it will enable auto-detec... , 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
- 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 - erweiterte Konfigurationsbeispiele: Ansible-Controll-Node und SSH-Jumphosts
- che Konfigurationsdatei: $ vim ~/.ssh/config <file bash ~/.ssh/config># Default Werte Host * Po... 9_n3rd ProxyCommand ssh -A -q -W %h:%p fwa </file> Nun können wir ganz einfach direkt einen Tunnel... $ vim ~/ansible/playbooks/ssh_client_config.yml <file c++ ssh_client_config.yml>--- ... # YML Ende</file> Dieses Playbook unterscheidet sich nun erst ein
- 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 - 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 - 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,
- Ansible cowsay: Die sprechende Kuh, oder auch mehr Getier oder doch nur puristisch mit dem Ansible Stdout Compact Logger?
- he -f option specifies a particular cow picture file (``cowfile'') to use. If the cowfile spec contai... directory, or at least a directory with a file called default.cow in it. FILES /usr/share/cowsay/cows holds a sample set of cowfiles. If your... ocows = True''** setzen. $ vim ~/.ansible.cfg <file bash ~/.ansible.cfg>... [defaults] nocows