Compare commits
3 Commits
6fdcfbae68
...
e55bac6127
Author | SHA1 | Date | |
---|---|---|---|
e55bac6127 | |||
e210e61cce | |||
fdfe16a5d3 |
@ -9,9 +9,6 @@ all:
|
|||||||
children:
|
children:
|
||||||
desktop:
|
desktop:
|
||||||
hosts:
|
hosts:
|
||||||
#vm-rice-0:
|
|
||||||
# ansible_host: 192.168.122.14
|
|
||||||
#dsk-cstm-0.desu.ltd:
|
|
||||||
dsk-ryzen-0.desu.ltd:
|
dsk-ryzen-0.desu.ltd:
|
||||||
lap-s76-lemp9-0.desu.ltd:
|
lap-s76-lemp9-0.desu.ltd:
|
||||||
prod:
|
prod:
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
- name: create ansible user
|
- name: create ansible user
|
||||||
user: name=ansible password_lock=yes
|
user: name=ansible password_lock=yes
|
||||||
- name: configure ansible user home directory
|
- name: configure ansible user home directory
|
||||||
file: path=/home/ansible owner=ansible group=ansible
|
file: path=/home/ansible owner=ansible group=ansible recurse=yes
|
||||||
- name: configure ansible user keys
|
- name: configure ansible user keys
|
||||||
authorized_key: user=ansible manage_dir=yes key={{ common_ansible_pubkey }}
|
authorized_key: user=ansible manage_dir=yes key={{ common_ansible_pubkey }}
|
||||||
- name: configure ansible user sudo
|
- name: configure ansible user sudo
|
||||||
|
5
roles/desktop/handlers/main.yml
Normal file
5
roles/desktop/handlers/main.yml
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
#!/usr/bin/env ansible-playbook
|
||||||
|
# vim:ft=ansible:
|
||||||
|
- name: regen initramfs
|
||||||
|
command: /usr/sbin/update-initramfs -c -k all
|
||||||
|
become: yes
|
Loading…
Reference in New Issue
Block a user