19 lines
601 B
Markdown
19 lines
601 B
Markdown
|
# dotfile playbook
|
||
|
|
||
|
* this playbook with copy the dotfiles from the (dotfile repository)[https://git.radar231.com/radar231/dotfiles]
|
||
|
into the selected home directory for the selected user.
|
||
|
|
||
|
* the following variables are required;
|
||
|
* username
|
||
|
* groupname
|
||
|
* homedir
|
||
|
|
||
|
* the playbook can be run with the following command line;
|
||
|
|
||
|
ansible-playbook -i <inventory file | IP,> -e "username=<user name>" -e "groupname=<group name> -e "homedir=<home dir>" dotfiles.yml
|
||
|
|
||
|
ie;
|
||
|
|
||
|
ansible-playbook -i 192.168.20.99, -e "username=someuser" -e "groupname=somegroup>" -e "homedir=/home/someuser" dotfiles.yml
|
||
|
|