This commit is contained in:
Bertrand Benjamin 2018-08-25 11:05:56 +02:00
parent 72fd854aa1
commit 672e110b1f
6 changed files with 7 additions and 8 deletions

View File

@ -33,7 +33,7 @@
- moc
- newsboat
- pass
when: not minimal
when: not minimal or not server
- name: More colorfull pacman
lineinfile:

View File

@ -32,4 +32,4 @@
- moc
- newsboat
- pass
when: not minimal
when: not minimal or not server

View File

@ -18,10 +18,6 @@
line: "PermitRootLogin no"
backrefs: yes
- name: debug
debug:
msg: "{{ deploy_public_key }}"
- name: Add public key for deploy user
authorized_key:
user: "{{ item.username }}"

View File

@ -14,5 +14,5 @@
uid: "{{ item.uid }}"
shell: /bin/zsh
with_items: "{{ me }}"
when: not minimal
when: not minimal or not server

View File

@ -1,6 +1,8 @@
---
deploy_public_key: files/id_ed25519_Embrevade.pub
# deploy_public_key: files/id_ed25519_Embrevade.pub
deploy_public_key: files/id_ed25519_home.pub
minimal: true
server: true

View File

@ -7,5 +7,6 @@ deploy_users:
- { username: 'waha', password: '$6$tQLlZ3lI/NDcT3.C$VCBzrpNxDgOK7b2que2/BnAYWl.zKVugZrQEPxtsq3iWcskEzQ1NvytZRXkB4GCDa/xEohxiodyCaZyFnhxby1', uid: '999'}
minimal: false
server: false
deploy_public_key: files/id_ed25519_embrevade.pub