Guest User

Untitled

a guest
Mar 22nd, 2016
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.21 KB | None | 0 0
  1. root@kolla-operator:~/kolla_dir/ansible/roles/ormuco# tree
  2. .
  3. ├── defaults
  4. │   └── main.yml
  5. ├── meta
  6. │   └── main.yml
  7. ├── tasks
  8. │   ├── config.yml
  9. │   ├── deploy.yml
  10. │   ├── main.yml
  11. │   ├── pull.yml
  12. │   ├── reconfigure.yml
  13. │   ├── start.yml
  14. │   └── upgrade.yml
  15. └── templates
  16. ├── haproxy.j2
  17. ├── haproxy.json.j2
  18. ├── keepalived.j2
  19. ├── keepalived.json.j2
  20. ├── portal-conf.j2
  21. ├── portal.j2
  22. └── portal.json.j2
  23.  
  24. 4 directories, 16 files
  25. root@kolla-operator:~/kolla_dir/ansible/roles/ormuco# cat templates/portal.json.j2
  26. {
  27. "command": "/usr/sbin/service nginx restart && /etc/init.d/ormuco-portal restart",
  28. "config_files": [
  29. {
  30. "source": "{{ container_config_directory }}/portal",
  31. "dest": "/etc/nginx/sites-enabled/portal",
  32. "owner": "root",
  33. "perm": "0644"
  34. },
  35. {
  36. "source": "{{ container_config_directory }}/portal-conf",
  37. "dest": "/etc/portal.conf",
  38. "owner": "root",
  39. "perm": "0644"
  40. }
Advertisement
Add Comment
Please, Sign In to add comment