put base software in variable

This commit is contained in:
vincent 2019-05-13 22:04:00 +02:00
parent 138c4b0d04
commit 0ea1747d3e
2 changed files with 32 additions and 2 deletions

View File

@ -9,4 +9,34 @@ arch_base_locales: [
]
time:
hwclock: UTC
timezone: Europe/Paris
timezone: Europe/Paris
system_base_softwares:
- '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'
- 'pacman-contrib'
- 'yarn'
- 'npm'
- 'nethogs'
- 'iftop'
- 'zip'
- 'unzip'
- 'unrar'

View File

@ -19,7 +19,7 @@
- name: launch base install software
pacman:
state: present # not required. choices: absent;latest;present. Desired state of the package.
name: ['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','pacman-contrib','yarn','npm','nethogs','iftop','zip','unzip','unrar' ] # not required. Name or list of names of the packages to install, upgrade, or remove.
name: "{{system_base_softwares}}"
become: yes
- name: install powerline status via pip