make var for the script to make it less horrible to specify

fix path
This commit is contained in:
Seth Vidal 2012-10-26 17:23:24 +00:00
parent 6b1bfa6917
commit 3a95c44cc9
2 changed files with 2 additions and 1 deletions

View file

@ -23,7 +23,7 @@
tasks:
- include: $tasks/cloud_setup_basic.yml
- name: add root keys for other allowed users
action: authorized_key user=root key=$PIPE(/srv/web/ansible/scripts/auth-keys-from-fas ${root_auth_users})
action: authorized_key user=root key=$PIPE(${auth-keys-from-fas} ${root_auth_users})
handlers:
- include: $handlers/restart_services.yml

View file

@ -7,3 +7,4 @@ vars: /srv/web/infra/ansible/vars
is_fedora: "'$ansible_distribution' == 'Fedora'"
is_rhel: "'$ansible_distribution' == 'RedHat'"
dist_tag: unknown
auth-keys-from-fas: /srv/web/infra/ansible/scripts/auth-keys-from-fas