update Manual.org

This commit is contained in:
Alexander Grothe 2017-02-28 16:31:11 +01:00
parent 5a012f2080
commit 63b076924c
1 changed files with 72 additions and 46 deletions

View File

@ -196,12 +196,13 @@ vdr:
#+END_SRC
*** tasks
yavdr-common executes the following tasks:
**** main.yml
#+BEGIN_SRC yaml :tangle roles/yavdr-common/tasks/main.yml :exports none :mkdirp yes
---
# This playbook sets up the basic packages an directories for a yaVDR installation
# file: roles/yavdr-common/tasks/main.yml
#+END_SRC
**** Disable default installation of recommended packages
***** Disable default installation of recommended packages
This configuration file prevents apt to automatically install all recommended dependencies when installing packages:
#+BEGIN_SRC yaml :tangle roles/yavdr-common/tasks/main.yml :mkdirp yes
@ -211,7 +212,7 @@ This configuration file prevents apt to automatically install all recommended de
dest: /etc/apt/apt.conf.d/90norecommends
#+END_SRC
**** Setting up the package repositories
***** Setting up the package repositories
#+BEGIN_SRC yaml :tangle roles/yavdr-common/tasks/main.yml :mkdirp yes
- name: add yaVDR PPAs
apt_repository:
@ -225,7 +226,7 @@ This configuration file prevents apt to automatically install all recommended de
upgrade: dist
update_cache: yes
#+END_SRC
**** Installing essential packages
***** Installing essential packages
#+BEGIN_SRC yaml :tangle roles/yavdr-common/tasks/main.yml :mkdirp yes
- name: apt | install basic packages
apt:
@ -247,6 +248,31 @@ This configuration file prevents apt to automatically install all recommended de
- usbutils
- xfsprogs
#+END_SRC
***** install and execute local fact scripts
#+BEGIN_SRC yaml :tangle roles/yavdr-common/tasks/main.yml :mkdirp yes
- name: install and execute local fact scripts
- include:
- tasks/local_facts.yml
#+END_SRC
**** local_facts.yml
#+BEGIN_SRC yaml :tangle roles/yavdr-common/tasks/main.yml :exports none :mkdirp yes
---
# file: local_facts.yml
- name: create directory for local facts
file:
dest: /etc/ansible/facts.d
state: directory
- name: copy facts script for USB- and PCI(e)-IDs
copy:
src: files/hardware.facts.py
dest: /etc/ansible/facts.d/hardware.facts
mode: '0775'
- name: reload ansible local facts
setup: filter=ansible_local
#+END_SRC
*** templates
#+BEGIN_SRC shell :tangle roles/yavdr-common/templates/90-norecommends.j2 :mkdirp yes
// {{ ansible_managed_file }}