This commit is contained in:
vincent 2019-05-24 20:28:41 +02:00
commit 07540b798f
3 changed files with 42 additions and 3 deletions

View File

@ -6,4 +6,37 @@ arch_base_timezone: Europe/Paris
arch_base_locales: [ arch_base_locales: [
"fr_FR.UTF-8", "fr_FR.UTF-8",
"en_US.UTF-8" "en_US.UTF-8"
] ]
time:
hwclock: UTC
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 - 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: ['zsh','stow','wol','nmap','bind-tools','rsync','awesome-terminal-fonts','wget','bat','diff-so-fancy','git','git-lfs','htop','thefuck','tldr','ntfs-3g','python-lxml','tmux','vim','zsh-theme-powerlevel9k','python-pip','pacman-contrib','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 become: yes
- name: install powerline status via pip - name: install powerline status via pip

View File

@ -3,4 +3,10 @@
command: timedatectl set-ntp true command: timedatectl set-ntp true
become: yes become: yes
args: args:
creates: /etc/systemd/system/sysinit.target.wants/systemd-timesyncd.service creates: /etc/systemd/system/sysinit.target.wants/systemd-timesyncd.service
- name: Set timezone and hardware clock
timezone:
hwclock: '{{ time.hwclock }}'
name: '{{ time.timezone }}'
become: yes