mirror of
https://github.com/geerlingguy/ansible-role-apache
synced 2025-01-10 11:50:18 +01:00
Merge pull request #107 from tuladhar/fix-var-interpo
Fix variable interpolation syntax
This commit is contained in:
commit
4913654ab5
1 changed files with 2 additions and 2 deletions
|
@ -14,7 +14,7 @@
|
||||||
|
|
||||||
|
|
||||||
- name: Create the mongodb configuration file
|
- name: Create the mongodb configuration file
|
||||||
template: src=mongod.conf.j2 dest=/etc/mongod-${inventory_hostname}.conf
|
template: src=mongod.conf.j2 dest=/etc/mongod-{{ inventory_hostname }}.conf
|
||||||
delegate_to: '{{ item }}'
|
delegate_to: '{{ item }}'
|
||||||
with_items: groups.replication_servers
|
with_items: groups.replication_servers
|
||||||
|
|
||||||
|
@ -23,7 +23,7 @@
|
||||||
|
|
||||||
|
|
||||||
- name: Start the mongodb service
|
- name: Start the mongodb service
|
||||||
command: creates=/var/lock/subsys/mongod-${inventory_hostname} /etc/init.d/mongod-${inventory_hostname} start
|
command: creates=/var/lock/subsys/mongod-{{ inventory_hostname }} /etc/init.d/mongod-{{ inventory_hostname }} start
|
||||||
delegate_to: '{{ item }}'
|
delegate_to: '{{ item }}'
|
||||||
with_items: groups.replication_servers
|
with_items: groups.replication_servers
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue