Feat(Combava): Start new computer Combava
This commit is contained in:
parent
e741939d12
commit
5eab1b8cb2
35
Combava.yml
Normal file
35
Combava.yml
Normal 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
|
@ -42,14 +42,17 @@
|
|||||||
url: https://raw.githubusercontent.com/getantibody/installer/master/install
|
url: https://raw.githubusercontent.com/getantibody/installer/master/install
|
||||||
dest: /tmp/antibody.sh
|
dest: /tmp/antibody.sh
|
||||||
mode: 0770
|
mode: 0770
|
||||||
|
when: prompt == "zsh"
|
||||||
|
|
||||||
- name: Execute the antibody.sh
|
- name: Execute the antibody.sh
|
||||||
shell: /tmp/antibody.sh
|
shell: /tmp/antibody.sh
|
||||||
become: yes
|
become: yes
|
||||||
ignore_errors: yes
|
ignore_errors: yes
|
||||||
|
when: prompt == "zsh"
|
||||||
|
|
||||||
- name: Remove the antibody.sh
|
- name: Remove the antibody.sh
|
||||||
file: path=/tmp/antibody.sh state=absent
|
file: path=/tmp/antibody.sh state=absent
|
||||||
|
when: prompt == "zsh"
|
||||||
|
|
||||||
- name: Copy local zshrc
|
- name: Copy local zshrc
|
||||||
template:
|
template:
|
||||||
|
5
vars/Combava.yml
Normal file
5
vars/Combava.yml
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
prompt: fish
|
||||||
|
|
||||||
|
deploy_public_key: id_ed25519_home.pub
|
||||||
|
|
Loading…
Reference in New Issue
Block a user