Base config sync with crans
This commit is contained in:
parent
281a2dcadf
commit
e15ea7854a
2 changed files with 19 additions and 32 deletions
|
@ -4,16 +4,24 @@
|
||||||
when: ansible_os_family == "Debian"
|
when: ansible_os_family == "Debian"
|
||||||
apt:
|
apt:
|
||||||
name:
|
name:
|
||||||
- bash-completion # for bash users
|
- sudo
|
||||||
- zsh # alternative shell
|
- molly-guard # prevent reboot
|
||||||
- sudo # to gain root access
|
- ntp # network time sync
|
||||||
- git # code versioning
|
- apt # better than apt-get
|
||||||
- nano # basic text editor
|
- nano # for vulcain
|
||||||
- vim # like nano but more powerful and complex
|
- vim # better than nano
|
||||||
|
- emacs-nox # for maman
|
||||||
- htop # better than top
|
- htop # better than top
|
||||||
- less # i like cats
|
- zsh # to be able to ssh @erdnaxe
|
||||||
|
- fish # to motivate @edpibu
|
||||||
|
- oidentd # postgresql identification
|
||||||
|
- aptitude # nice to have for Ansible
|
||||||
|
- acl # advanced ACL
|
||||||
|
- iotop # monitor i/o
|
||||||
- tree # create a graphical tree of files
|
- tree # create a graphical tree of files
|
||||||
- acl # for Ansible become support
|
- bash-completion # because bash
|
||||||
|
- git # code versioning
|
||||||
|
- less # i like cats
|
||||||
- screen # Vulcain asked for this
|
- screen # Vulcain asked for this
|
||||||
update_cache: true
|
update_cache: true
|
||||||
register: apt_result
|
register: apt_result
|
||||||
|
@ -60,9 +68,6 @@
|
||||||
vtype: select
|
vtype: select
|
||||||
notify: Reconfigure locales
|
notify: Reconfigure locales
|
||||||
|
|
||||||
# Molly-Guard : prevent accidental shutdowns
|
|
||||||
- include_tasks: molly-guard.yml
|
|
||||||
|
|
||||||
# APT-List Changes : send email with changelog
|
# APT-List Changes : send email with changelog
|
||||||
- include_tasks: apt-listchanges.yml
|
- include_tasks: apt-listchanges.yml
|
||||||
|
|
||||||
|
|
|
@ -1,18 +0,0 @@
|
||||||
---
|
|
||||||
# Install molly-guard
|
|
||||||
- name: Install molly-guard
|
|
||||||
when: ansible_os_family == "Debian"
|
|
||||||
apt:
|
|
||||||
name: molly-guard
|
|
||||||
state: present
|
|
||||||
update_cache: true
|
|
||||||
register: apt_result
|
|
||||||
retries: 3
|
|
||||||
until: apt_result is succeeded
|
|
||||||
|
|
||||||
# Always ask for hostname
|
|
||||||
- name: Configure molly-guard
|
|
||||||
lineinfile:
|
|
||||||
dest: /etc/molly-guard/rc
|
|
||||||
regexp: '^#*\s*ALWAYS_QUERY_HOSTNAME.*$'
|
|
||||||
line: 'ALWAYS_QUERY_HOSTNAME=true'
|
|
Loading…
Reference in a new issue