Compare commits

...

3 Commits

Author SHA1 Message Date
e55bac6127 Remove deprecated hosts from inv 2021-02-16 06:24:15 -06:00
e210e61cce Add handlers back to desktop role
*sigh*
2021-02-16 05:59:58 -06:00
fdfe16a5d3 Recursively chown Ansible user's home 2021-02-16 05:40:58 -06:00
3 changed files with 6 additions and 4 deletions

View File

@ -9,9 +9,6 @@ all:
children:
desktop:
hosts:
#vm-rice-0:
# ansible_host: 192.168.122.14
#dsk-cstm-0.desu.ltd:
dsk-ryzen-0.desu.ltd:
lap-s76-lemp9-0.desu.ltd:
prod:

View File

@ -3,7 +3,7 @@
- name: create ansible user
user: name=ansible password_lock=yes
- 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
authorized_key: user=ansible manage_dir=yes key={{ common_ansible_pubkey }}
- name: configure ansible user sudo

View 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