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"
|
||||
apt:
|
||||
name:
|
||||
- bash-completion # for bash users
|
||||
- zsh # alternative shell
|
||||
- sudo # to gain root access
|
||||
- git # code versioning
|
||||
- nano # basic text editor
|
||||
- vim # like nano but more powerful and complex
|
||||
- sudo
|
||||
- molly-guard # prevent reboot
|
||||
- ntp # network time sync
|
||||
- apt # better than apt-get
|
||||
- nano # for vulcain
|
||||
- vim # better than nano
|
||||
- emacs-nox # for maman
|
||||
- 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
|
||||
- acl # for Ansible become support
|
||||
- bash-completion # because bash
|
||||
- git # code versioning
|
||||
- less # i like cats
|
||||
- screen # Vulcain asked for this
|
||||
update_cache: true
|
||||
register: apt_result
|
||||
|
@ -60,9 +68,6 @@
|
|||
vtype: select
|
||||
notify: Reconfigure locales
|
||||
|
||||
# Molly-Guard : prevent accidental shutdowns
|
||||
- include_tasks: molly-guard.yml
|
||||
|
||||
# APT-List Changes : send email with changelog
|
||||
- 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