redis.yml 272 B

1234567891011
  1. ---
  2. # tasks/redis.yml: Deploy Redis
  3. - include: SmartOS/redis.yml
  4. when: ansible_distribution == "SmartOS"
  5. - include: Ubuntu/redis.yml
  6. when: ansible_distribution == "Ubuntu"
  7. - name: Ensure Redis is running
  8. service: name=redis state=started enabled=true