Feat(Combava): Start new computer Combava

This commit is contained in:
Bertrand Benjamin 2019-05-10 18:31:40 +02:00
parent e741939d12
commit 5eab1b8cb2
3 changed files with 43 additions and 0 deletions

35
Combava.yml Normal file
View File

@ -0,0 +1,35 @@
---
- hosts: localhost
connection: local
vars_files:
- vars/common.yml
- vars/home.yml
- vars/Combava.yml
tasks:
# - include: tasks/test.yml
- include: tasks/arch_aur.yml
- include: tasks/arch_CLI_packages.yml
- include: tasks/prompt.yml
- include: tasks/users.yml
- include: tasks/sudo.yml
# - include: tasks/ssh.yml
- include: tasks/arch_programming.yml
- include: tasks/arch_gnome.yml
- include: tasks/arch_graphicals.yml
- include: tasks/dotfiles.yml
- include: tasks/home_autofs.yml
- include: tasks/nfs_share.yml
#- include: tasks/wine.yml
- include: tasks/arch_virtualbox.yml
handlers:
- name: restart sshd
service:
name: sshd
state: restarted
- name: restart nfs
service:
name: nfs-server
state: restarted

View File

@ -42,14 +42,17 @@
url: https://raw.githubusercontent.com/getantibody/installer/master/install
dest: /tmp/antibody.sh
mode: 0770
when: prompt == "zsh"
- name: Execute the antibody.sh
shell: /tmp/antibody.sh
become: yes
ignore_errors: yes
when: prompt == "zsh"
- name: Remove the antibody.sh
file: path=/tmp/antibody.sh state=absent
when: prompt == "zsh"
- name: Copy local zshrc
template:

5
vars/Combava.yml Normal file
View File

@ -0,0 +1,5 @@
---
prompt: fish
deploy_public_key: id_ed25519_home.pub