Set bash instead of dash, update default variables for grub-config

This commit is contained in:
Alexander Grothe 2017-03-03 00:35:14 +01:00
parent bcc016b7e6
commit 1dc6f1c00b
3 changed files with 39 additions and 6 deletions

View File

@ -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
@ -781,9 +799,10 @@ include = /etc/samba/smb.conf.custom
*** default variables *** default variables
#+BEGIN_SRC yaml :tangle roles/grub-config/defaults/main.yml :mkdirp yes #+BEGIN_SRC yaml :tangle roles/grub-config/defaults/main.yml :mkdirp yes
system: 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

View File

@ -1,4 +1,5 @@
system: system:
shutdown: poweroff shutdown: poweroff
grub: grub:
timeout: 0 timeout: 0
boot_options: quiet nosplash

View File

@ -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 }}'