Base config sync with crans
This commit is contained in:
parent
281a2dcadf
commit
e15ea7854a
2 changed files with 19 additions and 32 deletions
|
@ -4,17 +4,25 @@
|
||||||
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
|
||||||
- htop # better than top
|
- emacs-nox # for maman
|
||||||
- less # i like cats
|
- htop # better than top
|
||||||
- tree # create a graphical tree of files
|
- zsh # to be able to ssh @erdnaxe
|
||||||
- acl # for Ansible become support
|
- fish # to motivate @edpibu
|
||||||
- screen # Vulcain asked for this
|
- oidentd # postgresql identification
|
||||||
|
- aptitude # nice to have for Ansible
|
||||||
|
- acl # advanced ACL
|
||||||
|
- iotop # monitor i/o
|
||||||
|
- tree # create a graphical tree of files
|
||||||
|
- bash-completion # because bash
|
||||||
|
- git # code versioning
|
||||||
|
- less # i like cats
|
||||||
|
- screen # Vulcain asked for this
|
||||||
update_cache: true
|
update_cache: true
|
||||||
register: apt_result
|
register: apt_result
|
||||||
retries: 3
|
retries: 3
|
||||||
|
@ -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