Fix old variable usage. Patch from janeznemanic. Thanks!

This commit is contained in:
Kevin Fenzi 2014-01-01 19:15:11 +00:00
parent d011bbde2c
commit f7d56ff2b1
98 changed files with 886 additions and 889 deletions

View file

@ -6,7 +6,7 @@
- packages
- name: ntp pkgs
action: yum state=installed pkg=$item
action: yum state=installed pkg={{ item }}
with_items:
- ntpdate
- ntp
@ -22,13 +22,13 @@
- packages
- name: put step-tickers in place
action: copy src=$files/common/step-tickers dest=/etc/ntp/step-tickers
action: copy src="{{ files }}/common/step-tickers" dest=/etc/ntp/step-tickers
- name: enable the service
action: service name=ntpd state=running enabled=true
- name: edit hostname to be instance name - prefix hostbase var if it exists
action: shell hostname ${hostbase}`curl -s http://169.254.169.254/latest/meta-data/instance-id`
action: shell hostname {{ hostbase }}`curl -s http://169.254.169.254/latest/meta-data/instance-id`
tags:
- config
@ -42,7 +42,7 @@
- name: add root keys for sysadmin-main and other allowed users
action: authorized_key user=root key="{{ item }}"
with_pipe:
- "${auth_keys_from_fas} @sysadmin-main ${root_auth_users}"
- "{{ auth_keys_from_fas }} @sysadmin-main {{ root_auth_users }}"
tags:
- config
ignore_errors: true