Set bash instead of dash, update default variables for grub-config
This commit is contained in:
parent
bcc016b7e6
commit
1dc6f1c00b
19
Manual.org
19
Manual.org
@ -236,6 +236,24 @@ yavdr-common executes the following tasks:
|
|||||||
dest: /etc/apt/apt.conf.d/90norecommends
|
dest: /etc/apt/apt.conf.d/90norecommends
|
||||||
|
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
***** Use bash instead of dash
|
||||||
|
#+BEGIN_SRC yaml :tangle roles/yavdr-common/tasks/main.yml :mkdirp yes
|
||||||
|
- name: use bash instead of dash
|
||||||
|
shell: |
|
||||||
|
echo "set dash/sh false" | debconf-communicate
|
||||||
|
dpkg-reconfigure -f noninteractive dash
|
||||||
|
#+END_SRC
|
||||||
|
|
||||||
|
***** Disable release-upgrade notifications
|
||||||
|
#+BEGIN_SRC yaml :tangle roles/yavdr-common/tasks/main.yml :mkdirp yes
|
||||||
|
- name: disable release-upgrade notifications
|
||||||
|
lineinfile:
|
||||||
|
dest: /etc/update-manager/release-upgrades
|
||||||
|
backrefs: yes
|
||||||
|
state: present
|
||||||
|
regexp: '^(Prompt=).*$'
|
||||||
|
line: '\1never'
|
||||||
|
#+END_SRC
|
||||||
***** Setting up the package repositories
|
***** Setting up the package repositories
|
||||||
#+BEGIN_SRC yaml :tangle roles/yavdr-common/tasks/main.yml :mkdirp yes
|
#+BEGIN_SRC yaml :tangle roles/yavdr-common/tasks/main.yml :mkdirp yes
|
||||||
- name: add yaVDR PPAs
|
- name: add yaVDR PPAs
|
||||||
@ -784,6 +802,7 @@ system:
|
|||||||
shutdown: poweroff
|
shutdown: poweroff
|
||||||
grub:
|
grub:
|
||||||
timeout: 0
|
timeout: 0
|
||||||
|
boot_options: quiet nosplash
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
*** tasks
|
*** tasks
|
||||||
#+BEGIN_SRC yaml :tangle roles/grub-config/tasks/main.yml :mkdirp yes
|
#+BEGIN_SRC yaml :tangle roles/grub-config/tasks/main.yml :mkdirp yes
|
||||||
|
@ -2,3 +2,4 @@ system:
|
|||||||
shutdown: poweroff
|
shutdown: poweroff
|
||||||
grub:
|
grub:
|
||||||
timeout: 0
|
timeout: 0
|
||||||
|
boot_options: quiet nosplash
|
||||||
|
@ -8,6 +8,19 @@
|
|||||||
src: templates/90-norecommends.j2
|
src: templates/90-norecommends.j2
|
||||||
dest: /etc/apt/apt.conf.d/90norecommends
|
dest: /etc/apt/apt.conf.d/90norecommends
|
||||||
|
|
||||||
|
- name: use bash instead of dash
|
||||||
|
shell: |
|
||||||
|
echo "set dash/sh false" | debconf-communicate
|
||||||
|
dpkg-reconfigure -f noninteractive dash
|
||||||
|
|
||||||
|
- name: disable release-upgrade notifications
|
||||||
|
lineinfile:
|
||||||
|
dest: /etc/update-manager/release-upgrades
|
||||||
|
backrefs: yes
|
||||||
|
state: present
|
||||||
|
regexp: '^(Prompt=).*$'
|
||||||
|
line: '\1never'
|
||||||
|
|
||||||
- name: add yaVDR PPAs
|
- name: add yaVDR PPAs
|
||||||
apt_repository:
|
apt_repository:
|
||||||
repo: '{{ item }}'
|
repo: '{{ item }}'
|
||||||
|
Loading…
Reference in New Issue
Block a user