diff --git a/README.md b/README.md index f57463f..acfac8f 100644 --- a/README.md +++ b/README.md @@ -1,20 +1,18 @@ This repository has Ansible playbooks to manage the configuration of KDE's server infrastructure. Currently it's only managing two things: backup scripts, and git-daemon configuration for the two anongit servers. Sensitive information (passwords, etc) is encrypted using ansible-vault; the vault password is only known to KDE sysadmins. Example for how to refresh the backup configuration: ```bash -ansible-playbook -D -i hosts.cfg -u root backups.yml +ansible-playbook -D -i production backups.yml ``` The `-D` is optional, it will show diffs for exactly what was changed. You can also add `-C` to do a "dry run" without modifying anything, only showing what changes would be done. - -The `-u root` is necessary to login as root. This should be specified elsewhere... diff --git a/production/group_vars/all.yml b/production/group_vars/all.yml new file mode 100644 index 0000000..38165fc --- /dev/null +++ b/production/group_vars/all.yml @@ -0,0 +1,2 @@ +--- +ansible_user: root