Feat(Server): Add Manioc

This commit is contained in:
Bertrand Benjamin 2018-11-10 18:23:32 +01:00
parent 1729c415c0
commit ada234ed9e
6 changed files with 37 additions and 5 deletions

View File

@ -4,6 +4,7 @@
vars_files:
- vars/common.yml
- vars/server.yml
- vars/Bilimbi.yml
tasks:

23
Manioc.yml Normal file
View File

@ -0,0 +1,23 @@
---
- hosts: localhost
connection: local
vars_files:
- vars/common.yml
- vars/server.yml
- vars/Manioc.yml
tasks:
- include: tasks/deb_CLI_packages.yml
- include: tasks/zsh.yml
- include: tasks/users.yml
- include: tasks/sudo.yml
- include: tasks/ssh.yml
- include: tasks/dotfiles.yml
- include: tasks/docker.yml
handlers:
- name: restart sshd
service:
name: sshd
state: restarted

View File

@ -24,6 +24,11 @@ Installing Bilimbi
ansible-pull -U https://git.opytex.org/lafrite/Ansible_workstation.git Bilimbi.yml
Installing Manioc
ansible-pull -U https://git.opytex.org/lafrite/Ansible_workstation.git Manioc.yml
After running the script, there is a bug with $TERM which makes BACKSPACE and TAB to have strange behavior. To solve it, from an other computer run:
infocmp -x | ssh -t root@remote-host 'cat > "$TERM.info" && tic -x "$TERM.info"'

View File

@ -1,7 +1,2 @@
---
me: "{{ deploy_users }}"
deploy_public_key: files/id_ed25519_embrevade.pub
minimal: true
server: true

1
vars/Manioc.yml Normal file
View File

@ -0,0 +1 @@
---

7
vars/server.yml Normal file
View File

@ -0,0 +1,7 @@
---
me: "{{ deploy_users }}"
deploy_public_key: files/id_ed25519_embrevade.pub
minimal: true
server: true