adaptation roles syteme debian
This commit is contained in:
parent
846c600b11
commit
576b301e9c
@ -11,7 +11,7 @@ time:
|
|||||||
hwclock: UTC
|
hwclock: UTC
|
||||||
timezone: Europe/Paris
|
timezone: Europe/Paris
|
||||||
|
|
||||||
system_base_softwares:
|
system_base_softwares_arch:
|
||||||
- 'zsh'
|
- 'zsh'
|
||||||
- 'stow'
|
- 'stow'
|
||||||
- 'wol'
|
- 'wol'
|
||||||
@ -41,3 +41,33 @@ system_base_softwares:
|
|||||||
- 'unzip'
|
- 'unzip'
|
||||||
- 'unrar'
|
- 'unrar'
|
||||||
- 'git-lfs'
|
- 'git-lfs'
|
||||||
|
|
||||||
|
system_base_softwares_debian:
|
||||||
|
- 'zsh'
|
||||||
|
- 'stow'
|
||||||
|
#- 'wol'
|
||||||
|
- 'nmap'
|
||||||
|
#- 'bind-tools'
|
||||||
|
- 'rsync'
|
||||||
|
#- 'awesome-terminal-fonts'
|
||||||
|
- 'wget'
|
||||||
|
#- 'bat'
|
||||||
|
#- 'diff-so-fancy'
|
||||||
|
- 'git'
|
||||||
|
- 'htop'
|
||||||
|
- 'thefuck'
|
||||||
|
- 'tldr'
|
||||||
|
- 'ntfs-3g'
|
||||||
|
- 'python-lxml'
|
||||||
|
- 'tmux'
|
||||||
|
- 'vim'
|
||||||
|
- 'zsh-theme-powerlevel9k'
|
||||||
|
- 'python-pip'
|
||||||
|
- 'yarn'
|
||||||
|
- 'npm'
|
||||||
|
- 'nethogs'
|
||||||
|
- 'iftop'
|
||||||
|
- 'zip'
|
||||||
|
- 'unzip'
|
||||||
|
- 'unrar'
|
||||||
|
- 'git-lfs'
|
@ -19,8 +19,17 @@
|
|||||||
- name: launch base install software
|
- name: launch base install software
|
||||||
pacman:
|
pacman:
|
||||||
state: present # not required. choices: absent;latest;present. Desired state of the package.
|
state: present # not required. choices: absent;latest;present. Desired state of the package.
|
||||||
name: "{{system_base_softwares}}"
|
name: "{{system_base_softwares_arch}}"
|
||||||
become: yes
|
become: yes
|
||||||
|
when: ansible_facts['os_family'] == "Archlinux"
|
||||||
|
|
||||||
|
|
||||||
|
- name: launch base install software
|
||||||
|
apt:
|
||||||
|
state: present # not required. choices: absent;latest;present. Desired state of the package.
|
||||||
|
name: "{{system_base_softwares_debian}}"
|
||||||
|
become: yes
|
||||||
|
when: ansible_facts['os_family'] == "Debian"
|
||||||
|
|
||||||
- name: install powerline status via pip
|
- name: install powerline status via pip
|
||||||
pip:
|
pip:
|
||||||
|
6
tasks/depot_debian.yml
Normal file
6
tasks/depot_debian.yml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
- name: add repo main contrib
|
||||||
|
apt_repository:
|
||||||
|
repo: deb http://ftp.fr.debian.org/debian/ stable main contrib non-free
|
||||||
|
state: present # not required. choices: absent;present. A source string state.
|
||||||
|
update_cache: yes # not required. Run the equivalent of C(apt-get update) when a change occurs. Cache updates are run after making changes.
|
||||||
|
become: yes
|
@ -1,7 +1,11 @@
|
|||||||
---
|
|
||||||
- include_tasks: hostname.yml
|
- include_tasks: hostname.yml
|
||||||
- include_tasks: locales.yml
|
- include_tasks: locales.yml
|
||||||
- include_tasks: time.yml
|
- include_tasks: time.yml
|
||||||
- include_tasks: pacman.yml
|
- include_tasks: pacman.yml
|
||||||
|
when: ansible_facts['os_family'] == "Archlinux"
|
||||||
|
- include_tasks: depot_debian.yml
|
||||||
|
when: ansible_facts['os_family'] == "Debian"
|
||||||
- include_tasks: AUR_builder.yml
|
- include_tasks: AUR_builder.yml
|
||||||
|
when: ansible_facts['os_family'] == "Archlinux"
|
||||||
|
|
||||||
- include_tasks: base_software.yml
|
- include_tasks: base_software.yml
|
Loading…
Reference in New Issue
Block a user